Hi, Fedora Core 4 with gcc4 seems to have some trouble compiling qemu, even with the below patch attached. EG: [...snip many signedness errors...]
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. -I/opt/src/qemu-snapshot-2005-06-15_23/target-i386 -I/opt/src/qemu-snapshot-2005-06-15_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/opt/src/qemu-snapshot-2005-06-15_23/fpu -I/opt/src/qemu-snapshot-2005-06-15_23/slirp -c -o op.o /opt/src/qemu-snapshot-2005-06-15_23/target-i386/op.c /opt/src/qemu-snapshot-2005-06-15_23/target-i386/ops_template_mem.h: In function ‘op_cmpxchgb_kernel_T0_T1_EAX_cc’: /opt/src/qemu-snapshot-2005-06-15_23/softmmu_header.h:184: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ make[1]: *** [op.o] Error 1 make[1]: Leaving directory `/opt/src/qemu-snapshot-2005-06-15_23/i386-softmmu' make: *** [all] Error 1 [EMAIL PROTECTED] qemu-snapshot-2005-06-15_23]$ gcc --version gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) Cheers, D On Thu, 2005-05-12 at 18:00 +0100, Paul Brook wrote: > On Wednesday 11 May 2005 22:04, Paul Brook wrote: > > The attached patch adds support for gcc4 x86 and x86_64 hosts. > > This time with the correct patch attached. > > Paul > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel -- Darryl Dixon <[EMAIL PROTECTED]> _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel