All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Attempting to port Qemu 0.9.0 but it always fails at softmmu_header.h
@ 2007-06-13 20:01 Kristian Van Der Vliet
  0 siblings, 0 replies; only message in thread
From: Kristian Van Der Vliet @ 2007-06-13 20:01 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-13 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-13 20:01 [Qemu-devel] Attempting to port Qemu 0.9.0 but it always fails at softmmu_header.h Kristian Van Der Vliet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.