* [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
@ 2014-01-03 2:12 Don Slutz
2014-01-13 22:09 ` Don Slutz
2014-01-15 9:43 ` Paolo Bonzini
0 siblings, 2 replies; 7+ messages in thread
From: Don Slutz @ 2014-01-03 2:12 UTC (permalink / raw)
To: qemu-devel, 1257099, xen-devel
Cc: Paolo Bonzini, Stefano Stabellini, Ian Campbell, Don Slutz,
Richard Henderson
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.
Signed-off-by: Don Slutz <dslutz@verizon.com>
---
Was posted as an attachment.
https://lists.gnu.org/archive/html/qemu-devel/2013-12/msg02678.html
configure | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 62 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index edfea95..852d021 100755
--- a/configure
+++ b/configure
@@ -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;
@@ -86,6 +89,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"
@@ -1367,6 +1402,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
+
##########################################
# __sync_fetch_and_and requires at least -march=i486. Many toolchains
# use i686 as default anyway, but for those that don't, an explicit
--
1.8.2.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
2014-01-03 2:12 [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099) Don Slutz
@ 2014-01-13 22:09 ` Don Slutz
2014-01-15 9:43 ` Paolo Bonzini
1 sibling, 0 replies; 7+ messages in thread
From: Don Slutz @ 2014-01-13 22:09 UTC (permalink / raw)
To: Don Slutz, qemu-devel, 1257099, xen-devel
Cc: Paolo Bonzini, Stefano Stabellini, Ian Campbell,
Richard Henderson
On 01/02/14 21:12, Don Slutz wrote:
Ping.
> 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.
>
> Signed-off-by: Don Slutz <dslutz@verizon.com>
> ---
> Was posted as an attachment.
>
> https://lists.gnu.org/archive/html/qemu-devel/2013-12/msg02678.html
>
> configure | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 62 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index edfea95..852d021 100755
> --- a/configure
> +++ b/configure
> @@ -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;
> @@ -86,6 +89,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"
> @@ -1367,6 +1402,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
> +
> ##########################################
> # __sync_fetch_and_and requires at least -march=i486. Many toolchains
> # use i686 as default anyway, but for those that don't, an explicit
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
2014-01-03 2:12 [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099) Don Slutz
2014-01-13 22:09 ` Don Slutz
@ 2014-01-15 9:43 ` Paolo Bonzini
2014-02-03 11:59 ` Stefano Stabellini
1 sibling, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2014-01-15 9:43 UTC (permalink / raw)
To: Don Slutz
Cc: xen-devel, Ian Campbell, Stefano Stabellini, qemu-devel, 1257099,
Richard Henderson
Il 03/01/2014 03:12, Don Slutz ha scritto:
> 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.
>
> Signed-off-by: Don Slutz <dslutz@verizon.com>
> ---
> Was posted as an attachment.
>
> https://lists.gnu.org/archive/html/qemu-devel/2013-12/msg02678.html
>
> configure | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 62 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index edfea95..852d021 100755
> --- a/configure
> +++ b/configure
> @@ -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;
> @@ -86,6 +89,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"
> @@ -1367,6 +1402,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
> +
> ##########################################
> # __sync_fetch_and_and requires at least -march=i486. Many toolchains
> # use i686 as default anyway, but for those that don't, an explicit
>
I'm applying this to a "configure" branch on my github repository. Thanks!
Paolo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
2014-01-15 9:43 ` Paolo Bonzini
@ 2014-02-03 11:59 ` Stefano Stabellini
2014-02-04 15:31 ` [Qemu-devel] [Xen-devel] " Fabio Fantoni
2014-02-04 16:28 ` [Qemu-devel] " Paolo Bonzini
0 siblings, 2 replies; 7+ messages in thread
From: Stefano Stabellini @ 2014-02-03 11:59 UTC (permalink / raw)
To: Paolo Bonzini
Cc: xen-devel, Ian Campbell, Stefano Stabellini, qemu-devel,
Don Slutz, 1257099, Richard Henderson
On Wed, 15 Jan 2014, Paolo Bonzini wrote:
> Il 03/01/2014 03:12, Don Slutz ha scritto:
> > 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.
> >
> > Signed-off-by: Don Slutz <dslutz@verizon.com>
> > ---
> > Was posted as an attachment.
> >
> > https://lists.gnu.org/archive/html/qemu-devel/2013-12/msg02678.html
> >
> > configure | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> > 1 file changed, 62 insertions(+), 1 deletion(-)
> >
> > diff --git a/configure b/configure
> > index edfea95..852d021 100755
> > --- a/configure
> > +++ b/configure
> > @@ -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;
> > @@ -86,6 +89,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"
> > @@ -1367,6 +1402,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
> > +
> > ##########################################
> > # __sync_fetch_and_and requires at least -march=i486. Many toolchains
> > # use i686 as default anyway, but for those that don't, an explicit
> >
>
> I'm applying this to a "configure" branch on my github repository. Thanks!
Paolo, did this patch ever make it upstream? If so, do you have a commit
id?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [Xen-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
2014-02-03 11:59 ` Stefano Stabellini
@ 2014-02-04 15:31 ` Fabio Fantoni
2014-02-04 16:28 ` [Qemu-devel] " Paolo Bonzini
1 sibling, 0 replies; 7+ messages in thread
From: Fabio Fantoni @ 2014-02-04 15:31 UTC (permalink / raw)
To: Stefano Stabellini, Paolo Bonzini
Cc: xen-devel, Ian Campbell, 1257099, Don Slutz, qemu-devel,
Richard Henderson
Il 03/02/2014 12:59, Stefano Stabellini ha scritto:
> On Wed, 15 Jan 2014, Paolo Bonzini wrote:
>> Il 03/01/2014 03:12, Don Slutz ha scritto:
>>> 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.
>>>
>>> Signed-off-by: Don Slutz <dslutz@verizon.com>
>>> ---
>>> Was posted as an attachment.
>>>
>>> https://lists.gnu.org/archive/html/qemu-devel/2013-12/msg02678.html
>>>
>>> configure | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>>> 1 file changed, 62 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/configure b/configure
>>> index edfea95..852d021 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -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;
>>> @@ -86,6 +89,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"
>>> @@ -1367,6 +1402,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
>>> +
>>> ##########################################
>>> # __sync_fetch_and_and requires at least -march=i486. Many toolchains
>>> # use i686 as default anyway, but for those that don't, an explicit
>>>
>> I'm applying this to a "configure" branch on my github repository. Thanks!
> Paolo, did this patch ever make it upstream? If so, do you have a commit
> id?
I searched it on upstream qemu git (master branch now with qemu 2.0 in
development) and I not found it.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
2014-02-03 11:59 ` Stefano Stabellini
2014-02-04 15:31 ` [Qemu-devel] [Xen-devel] " Fabio Fantoni
@ 2014-02-04 16:28 ` Paolo Bonzini
2014-02-04 16:31 ` Stefano Stabellini
1 sibling, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2014-02-04 16:28 UTC (permalink / raw)
To: Stefano Stabellini
Cc: xen-devel, Ian Campbell, qemu-devel, Don Slutz, 1257099,
Richard Henderson
Il 03/02/2014 12:59, Stefano Stabellini ha scritto:
>> I'm applying this to a "configure" branch on my github repository. Thanks!
>
> Paolo, did this patch ever make it upstream? If so, do you have a commit
> id?
It's still in my branch, where it is commit fcfd805b. As soon as I get
a go/no-go for the modules patches I'll post it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099)
2014-02-04 16:28 ` [Qemu-devel] " Paolo Bonzini
@ 2014-02-04 16:31 ` Stefano Stabellini
0 siblings, 0 replies; 7+ messages in thread
From: Stefano Stabellini @ 2014-02-04 16:31 UTC (permalink / raw)
To: Paolo Bonzini
Cc: xen-devel, Ian Campbell, Stefano Stabellini, 1257099, Don Slutz,
qemu-devel, Richard Henderson
On Tue, 4 Feb 2014, Paolo Bonzini wrote:
> Il 03/02/2014 12:59, Stefano Stabellini ha scritto:
> > > I'm applying this to a "configure" branch on my github repository.
> > > Thanks!
> >
> > Paolo, did this patch ever make it upstream? If so, do you have a commit
> > id?
>
> It's still in my branch, where it is commit fcfd805b. As soon as I get a
> go/no-go for the modules patches I'll post it.
In that case I might have to apply the patch to the qemu-xen tree for
the Xen 4.4 release before the commit reaches QEMU upstream.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-02-04 17:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03 2:12 [Qemu-devel] [BUGFIX][PATCH v2] configure: Disable libtool if -fPIE does not work with it (bug #1257099) Don Slutz
2014-01-13 22:09 ` Don Slutz
2014-01-15 9:43 ` Paolo Bonzini
2014-02-03 11:59 ` Stefano Stabellini
2014-02-04 15:31 ` [Qemu-devel] [Xen-devel] " Fabio Fantoni
2014-02-04 16:28 ` [Qemu-devel] " Paolo Bonzini
2014-02-04 16:31 ` Stefano Stabellini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).