From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: libxl: link error Date: Fri, 13 Aug 2010 16:25:52 +0200 Message-ID: <20100813142552.GA8543@aepfle.de> References: <201008131057.21529.Christoph.Egger@amd.com> <19557.14995.499107.257870@mariner.uk.xensource.com> <201008131537.09037.Christoph.Egger@amd.com> <201008131611.55178.Christoph.Egger@amd.com> <19557.21402.835289.898925@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <19557.21402.835289.898925@mariner.uk.xensource.com> 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: Christoph Egger , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, Aug 13, Ian Jackson wrote: > If we do that then the .o files in the .a's will be -fPIC too but > that's a price worth paying. Even .a objects can endup in other .so files, although its unlikely for the xen case. Better compile shared libs with -fPIC. > I guess this might be fallout from Olaf's LDFLAGS/LIBS patch. Sorry if thats the case, perhaps I should have paid also attention to the -fPIC usage. Olaf