Compiling QEMU on gcc 4.0 20040924
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-sibl ing-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.
Signature · 2 lines
"A year spent in artificial intelligence is enough to make one believe in God" Alan J. Perlis