qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Attempting to port Qemu 0.9.0 but it always fails at softmm


From: Kristian Van Der Vliet
Subject: [Qemu-devel] Attempting to port Qemu 0.9.0 but it always fails at softmmu_header.h
Date: Wed, 13 Jun 2007 21:01:42 +0100

Hi,

I'm trying to port Qemu 0.9.0 to Syllable (An i386, POSIXish, ELF
system) but the compilation always fails with:

gcc -Wall -O2 -g -fno-strict-aliasing -mpreferred-stack-boundary=2
-fomit-frame-pointer -falign-functions=0 -fno-g
cse -fno-reorder-blocks -fno-optimize-sibling-calls  -I. -I..
-I/home/build/Temp/qemu-0.9.0/target-i386 -I/home/bu
ild/Temp/qemu-0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/home/build/Temp/qemu-0.9.0/fpu -DH
AS_AUDIO -I/home/build/Temp/qemu-0.9.0/slirp -c -o
op.o /home/build/Temp/qemu-0.9.0/target-i386/op.c
/home/build/Temp/qemu-0.9.0/target-i386/ops_mem.h: In function
`op_ldub_kernel_T0_A0':
../softmmu_header.h:119: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
make[1]: *** [op.o] Error 1
make[1]: Leaving directory
`/boot/home/build/Temp/qemu-0.9.0/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2

I am building with GCC 3.4.3, specifically:

Reading specs
from /boot/usr/gcc/bin/../lib/gcc/i586-pc-syllable/3.4.3/specs
Configured with: /local/Temp/Gcc/gcc-3.4.3/./configure --prefix=/usr/gcc
--enable-languages=c,c++ --with-arch=i586
 --enable-sjlj-exceptions --enable-shared --enable-threads
--with-system-zlib --disable-libstdcxx-pch
Thread model: syllable
gcc version 3.4.3

and the configure flags for Qemu I am using are:

./configure --target-list=i386-softmmu --disable-kqemu
--prefix=/usr/qemu

Googling around I can see that this can be a problem with GCC 4.x, and
I've also run into the odd post that mentions a similar problem in a
different header, but that refered to Qemu 0.8. On the off chance I have
also tried compiling with different optimisation flags, including -O &
-O1, but it made no difference.

Can anyone shed any light on why I'm running into this problem? Are
there any patches which may help, or is there anything else I can try?

Thanks in advance.

-- 
Vanders
http://www.syllable.org
http://www.liqwyd.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]