[LinuxBIOS] QEMU 0.9.0 fails to compile

Uwe Hermann uwe at hermann-uwe.de
Wed Apr 11 02:41:50 CEST 2007


On Tue, Apr 10, 2007 at 03:53:18PM -0700, Andon Tschauschev wrote:
> 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"
> which: no texi2html in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin)
> Install prefix    /usr/local
> BIOS directory    /usr/local/share/qemu
> binary directory  /usr/local/bin
> Manual directory  /usr/local/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path       /qemu-0.9.0
> C compiler        gcc32
> Host C compiler   gcc
> make              make
> install           install
> host CPU          i386
> host big endian   no
> target list       i386-softmmu
> gprof enabled     no
> profiler          no
> static build      no
> SDL support       yes
> SDL static link   yes
> mingw32 support   no
> Adlib support     no
> CoreAudio support no
> ALSA support      no
> DSound support    no
> FMOD support      no 
> kqemu support     yes
> Documentation     no
> qemu-0.9.0 $ 
> 
> then:
> qemu-0.9.0 $make
> .
> .
> .
> gcc32 -Wall -O2 -g -fno-strict-aliasing -mpreferred-stack-boundary=2 -fomit-frame-pointer -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls  -I. -I.. -I/qemu-0.9.0/target-i386 -I/qemu-0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/qemu-0.9.0/fpu -DHAS_AUDIO -I/qemu-0.9.0/slirp -c -o op.o /qemu-0.9.0/target-i386/op.c
> /qemu-0.9.0/target-i386/ops_template_mem.h: In function 'op_shlb_user_T0_T1_cc':
> ../softmmu_header.h:207: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
> make[1]: *** [op.o] Error 1
> make[1]: Leaving directory `/qemu-0.9.0/i386-softmmu'
> make: *** [subdir-i386-softmmu] Error 2
> qemu-0.9.0 $

Hm, strange, it works fine here. I'm using gcc 3.4, though. Maybe that
makes a difference.

Is this the stock 0.9.0 or the CVS version?


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070411/8cc0ed92/attachment.sig>


More information about the coreboot mailing list