qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] qemu CVS HEAD does not compile with gcc 3.4


From: felix-qemu
Subject: [Qemu-devel] qemu CVS HEAD does not compile with gcc 3.4
Date: Thu, 24 Jun 2004 11:30:57 +0200
User-agent: Mutt/1.5.6+20040523i

Here's what happens:

make[1]: Entering directory `/cvs/qemu/i386'
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer 
-mpreferred-stack-boundary=2 -falign-functions=0 -fno-reorder-blocks 
-fno-optimize-sibling-calls -I. -I/cvs/qemu/target-i386 -I/cvs/qemu 
-D_GNU_SOURCE -I/cvs/qemu/slirp -c -o op.o /cvs/qemu/target-i386/op.c
/cvs/qemu/target-i386/ops_template_mem.h: In function `op_rolb_kernel_T0_T1_cc':
/cvs/qemu/softmmu_header.h:179: error: can't find a register in class 
`GENERAL_REGS' while reloading `asm'
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/cvs/qemu/i386'
gmake: *** [all] Error 1


It's the function "glue", which is static inline, but still uses ebp.  Huh?
We are compiling -fomit-frame-pointer...?

The function spills eax, ecx and edx, takes two register arguments and two
memory location arguments.  Apparently, gcc 3.4 wants to put the memory
locations into registers as well...?

Felix




reply via email to

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