qemu fix for gcc3/4 mixed systems
Terry Chan
tpchan at comcast.net
Fri Apr 20 23:32:49 CEST 2007
On Fri, Apr 20, 2007 at 10:40:59AM -0700, Kok, Auke wrote:
>
> Terry,
>
> please apply this to your qemu module and see if it still builds OK. This will
> allow qemu to compile on gcc3-only and also gcc3/4 mixed systems
>
> Cheers,
>
> Auke
>
> ---
> diff a/devel/qemu b/devel/qemu
> --- a/devel/qemu/BUILD 2007-02-15 11:01:03.000000000 -0800
> +++ b/devel/qemu/BUILD 2007-04-20 10:39:08.000000000 -0700
> @@ -6,7 +6,9 @@
> OPTS+=" --target-list=i386-user,i386-softmmu,arm-user,sparc-user,ppc-user"
> fi
>
> - default_build &&
> + ./configure --prefix=/usr \
> + --cc=${GCC3_PREFIX:-/opt/lunar/gcc3}/bin/gcc &&
> + default_make &&
>
> # qemu-doc.html may not exist, but it will be ignored if that is the case
> gather_docs TODO qemu-doc.html
--------------------------------------------------------------------------
The above patch doesn't work on my lunar box as my only installed gcc is 3.4.6
and is not located in /opt/lunar/gcc3. My gcc is in the normal location /usr/bin/gcc.
Also on this box I've already done a lunar hold gcc.
The exact failure message is:
++ Mark Compile start : "qemu" "0.9.0" "Fri Apr 20 21:29:03 UTC 2007"
ERROR: "/opt/lunar/gcc3/bin/gcc" either does not exist or does not work
++ Mark Compile stop : "qemu" "0.9.0" "Fri Apr 20 21:29:04 UTC 2007"
More information about the Lunar-dev
mailing list