From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 7 09:22:16 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 5913D16A41C; Thu, 7 Jul 2005 09:22:16 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC3DD43D48; Thu, 7 Jul 2005 09:22:15 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id 93BF587CA; Thu, 7 Jul 2005 12:22:14 +0300 (EEST) Received: (nullmailer pid 4150 invoked by uid 1004); Thu, 07 Jul 2005 09:22:14 -0000 Date: Thu, 7 Jul 2005 12:22:14 +0300 From: Vasil Dimov To: Simon 'corecode' Schubert Message-ID: <20050707092214.GA4093@sinanica.bg.datamax> References: <20050706054753.GA69973@sinanica.bg.datamax> <20050707060914.GA3480@sinanica.bg.datamax> <20050707103942.0f3adf42.corecode@fs.ei.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20050707103942.0f3adf42.corecode@fs.ei.tum.de> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i 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 Reply-To: vd@datamax.bg 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 09:22:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jul 07, 2005 at 10:39:42AM +0200, Simon 'corecode' Schubert wrote: > 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. > I agree. -----BEGIN PGP SIGNATURE----- iD8DBQFCzPRGFw6SP/bBpCARAkvuAJ0bJKk898ToHSZ6HE4pYgjJ6DpYdQCfR4AM W55S6H2A8GQTthdajgEeX+I= =A4QT -----END PGP SIGNATURE-----