From: Ian Jackson Subject: Re: 4.4.0-rc3 tagged Date: Mon, 3 Feb 2014 11:48:09 +0000 Message-ID: <21231.33273.164782.738071@mariner.uk.xensource.com> References: <21227.37769.599789.521146@mariner.uk.xensource.com> <52EC2C9C.9090202@terremark.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WAI0n-0004Ue-Tq for xen-devel@lists.xenproject.org; Mon, 03 Feb 2014 11:48:26 +0000 In-Reply-To: <52EC2C9C.9090202@terremark.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: xen-devel@lists.xenproject.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Don Slutz writes ("Re: [Xen-devel] 4.4.0-rc3 tagged"): > On CentOS release 5.10 (Final) I hit QEMU bug #1257099: CC'ing Stefano, who is in charge of the Xen qemu-upstream tree. Thanks, Ian. > lt LINK libcacard.la > /usr/bin/ld: libcacard/.libs/vcard.o: relocation R_X86_64_PC32 against `vcard_buffer_response_delete' can not be used when making a shared object; recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > collect2: ld returned 1 exit status > make[3]: *** [libcacard.la] Error 1 > make[3]: Leaving directory `/home/don/xen-4.4.0-rc3/tools/qemu-xen-dir' > make[2]: *** [subdir-all-qemu-xen-dir] Error 2 > make[2]: Leaving directory `/home/don/xen-4.4.0-rc3/tools' > make[1]: *** [subdirs-install] Error 2 > make[1]: Leaving directory `/home/don/xen-4.4.0-rc3/tools' > make: *** [install-tools] Error 2 > > See https://bugs.launchpad.net/bugs/1257099 > > Based on > > https://lists.gnu.org/archive/html/qemu-devel/2014-01/msg01826.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2014-01/msg01826.html > > it should make it into QEMU at some point. > > So now I either change tools/Makefile to include "--disable-smartcard-nss" for QEMU or use the patch: > > > From c6ce0e32c09979ba5d7d0d416293fbc700372c61 Mon Sep 17 00:00:00 2001 > From: Don Slutz > Date: Fri, 31 Jan 2014 20:59:28 +0000 > Subject: [PATCH] tools/Makefile: Change QEMU_XEN_ENABLE_DEBUG to an add to > allow for additional QEMU options. > > This is currently needed to work around QEMU bug #1257099 on CentOS 5.10 > > I.E. via > > export QEMU_XEN_ENABLE_DEBUG=--disable-smartcard-nss > > Signed-off-by: Don Slutz > --- > tools/Makefile | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/tools/Makefile b/tools/Makefile > index 00c69ee..a3b8a7e 100644 > --- a/tools/Makefile > +++ b/tools/Makefile > @@ -174,9 +174,7 @@ qemu-xen-dir-force-update: > fi > > ifeq ($(debug),y) > -QEMU_XEN_ENABLE_DEBUG := --enable-debug --enable-trace-backend=stderr > -else > -QEMU_XEN_ENABLE_DEBUG := > +QEMU_XEN_ENABLE_DEBUG += --enable-debug --enable-trace-backend=stderr > endif > > subdir-all-qemu-xen-dir: qemu-xen-dir-find > -- > 1.8.2.1 > > > and also: > > export QEMU_XEN_ENABLE_DEBUG=--disable-smartcard-nss > > > This gets me to: > > Parsing /home/don/xen/tools/ocaml/libs/xl/../../../../tools/libxl/libxl_types.idl > MLDEP > make[7]: Leaving directory `/home/don/xen/tools/ocaml/libs/xl' > make[7]: Entering directory `/home/don/xen/tools/ocaml/libs/xl' > MLC xenlight.cmo > MLA xenlight.cma > CC xenlight_stubs.o > cc1: warnings being treated as errors > xenlight_stubs.c: In function 'Defbool_val': > xenlight_stubs.c:344: warning: implicit declaration of function 'CAMLreturnT' > xenlight_stubs.c:344: error: expected expression before 'libxl_defbool' > xenlight_stubs.c: In function 'String_option_val': > xenlight_stubs.c:379: error: expected expression before 'char' > xenlight_stubs.c: In function 'aohow_val': > xenlight_stubs.c:440: error: expected expression before 'libxl_asyncop_how' > make[7]: *** [xenlight_stubs.o] Error 1 > make[7]: Leaving directory `/home/don/xen/tools/ocaml/libs/xl' > make[6]: *** [subdir-install-xl] Error 2 > make[6]: Leaving directory `/home/don/xen/tools/ocaml/libs' > make[5]: *** [subdirs-install] Error 2 > make[5]: Leaving directory `/home/don/xen/tools/ocaml/libs' > make[4]: *** [subdir-install-libs] Error 2 > make[4]: Leaving directory `/home/don/xen/tools/ocaml' > make[3]: *** [subdirs-install] Error 2 > make[3]: Leaving directory `/home/don/xen/tools/ocaml' > make[2]: *** [subdir-install-ocaml] Error 2 > make[2]: Leaving directory `/home/don/xen/tools' > make[1]: *** [subdirs-install] Error 2 > make[1]: Leaving directory `/home/don/xen/tools' > make: *** [install-tools] Error 2 > > > Not sure how to work around this. > -Don Slutz > > > > On 01/31/14 07:14, Ian Jackson wrote: > > We've just tagged 4.4.0-rc3, please test and report bugs. > > > > The tarball can be downloaded here: > > > > http://bits.xensource.com/oss-xen/release/4.4.0-rc3/xen-4.4.0-rc3.tar.gz > > > > Ian. > > > > (PS: Due to an oversight by me, the version number in the xen/Makefile > > is still "-rc2", so the message printed at startup by 4.4.0-rc3 claims > > that it's "4.4.0-rc2". Sorry about that.) > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xen.org > > http://lists.xen.org/xen-devel >