From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 00 of 30] tools: shave build yaks Date: Wed, 23 Mar 2011 17:15:44 +0100 Message-ID: <20110323161544.GA23640@aepfle.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: 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 Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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