gcov with dynamic c++ libraries
Evan Bigall
evan@whereisevan.com
Thu Dec 18 07:18:00 GMT 2003
(GCC) 3.2.2
I've got a dynamic library (.so), generated from c++ code and
instrumented with -ftest-coverage and -fprofile-arcs. In all the ways
I've tried to link it (and they are plentiful) the resulting
executable always fails with:
./a.out: relocation error: foo.so: undefined symbol: __bb_init_func
bb_init_func being part of the gcov instrumentation runtime support.
Is gcov not supported for dynamic c++ libs or am I missing something.
Thanks for the help,
Evan
=====
More information about the Gcc
mailing list