gprof does not work with libc_p libraries in ubuntu?

Mark Ewert mewert@gmail.com
Sun Nov 12 08:06:00 GMT 2006


Hi all,

I've tried some experiments with the latest Ubuntu and I can't seem to
properly link in the gprof'd standard libraries. The standard gprof'd
libraries aren't linked in when I do:

gcc -g -pg -o testme testme.c

Then when I try to link them in I get:

gcc -g -pg -o testme testme.c -lc_p
> testme
> Floating point exception (core dumped)

Then when I try to remove standard libs, I get a link error (can't
find _Unwind_resume):

gcc -g -pg -o testme testme.c -nodefaultlibs -lc_p -lgcc

Any ideas would be appreciated



More information about the Binutils mailing list