[dev] Bug in toolchain (based on gcc4.9.2)

From: Kuniyasu Suzaki <k.suzaki_AT_aist.go.jp>
Date: Thu, 25 Aug 2016 23:39:48 +0900


I confirmed that the current toolchain "x86_64-linux-musl-gcc (gcc4.9.2)" cannot treat "--coverage" option.
It generate the following error messages.

undefined reference to `__gcov_indirect_call_profiler_v2'
undefined reference to `__gcov_indirect_call_callee'
undefined reference to `__gcov_time_profiler'

They are caused by "libgcov.a" with single "_" symbols. I checked the symbol table with "nm" command and found the followings.


They must be double underscores "__". Can you fix the problem?

I confirm the (next?) toolchain downloaded from the following site worked well.
The toolchain is based on gcc5.3.0.

Thank you.

  Kuniyasu Suzaki, National Institute of Advanced Industrial Science and Technology,
Received on Thu Aug 25 2016 - 16:39:48 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 25 2016 - 16:48:12 CEST