public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Using gcov with dynamic libs
@ 2008-04-29 23:52 Larry Martell
  0 siblings, 0 replies; only message in thread
From: Larry Martell @ 2008-04-29 23:52 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-29 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-29 23:52 Using gcov with dynamic libs Larry Martell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).