WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 00 of 30] tools: shave build yaks

To: Ian Campbell <ian.campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 00 of 30] tools: shave build yaks
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 23 Mar 2011 17:15:44 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 Mar 2011 09:16:23 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1300896946; l=798; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=OPCRAwhdAWD8cJUM0FrI9kCc8LA=; b=qa4Vp//v5B05Y5GqWlw6u9I93eWEjCh+ZdpPW25Jnv+r+qq71TDSu+FFAgrQPt6xUHE NSj7AbSd4mFR4BYerCZ20eHCJSD1F2rJnal+2i/EF1Ee2btrmVLHWCMPCO8WFAqfgSlsK 6nkKFpWtYcwUJa+Mxqm1xD13ftU7edH7odU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1300718663@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1300718663@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Mar 21, Ian Campbell wrote:

> Clean up a bunch of inconsistency, wierdness, cut-and-paste etc in the
> tools/ build system. All in all it's a bit of a grab bag of stuff I
> happened to notice as I was trawling 
> 
> One specific useful thing which comes out of it is to isolate users of
> libxl from needing to know about libxenstore or libxenctrl.

Ian,

from a quick look its not clear which patch between changeset 23062 and
23082 causes a link failure in libxenstat.
Appending -fPIC to the CFLAGS in tools/xenstat/libxenstat/Makefile
fixed this failure for me:

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
src/xenstat.o: relocation R_X86_64_32S against `.rodata' can not be used
when making a shared object; recompile with -fPIC

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel