qemu-native / gcc 4.x issue (not selecting 3.x)
Thought this is more an oe issue, than a familiar issue; sorry for the cross post though.
Quoted 7 lines · Rene Wagner
Quoted 4 lines · Christian Henz
I noticed a problem when compiling qemu-native. The check for gcc correctly finds gcc-3.3, but afterwards ${EXTRA_OECONF} is empty when configure is run, eventually resulting in a compilation error because my default gcc is gcc-4.0.
Thanks for spotting. Should be fixed now.
Seems to me, that this version of qemu is (still/again/also) having this problem - but Christians solution doesn't work for me (anymore). (Was: adding EXTRA_OECONF=" --cc=gcc-3.3 " to the .bb file)
Any hints what to do?
My gentoo host normally uses 4.1.x (currently). But is this the gcc version used by bitbake to build everything?! Isn't there a special version for cross compiling? Do I have to setup a 3.y version parallely on my host?
Thx,
M
NOTE: multiple providers are available (qemu-native, qemu-qop-nogfx-native);
NOTE: consider defining PREFERRED_PROVIDER_qemu-native
NOTE: package qemu-native-0.8.2+cvs20060723: started
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_fetch: started
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_fetch: completed
Updating /oe/tmp/stamps/i686-linux/qemu-native-0.8.2+cvs20060723-r0.do_fetch
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_unpack: started
NOTE:
Unpacking /home/markus/sources/qemu_cvs.savannah.nongnu.org__20060723.tar.gz
to /oe/tmp/work/i686-linux/qemu-native-0.8.2+cvs20060723-r0/
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_unpack: completed
Updating /oe/tmp/stamps/i686-linux/qemu-native-0.8.2+cvs20060723-r0.do_unpack
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_patch: started
NOTE: Applying patch 'configure.patch'
NOTE: Applying patch 'pl110_rgb-r0.patch'
NOTE: Applying patch 'arm_nptl.patch'
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_patch: completed
Updating /oe/tmp/stamps/i686-linux/qemu-native-0.8.2+cvs20060723-r0.do_patch
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_configure: started
ERROR: function do_configure failed
ERROR: log data follows
(/oe/tmp/work/i686-linux/qemu-native-0.8.2+cvs20060723-r0/temp/log.do_configure.23335)
| NOTE:
Running /oe/tmp/work/i686-linux/qemu-native-0.8.2+cvs20060723-r0/qemu/configure --build=i686-linux --host=i686-linux --target=i686-linux --prefix=/oe/tmp/staging/i686-linux --exec_prefix=/oe/tmp/staging/i686-linux --bindir=/oe/tmp/staging/i686-linux/bin --sbindir=/oe/tmp/staging/i686-linux/bin --libexecdir=/oe/tmp/staging/i686-linux/libexec --datadir=/oe/tmp/staging/i686-linux/share --sysconfdir=/oe/tmp/staging/i686-linux/etc --sharedstatedir=/oe/tmp/staging/i686-linux/com --localstatedir=/oe/tmp/staging/i686-linux/var --libdir=/oe/tmp/staging/i686-linux/lib --includedir=/oe/tmp/staging/i686-linux/include --oldincludedir=/oe/tmp/staging/i686-linux/include --infodir=/oe/tmp/staging/i686-linux/share/info --mandir=/oe/tmp/staging/i686-linux/share/man ...
| ERROR: "gcc" looks like gcc 4.x | QEMU is known to have problems when compiled with gcc 4.x | It is recommended that you use gcc 3.x to build QEMU | To use this compiler anyway, configure with --disable-gcc-check | FATAL: oe_runconf failed
NOTE: Task
failed: /oe/tmp/work/i686-linux/qemu-native-0.8.2+cvs20060723-r0/temp/log.do_configure.23335
NOTE: package qemu-native-0.8.2+cvs20060723-r0: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package qemu-native-0.8.2+cvs20060723: failed