From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH][TOOLS] ioemu: linking fix for *BSD Date: Fri, 15 Aug 2008 13:54:47 +0200 Message-ID: <200808151354.47451.Christoph.Egger@amd.com> References: <200808141059.20930.Christoph.Egger@amd.com> <200808141207.08433.Christoph.Egger@amd.com> <18596.1276.176033.225169@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <18596.1276.176033.225169@mariner.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thursday 14 August 2008 12:12:12 Ian Jackson wrote: > Christoph Egger writes ("Re: [Xen-devel] [PATCH][TOOLS] ioemu: linking fi= x=20 for *BSD"): > > On Thursday 14 August 2008 11:58:38 Ian Jackson wrote: > > > There doesn't seem to be anything BSD specific here. > > > > Right. It's the "ELF way". See my other mail. Sounds like you got a sort > > of "culture shock". :) > > Err. I'm from a Debian and Linux background, which has been doing ELF > for approximately forever. Did you read the two links Daniel Berrange > posted ? Yes. It is about finding different libc in different places. They claim there's a potential problem w/o clearly stating it. rpath allows you to explicitely specify which libc you want to use at runtime. > Your proposed patch would cause, on most ordinary builds, an -rpath to > be supplied pointing at the system directories /usr/lib{,64}. This > would be wrong. hmm... right. It should do anything in system dirs. The patch needs to be redone. Maybe using a variable which is empty on Linux ? Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy