From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28793 invoked by alias); 11 Apr 2007 06:45:14 -0000 Received: (qmail 28782 invoked by uid 22791); 11 Apr 2007 06:45:11 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Apr 2007 07:45:09 +0100 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id D8F2348CE9C for ; Wed, 11 Apr 2007 02:45:06 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04795-01-9 for ; Wed, 11 Apr 2007 02:45:06 -0400 (EDT) Received: from joel.gnat.com (dhcp-guest.act-europe.fr [212.157.227.127]) by nile.gnat.com (Postfix) with ESMTP id 9BE7E48CBC5 for ; Wed, 11 Apr 2007 02:45:06 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id E5317E7B4C; Tue, 10 Apr 2007 23:48:51 +0200 (CEST) Date: Wed, 11 Apr 2007 06:45:00 -0000 From: Joel Brobecker To: gdb@sourceware.org Subject: Re: [sparc-solaris] unexpected warning when starting program Message-ID: <20070410214851.GA3886@adacore.com> References: <20070312051646.GI14401@adacore.com> <20070410213515.GA6338@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070410213515.GA6338@caradoc.them.org> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00059.txt.bz2 > xfullpath isn't really that expensive. We could even do it only for > ld.so.1; I think that's not totally unreasonable. > > Are you sure the files are distinct on your Solaris 2.8 / 2.9? I have > a symlink /lib -> ./usr/lib on 2.8, and a symlink /usr/lib/ld.so.1 -> > ../../lib/ld.so.1 on 2.10. Yes, on one of our Solaris 2.8 machines, they are distinct (although identical): bbk@nile ~>uname -a SunOS nile 5.8 Generic_117350-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris bbk@nile ~>ls -l /lib/ld.so.1 /usr/lib/ld.so.1 -rwxr-xr-x 1 root bin 267824 Feb 25 2005 /lib/ld.so.1* -rwxr-xr-x 1 root bin 267824 Feb 25 2005 /usr/lib/ld.so.1* bbk@nile ~>md5sum /lib/ld.so.1 /usr/lib/ld.so.1 0e2c1ce2e68149904a5df691b32d5115 /lib/ld.so.1 0e2c1ce2e68149904a5df691b32d5115 /usr/lib/ld.so.1 I checked one of our Solaris 2.9 machines, and it's the same. Thought it wouldn't help in these particular cases, it would still help in the solaris 2.10 one... -- Joel