Re: hidden symbol `__gcov_merge_add' in /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.1/libgcov.a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solved it.  The problem was that I was using -lgcov with some of the
libraries that I was linking to, but not all of them even though they
had all been compiled with the --coverage option.  I guess each
individual library needs to be linked with -lgcov since it's a static
library.  Simply linking the final DSO won't work.

Feel free to correct me if I've said something wrong, but that's what
seemed to work to me.


- Daniel

[Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

Add to Google