[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 4.4.0-rc3 tagged



On CentOS release 5.10 (Final) I hit QEMU bug #1257099:

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 <dslutz@xxxxxxxxxxx>
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 <dslutz@xxxxxxxxxxx>
---
 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.