Using gcov with dynamic libs

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

 



I am trying to use gcov with a C++ program that is dynamically linked.
I am using g++ version 4.2.1, and I have built my app with the
-ftest-coverage -fprofile-arcs options. When I try to run my program
it fails with:

 ld.so.1: foo fatal: libgcc_s.so.1: version `GCC_3.3' not found
(required by file /usr/local/pkg/gcc-4.2.1/lib/libstdc++.so.6)
 ld.so.1: foo fatal: libgcc_s.so.1: open failed: No such file or directory
 Killed

Can gcov be made to work with dynamic libs? If so, how?

TIA!
-larry

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

  Powered by Linux