|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] ioemu build failure with GCC > 4.3
On Mon, Jul 14, 2008 at 04:12:29PM +0100, Ian Jackson wrote:
> Ross Philipson writes ("RE: [Xen-devel] ioemu build failure with GCC > 4.3"):
> > Not sure why you get an error. I have gcc 4.3 and I added it in
> > ioemu-remote/xen-setup as in:
> >
> > ./configure --disable-gcc-check --disable-slirp --disable-ncurses blah
> > blah
> >
> > Xen tools built to completion after I added it.
>
> Can you produce a log of your build ? I saw what you see below. It
> did exit with status 0 but it appears always to print those error
> messages.
>
> This looks like a qemu upstream bug in configure to me.
I think bug is triggered if gcc3 is not installed on the system. Is it
possible that Ross doesn't see it because he has both gcc3 and gcc4
installed? Here's how I fixed my build:
diff --git a/configure b/configure
index 2366aa6..0ef2540 100755
--- a/configure
+++ b/configure
@@ -1241,11 +1241,16 @@ case "$target_cpu" in
fi
echo "#define CONFIG_DYNGEN_OP 1" >> $config_h
gcc3minver=`$cc --version 2> /dev/null| fgrep "(GCC) 3." | awk '{ print $3
}' | cut -f2 -d.`
- if test -n "$gcc3minver" -a $gcc3minver -gt 3
+ if test -n "$gcc3minver"
then
- echo "HAVE_GT_GCC_3_3=true" >> $config_mak
+ if test -a $gcc3minver -gt 3;
+ then
+ echo "HAVE_GT_GCC_3_3=true" >> $config_mak
+ else
+ echo "HAVE_GT_GCC_3_3=false" >> $config_mak
+ fi
else
- echo "HAVE_GT_GCC_3_3=false" >> $config_mak
+ echo "HAVE_GT_GCC_3_3=true" >> $config_mak
fi
;;
x86_64)
diff --git a/xen-setup b/xen-setup
index 755b9ec..b0eda89 100755
--- a/xen-setup
+++ b/xen-setup
@@ -9,7 +9,7 @@ rm -f config-host.mak
if test -f config-host.h; then mv config-host.h config-host.h~; fi
-./configure --disable-curses --disable-slirp "$@" --prefix=/usr
+./configure --disable-gcc-check --disable-curses --disable-slirp "$@"
--prefix=/usr
target=i386-dm
--prashanth
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, (continued)
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Ross Philipson
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Ian Jackson
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Ross Philipson
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Ian Jackson
- Re: [Xen-devel] ioemu build failure with GCC > 4.3, Stefan de Konink
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Ross Philipson
- Re: [Xen-devel] ioemu build failure with GCC > 4.3, Keir Fraser
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Ross Philipson
- [PATCH] RE: [Xen-devel] ioemu build failure with GCC > 4.3, Espen Skoglund
- RE: [Xen-devel] ioemu build failure with GCC > 4.3, Espen Skoglund
- Re: [Xen-devel] ioemu build failure with GCC > 4.3,
prashanth . mundkur <=
|
|
|
|
|