[Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2016-09-22 Thread T. Huth
libcacard has been removed from the QEMU sources and is an external project now, so this problem should not exist anymore with the latest version of QEMU. If it still persists, please feel free to re-open this ticket. ** Changed in: qemu Status: New => Invalid -- You received this bug not

Re: [Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-13 Thread Paolo Bonzini
On 13/11/2014 19:14, Don Slutz wrote: > + case "$*" in > + echo libtool --mode=link --tag=CC cc -Werror -m64 -g > -Wc,-fstack-protector-all -o config-temp/libqemu-conf.la > config-temp/qemu-conf.lo > + libtool --mode=link --tag=CC cc -Werror -m64 -g -Wc,-fstack-protector-all > -o config-temp/l

Re: [Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-13 Thread Paolo Bonzini
On 13/11/2014 19:05, Don Slutz wrote: > No change. > > LINK qemu-bridge-helper > CCqmp-marshal.o > lt LINK vscclient > /usr/bin/ld: -f may not be used without -shared > collect2: ld returned 1 exit status > make: *** [vscclient] Error 1 > make: *** Waiting for unfinished jobs > dcs-

Re: [Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-13 Thread Don Slutz
No change. LINK qemu-bridge-helper CCqmp-marshal.o lt LINK vscclient /usr/bin/ld: -f may not be used without -shared collect2: ld returned 1 exit status make: *** [vscclient] Error 1 make: *** Waiting for unfinished jobs dcs-xen-53:~/qemu/out/bug-1258168> -Don Slutz On 11/13/14

Re: [Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-13 Thread Paolo Bonzini
Here is a fixed version. I missed the -rpath /usr/local/lib in the libtool_prog function: diff --git a/configure b/configure index 47048f0..b7bf30a 100755 --- a/configure +++ b/configure @@ -140,8 +140,10 @@ do_libtool() { } libtool_prog() { -do_libtool --mode=compile $QEMU_CFLAGS -c -fPI

[Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-13 Thread Don Slutz
My testing of this patch is that it does not help. LINK qemu-bridge-helper CCqmp-marshal.o lt LINK vscclient /usr/bin/ld: -f may not be used without -shared collect2: ld returned 1 exit status make: *** [vscclient] Error 1 make: *** Waiting for unfinished jobs dcs-xen-53:~/qemu/out/bu

[Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-13 Thread Paolo Bonzini
Can you please test this patch? ** Patch added: "patch to fix the bug" https://bugs.launchpad.net/qemu/+bug/1258168/+attachment/4259802/+files/libtool-sp.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpa

[Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2014-11-12 Thread Robin Lee
We met the same problem when compiling qemu 2.0.0 on CentOS6, and fixed it with a similar patch to the configure script. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1258168 Title: QEMU fails to b

[Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2013-12-05 Thread Don Slutz
This is the same as listed in: https://lists.gnu.org/archive/html/qemu-devel/2013-05/msg01667.html rpm -q glib2 glib2-2.12.3-4.el5_3.1 glib2-2.12.3-4.el5_3.1 Using: http://pidgin.im/pipermail/commits/2011-February/018919.html I came up with: diff --git a/libcacard/vscclient.c b/libcacard/vscc

[Qemu-devel] [Bug 1258168] Re: QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared "

2013-12-05 Thread Don Slutz
Using the hack: git diff diff --git a/configure b/configure index 0666228..cf8123b 100755 --- a/configure +++ b/configure @@ -1292,7 +1292,9 @@ done if compile_prog "-Werror -fstack-protector-all" "" ; then QEMU_CFLAGS="$QEMU_CFLAGS -fstack-protector-all" -LIBTOOLFLAGS="$LIBTOOLFLAGS -