Re: ldd broken for profiling binaries?



On Monday 28 May 2007 20:18:57 Giorgos Keramidas wrote:
ldd seems to be broken for profiling binaries, and the profiling
binaries built with gcc42 seem to be unusable here:
...
| cc -pg -c foo.c
| cc -pg -o foo foo.o
| $ ./foo
| /libexec/ld-elf.so.1: ./foo: Unexpected inconsistency: dependency
| libgcc_s.so.1 not found $ ldd foo
| foo:
| /libexec/ld-elf.so.1: foo: Unexpected inconsistency: dependency
| libgcc_s.so.1 not found foo: exit status 1
| $

`-----------------------------------------------------------------------

Is anyone else seeing this, or have I managed to botch my local
installation of gcc42?

Seeing the same here. If I explicitly link with -lgcc_s it is working. But I
don't think this should be necessary.
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ldd broken for profiling binaries?
    ... ldd seems to be broken for profiling binaries, ... binaries built with gcc42 seem to be unusable here: ... | rm -f foo foo.o ...
    (freebsd-current)
  • Re: ldd broken for profiling binaries?
    ... binaries built with gcc42 seem to be unusable here: ... | libgcc_s.so.1 not found $ ldd foo ...
    (freebsd-current)
  • Re: ldd broken for profiling binaries?
    ... binaries built with gcc42 seem to be unusable here: ... libgcc_s.so.1 not found | $ ldd foo ...
    (freebsd-current)
  • Re: Grep Guru
    ... On Mon, 9 Jun 2008, Giorgos Keramidas wrote: ... There's no more need for find | xargs ... -exec foo \+ behaves like xargs foo ...
    (freebsd-questions)