Re: ldd broken for profiling binaries?

From: Giorgos Keramidas <keramida_at_FreeBSD.ORG>
Date: Mon, 28 May 2007 23:06:06 +0300
On 2007-05-28 21:07, Stefan Ehmann <shoesoft_at_gmx.net> wrote:
> 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.

AFAIR, it wasn't necessary before gcc42, so it shouldn't be now either.
Received on Mon May 28 2007 - 18:08:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC