From owner-freebsd-current@FreeBSD.ORG Mon May 28 20:08:20 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D068116A468 for ; Mon, 28 May 2007 20:08:20 +0000 (UTC) (envelope-from keramida@FreeBSD.ORG) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 38AC813C455 for ; Mon, 28 May 2007 20:08:19 +0000 (UTC) (envelope-from keramida@FreeBSD.ORG) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4SK6PMV000522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 May 2007 23:06:32 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4SK66xN051920; Mon, 28 May 2007 23:06:19 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4SK66H5051919; Mon, 28 May 2007 23:06:06 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Mon, 28 May 2007 23:06:06 +0300 From: Giorgos Keramidas To: Stefan Ehmann Message-ID: <20070528200606.GB7788@kobe.laptop> References: <20070528181856.GA81757@kobe.laptop> <200705282107.05869.shoesoft@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705282107.05869.shoesoft@gmx.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.159, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.24, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: freebsd-current@FreeBSD.ORG Subject: Re: ldd broken for profiling binaries? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 20:08:20 -0000 On 2007-05-28 21:07, Stefan Ehmann 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.