From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 7 08:39:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F09DE16A41C; Thu, 7 Jul 2005 08:39:52 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E84B43D45; Thu, 7 Jul 2005 08:39:49 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id AAB4E8DA93; Thu, 7 Jul 2005 10:39:45 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15381-07; Thu, 7 Jul 2005 10:39:43 +0200 (CEST) Received: from sweatshorts.fs.ei.tum.de (unknown [IPv6:2001:4ca0:0:fe00:0:5efe:a96:b4b4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id 4B5608D767; Thu, 7 Jul 2005 10:39:43 +0200 (CEST) Date: Thu, 7 Jul 2005 10:39:42 +0200 From: Simon 'corecode' Schubert To: vd@datamax.bg Message-Id: <20050707103942.0f3adf42.corecode@fs.ei.tum.de> In-Reply-To: <20050707060914.GA3480@sinanica.bg.datamax> References: <20050706054753.GA69973@sinanica.bg.datamax> <20050707060914.GA3480@sinanica.bg.datamax> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-dragonfly1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__7_Jul_2005_10_39_42_+0200_RJQ1zGlgTaGKxaQw" X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: tom.schutter@gmail.com, phantom@FreeBSD.org, freebsd-hackers@freebsd.org Subject: Re: linking libjava.so RPATH problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 08:39:53 -0000 --Signature=_Thu__7_Jul_2005_10_39_42_+0200_RJQ1zGlgTaGKxaQw Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Lately Vasil Dimov said: > > 1) Does the fact that the linker does not realize that the libraries > > have already been found indicate a bug in the linker? If so, how do I > > best report it? > I cannot think of any sensible reason for this behavior, so I guess it > would be good if it can be "fixed" without breaking something else :) > You best report it by creating a patch and using send-pr(1) to submit > it. I don't think this is breakage: same soname doesn't account for same binary, especially if rpath is used. Rpath explicitly states "i (the elf object) want the libs from this path first", not "for me and descendants, search this path first". At least that's what I expect it to do. cheers simon --=20 Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ --Signature=_Thu__7_Jul_2005_10_39_42_+0200_RJQ1zGlgTaGKxaQw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (DragonFly) iD8DBQFCzOpOr5S+dk6z85oRAu7IAJ9eLEyUahW8FdURwGk2EFP27H2RrwCg1ar+ wO+GtK6/LTrLTsPdByHZm6s= =LC5O -----END PGP SIGNATURE----- --Signature=_Thu__7_Jul_2005_10_39_42_+0200_RJQ1zGlgTaGKxaQw--