Xen 4.3.2-rc1 and 4.2.4-rc1 have been tagged
A message that is not in the archive (sent off-list or not yet received): [email protected]
All,
aiming at releases with, as before, presumably just one more RC on each of them, please test!
Thanks, Jan
Quoted 4 lines · Jan Beulich
All,
aiming at releases with, as before, presumably just one more RC on each of them, please test!
Tested 4.3.2-rc1 on CentOS 5.10 and Fedora 17.
CentOS 5.10 has a build issue with QEMU:
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00084.html
Has more info, for this testing I changed:
Author: Don Slutz <[email protected]> Date: Fri Jan 31 22:37:04 2014 +0000
Work around QEMU bug #1257099 on CentOS 5.10
tools/Makefile +1 -1
@@ -187,7 +187,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - $$source/configure --enable-xen --target-list=i386-softmmu \ + $$source/configure --enable-xen --target-list=i386-softmmu --disable-smartcard-nss\ --prefix=$(PREFIX) \ --source-path=$$source \ --extra-cflags="-I$(XEN_ROOT)/tools/include \
and was able to use the resulting build for some simple testing. No new issues were found.
-Don Slutz
Quoted 7 lines
Thanks, Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Don Slutz
Quoted 2 lines · Jan Beulich
All,
Quoted 8 lines
Quoted 2 lines
aiming at releases with, as before, presumably just one more RC on each of them, please test!
Tested 4.3.2-rc1 on CentOS 5.10 and Fedora 17.
CentOS 5.10 has a build issue with QEMU:
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00084.html
Is this a regression over 4.3.1?
In any event, it would be Stefano to take care of this, just like for 4.4.
Jan
Quoted 34 lines
Has more info, for this testing I changed:
Author: Don Slutz <[email protected]> Date: Fri Jan 31 22:37:04 2014 +0000Work around QEMU bug #1257099 on CentOS 5.10tools/Makefile +1
-2@@ -187,7 +187,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - $$source/configure --enable-xen --target-list=i386-softmmu \ + $$source/configure --enable-xen --target-list=i386-softmmu --disable-smartcard-nss\ --prefix=$(PREFIX) \ --source-path=$$source \ --extra-cflags="-I$(XEN_ROOT)/tools/include \and was able to use the resulting build for some simple testing. No new issues were found.
-Don SlutzQuoted 7 lines
Thanks, Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 9 lines · Jan Beulich
Quoted 9 lines
Quoted 1 line
Quoted 1 line · Don Slutz
Quoted 4 lines · Jan Beulich
All,
aiming at releases with, as before, presumably just one more RC on each of them, please test!
Tested 4.3.2-rc1 on CentOS 5.10 and Fedora 17.
Quoted 9 lines
Quoted 3 lines
CentOS 5.10 has a build issue with QEMU:
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00084.html
Is this a regression over 4.3.1?
In any event, it would be Stefano to take care of this, just like for 4.4.
Don, would a backport of "configure: Disable libtool if -fPIE does not work with it (bug #1257099)" (027c412ff71ad8bff6e335cc7932857f4ea74391 in qemu-upstream-unstable.git) fix the issue in 4.3 as well? If so, I would rather do that than introduce a workaround.
Quoted 37 lines
Quoted 34 lines
Has more info, for this testing I changed:
Author: Don Slutz <[email protected]> Date: Fri Jan 31 22:37:04 2014 +0000Work around QEMU bug #1257099 on CentOS 5.10tools/Makefile +1
-2@@ -187,7 +187,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - $$source/configure --enable-xen --target-list=i386-softmmu \ + $$source/configure --enable-xen --target-list=i386-softmmu --disable-smartcard-nss\ --prefix=$(PREFIX) \ --source-path=$$source \ --extra-cflags="-I$(XEN_ROOT)/tools/include \and was able to use the resulting build for some simple testing. No new issues were found.
-Don SlutzQuoted 7 lines
Thanks, Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · Stefano Stabellini
Quoted 4 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Don Slutz
Quoted 2 lines · Jan Beulich
All,
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
aiming at releases with, as before, presumably just one more RC on each of them, please test!
Tested 4.3.2-rc1 on CentOS 5.10 and Fedora 17.
CentOS 5.10 has a build issue with QEMU:
http://lists.xen.org/archives/html/xen-devel/2014-02/msg00084.html
Is this a regression over 4.3.1?
Using
http://bits.xensource.com/oss-xen/release/4.3.1/xen-4.3.1.tar.gz
lt LINK libcacard.la/usr/bin/ld: libcacard/.libs/vcard.o: relocation R_X86_64_PC32 against `vcard_delete_applet' 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
So no, this is not a regression.
Quoted 10 lines
Quoted 4 lines
In any event, it would be Stefano to take care of this, just like for 4.4.
Don, would a backport of "configure: Disable libtool if -fPIE does not work with it (bug #1257099)" (
027c412ff71ad8bff6e335cc7932857f4ea74391in qemu-upstream-unstable.git) fix the issue in 4.3 as well? If so, I would rather do that than introduce a workaround.
The backport of "configure: Disable libtool if -fPIE does not work with it (bug #1257099)" (027c412ff71ad8bff6e335cc7932857f4ea74391 in qemu-upstream-unstable.git) turns out mot to be enough. You also need to backport "libcacard: require libtool to build it (b6fc675b25d32f018870e202eb4b2a6eb509f88b)"
to not get the message:
libtool is missing, please install and rerun configure
I have attached my version of these 2 backports.
Using them, I am able to build xen, and the resulting bits pass some simple tests.
-Don Slutz
Quoted 30 lines
Quoted 30 lines
Quoted 30 lines
Has more info, for this testing I changed:
Author: Don Slutz <[email protected]> Date: Fri Jan 31 22:37:04 2014 +0000Work around QEMU bug #1257099 on CentOS 5.10tools/Makefile +1
-2@@ -187,7 +187,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find source=.; \ fi; \ cd qemu-xen-dir; \ - $$source/configure --enable-xen --target-list=i386-softmmu \ + $$source/configure --enable-xen --target-list=i386-softmmu --disable-smartcard-nss\ --prefix=$(PREFIX) \ --source-path=$$source \ --extra-cflags="-I$(XEN_ROOT)/tools/include \and was able to use the resulting build for some simple testing. No new issues were found.
-Don SlutzQuoted 3 lines
Thanks, Jan
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-develFrom
9a91ed949b0c5a7c3058bc12ac393018cbbd73e3Mon Sep 17 00:00:00 2001
From: Don Slutz <[email protected]>
Date: Sat, 14 Dec 2013 19:43:56 +0000
Subject: [PATCH 1/2] configure: Disable libtool if -fPIE does not work with it
(bug #1257099)
Adjust TMPO and added TMPB, TMPL, and TMPA. libtool needs the names to be fixed (TMPB).
Add new functions do_libtool and libtool_prog.
Add check for broken gcc and libtool.
Conflicts:
configure
--- configure | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-)
configure +62 -1
@@ -12,7 +12,10 @@ else fi TMPC="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.c" -TMPO="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.o" +TMPB="qemu-conf-${RANDOM}-$$-${RANDOM}" +TMPO="${TMPDIR1}/${TMPB}.o" +TMPL="${TMPDIR1}/${TMPB}.lo" +TMPA="${TMPDIR1}/lib${TMPB}.la" TMPE="${TMPDIR1}/qemu-conf-${RANDOM}-$$-${RANDOM}.exe" # NB: do not call "exit" in the trap handler; this is buggy with some shells;
@@ -63,6 +66,38 @@ compile_prog() { do_cc $QEMU_CFLAGS $local_cflags -o $TMPE $TMPC $LDFLAGS $local_ldflags } +do_libtool() { + local mode=$1 + shift + # Run the compiler, capturing its output to the log. + echo $libtool $mode --tag=CC $cc "$@" >> config.log + $libtool $mode --tag=CC $cc "$@" >> config.log 2>&1 || return $? + # Test passed. If this is an --enable-werror build, rerun + # the test with -Werror and bail out if it fails. This + # makes warning-generating-errors in configure test code + # obvious to developers. + if test "$werror" != "yes"; then + return 0 + fi + # Don't bother rerunning the compile if we were already using -Werror + case "$*" in + *-Werror*) + return 0 + ;; + esac + echo $libtool $mode --tag=CC $cc -Werror "$@" >> config.log + $libtool $mode --tag=CC $cc -Werror "$@" >> config.log 2>&1 && return $? + error_exit "configure test passed without -Werror but failed with -Werror." \ + "This is probably a bug in the configure script. The failing command" \ + "will be at the bottom of config.log." \ + "You can run configure with --disable-werror to bypass this check." +} + +libtool_prog() { + do_libtool --mode=compile $QEMU_CFLAGS -c -fPIE -DPIE -o $TMPO $TMPC || return $? + do_libtool --mode=link $LDFLAGS -o $TMPA $TMPL -rpath /usr/local/lib +} + # symbolically link $1 to $2. Portable version of "ln -sf". symlink() { rm -rf "$2"
@@ -1249,6 +1284,32 @@ EOF fi fi +# check for broken gcc and libtool in RHEL5 +if test -n "$libtool" -a "$pie" != "no" ; then + cat > $TMPC <<EOF + +void *f(unsigned char *buf, int len); +void *g(unsigned char *buf, int len); + +void * +f(unsigned char *buf, int len) +{ + return (void*)0L; +} + +void * +g(unsigned char *buf, int len) +{ + return f(buf, len); +} + +EOF + if ! libtool_prog; then + echo "Disabling libtool due to broken toolchain support" + libtool= + fi +fi + # # Solaris specific configure tool chain decisions #
Signature · 1 line
1.8.2.1
Quoted 1 line
From
576072fdaf653aff7d708a0d940f14727d3d6a25Mon Sep 17 00:00:00 2001
From: Paolo Bonzini <[email protected]>
Date: Thu, 20 Dec 2012 20:40:35 +0100
Subject: [PATCH 2/2] libcacard: require libtool to build it
Do not fail at build time, instead just disable the library if libtool is not present.
Conflicts:
configure
rules.mak
--- Makefile | 8 +------- configure | 45 +++++++++++++++++++++++---------------------- libcacard/Makefile | 8 -------- rules.mak | 6 ++---- 4 files changed, 26 insertions(+), 41 deletions(-)
Makefile +1 -7
@@ -168,14 +168,8 @@ libqemustub.a: $(stub-obj-y) ###################################################################### # Support building shared library libcacard +ifeq ($(CONFIG_SMARTCARD_NSS),y) .PHONY: libcacard.la install-libcacard -ifeq ($(LIBTOOL),) -libcacard.la: - @echo "libtool is missing, please install and rerun configure"; exit 1 - -install-libcacard: - @echo "libtool is missing, please install and rerun configure"; exit 1 -else libcacard.la: $(oslib-obj-y) qemu-timer-common.o $(addsuffix .lo, $(basename $(trace-obj-y))) $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libcacard V="$(V)" TARGET_DIR="$*/" libcacard.la,)
configure +23 -22
52 lines not on this page · raw message
libcacard/Makefile +0 -8
@@ -28,13 +28,6 @@ all: libcacard.la libcacard.pc ######################################################################### # Rules for building libcacard standalone library -ifeq ($(LIBTOOL),) -libcacard.la: - @echo "libtool is missing, please install and rerun configure"; exit 1 - -install-libcacard: - @echo "libtool is missing, please install and rerun configure"; exit 1 -else libcacard.la: $(libcacard.lib-y) $(QEMU_OBJS_LIB) $(call quiet-command,$(LIBTOOL) --mode=link --quiet --tag=CC $(CC) -rpath $(libdir) -o $@ $^ $(libcacard_libs)," lt LINK $@")
@@ -60,4 +53,3 @@ install-libcacard: libcacard.pc libcacard.la vscclient for inc in *.h; do \ $(LIBTOOL) --mode=install $(INSTALL_DATA) $(libcacard_srcpath)/$$inc "$(DESTDIR)$(libcacard_includedir)"; \ done -endif
rules.mak +2 -4
@@ -18,12 +18,10 @@ QEMU_DGFLAGS += -MMD -MP -MT $@ -MF $(*D)/$(*F).d $(call quiet-command,$(CC) $(QEMU_INCLUDES) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<," CC $(TARGET_DIR)$@") ifeq ($(LIBTOOL),) -%.lo: %.c - @echo "missing libtool. please install and rerun configure"; exit 1 -else +LIBTOOL = /bin/false +endif %.lo: %.c $(call quiet-command,$(LIBTOOL) --mode=compile --quiet --tag=CC $(CC) $(QEMU_INCLUDES) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<," lt CC $@") -endif %.o: %.S $(call quiet-command,$(CC) $(QEMU_INCLUDES) $(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) -c -o $@ $<," AS $(TARGET_DIR)$@")
Signature · 1 line
1.8.2.1
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel