Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 21:07:05 +0200
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        freebsd-current@freebsd.org
Cc:        Giorgos Keramidas <keramida@freebsd.org>
Subject:   Re: ldd broken for profiling binaries?
Message-ID:  <200705282107.05869.shoesoft@gmx.net>
In-Reply-To: <20070528181856.GA81757@kobe.laptop>
References:  <20070528181856.GA81757@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705282107.05869.shoesoft>