[LinuxBIOS] QEMU 0.9.0 fails to compile

Andon Tschauschev atschauschev at yahoo.com
Wed Apr 11 17:23:33 CEST 2007


Hi Roger,

output from
 $gcc -v 
is:
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:     /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr     --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)

and output from
$gcc32
is
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)

the same... it seems to me, that gcc v4.1 tries to "emulate" gcc v3.2. However, QEMU reject to use gcc v4.1 and uses gcc v3.2, which  the same is.

I will install gcc v3.4 and probe with it.

Regards

Andon


>roger <roger at eskimo.com> wrote:Seems you're using gcc-3.2.

I'm using gcc-4.1.1 and Qemu (finally) compiled fine with gcc-4 along
with KQemu. (Although, I'm seeing some system freezes but have yet to
verify it was because KQemu was loaded.)

Anyways, try upgrading to a more recent gcc version first.

Just a note, I've yet to try building LinuxBios along with the latest
Qemu release.  I'm still getting some flash parts together for working
with my 440BX.

On Tue, 2007-04-10 at 15:53 -0700, Andon Tschauschev wrote:
> Hello,
> 
> I have just tried to compile QEMU 0.9.0 (with qemu-isa-bios-ram.patch
> and  qemu-piix-ram-size.patch applied) on my machine, but it failed.
> 
> Output from configure:
> qemu-0.9.0 $ ./configure  --target-list=i386-softmmu        
> WARNING: "gcc" looks like gcc 4.x
> Looking for gcc 3.x
> Found "gcc32"
--
Roger
http://www.eskimo.com/~roger/index.html
Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61

Tue Apr 10 20:25:26 PDT 2007



       
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070411/a3a18890/attachment.html>


More information about the coreboot mailing list