From owner-freebsd-current@FreeBSD.ORG Mon May 28 19:07:08 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 7E4BA16A49C for ; Mon, 28 May 2007 19:07:08 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id CED9613C45B for ; Mon, 28 May 2007 19:07:07 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 28 May 2007 19:07:06 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp056) with SMTP; 28 May 2007 21:07:06 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX18L53krgccLC2fafwEoEAN/7pWF2gJDoee18Zgp8T OWG5KoKTX9wwxa From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Mon, 28 May 2007 21:07:05 +0200 User-Agent: KMail/1.9.6 References: <20070528181856.GA81757@kobe.laptop> In-Reply-To: <20070528181856.GA81757@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705282107.05869.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: Giorgos Keramidas 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 19:07:08 -0000 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.