qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Compiling QEMU on gcc 4.0 20040924


From: Piotr Krysik
Subject: Re: [Qemu-devel] Compiling QEMU on gcc 4.0 20040924
Date: Tue, 12 Oct 2004 00:02:47 -0700 (PDT)

Hi!

Try to disable #define ASM_SOFTMMU in target-i386/op.c


Piotrek

--- André Braga <address@hidden> wrote:

> Just wanted to let you know that as of the 
> 20040924 snapshot of GCC 4.0, QEMU won't compile. 
> It fails when compiling op.c:
> 
> gcc -Wall -O2 -g -fno-strict-aliasing
-fomit-frame-pointer -mpreferred-stack- boundary=2
-falign-functions=0 -fno-gcse -fno-reorder-blocks
-fno-optimize-sibling-calls -I.
-Iqemu-snapshot-2004-10-10_23/target-i386
-Iqemu-snapshot-2004-10-10_23 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Iqemu-snapshot-2004-10-10_23/slirp -c - o op.o
qemu-snapshot-2004-10-10_23/target-i386/op.c
> 
>
qemu-snapshot-2004-10-10_23/target-i386/ops_template_mem.h:
> In function 'op_cmpxchgb_kernel_T0_T1_EAX_cc':
> qemu-snapshot-2004-10-10_23/softmmu_header.h:183:
error: can't find a register in class 'GENERAL_REGS'
while reloading 'asm'
> 
> So I guess the -fno-gcse hack won't help us anymore.
> 
> 
> Cheers,
> A.



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




reply via email to

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