qemu vl.c
CVSROOT: /cvsroot/qemu
Module name: qemu
Branch:
Changes by: Fabrice Bellard <[email protected]> 05/01/09 00:03:14
Modified files:
. : vl.c
Log message:
compilation fix
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/vl.c.diff?tr1=1.114&tr2=1.115&r1=text&r2=text
Hello Fabrice,
thanks a lot! Now vl.c compiles here (OS X), but further compilation stops at:
make[1]: Entering directory `/Users/phil/build/qemu/i386-softmmu'
...
../dyngen -o op.h op.o
dyngen: blr expected at the end of op_pmaddwd_mmx make[1]: *** [op.h] Error 1
-- Ph.
Quoted 2 lines · Phil Krylov
thanks a lot! Now
vl.ccompiles here (OS X), but further compilation stops at:
dyngen: blr expected at the end ofop_pmaddwd_mmx
Which compiler? For gcc >= 3.4 you'll need to supply -fno-tree-ch as additional flag for the uops.
Servus,
Daniel
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mac OS X compilation (Was: Re: [Qemu-devel] qemu vl.c)
Hello,
Quoted 8 lines · Daniel Egger
Quoted 2 lines · Phil Krylov
It's gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671). It does not understand -fno-tree-ch.
Hm, this is the latest build. I'm using a gcc HEAD snapshot because it produces much better code and it compiles the templates just fine as long as I use this flag.
I have not yet tried gcc HEAD, but I took 3.4.3 (which is the latest within DarwinPorts), and it passed this part. but stopped later after:
gcc-3.4.3 -Wall -O2 -mcpu=7450 -g -fno-strict-aliasing -D__powerpc__ -I. -I/Users/phil/build/qemu/target-i386 -I/Users/phil/build/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/phil/build/qemu/slirp -c -o translate.o /Users/phil/build/qemu/target-i386/translate.c /Users/phil/build/qemu/target-i386/translate.c:612: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:612: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:612: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:612: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:620: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:620: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:620: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:620: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:622: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:622: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:622: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:622: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:623: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:623: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:623: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c:623: warning:
initialization from incompatible pointer type /Users/phil/build/qemu/target-i386/translate.c: In function `gen_jmp_im':
/Users/phil/build/qemu/target-i386/translate.c:806: error: too many arguments to function gen_op_movl_eip_im' /Users/phil/build/qemu/target-i386/translate.c: In function gen_string_movl_A0_ESI':
/Users/phil/build/qemu/target-i386/translate.c:830: error: too many arguments to function gen_op_movl_A0_seg' /Users/phil/build/qemu/target-i386/translate.c:841: error: too many arguments to function gen_op_addl_A0_seg' /Users/phil/build/qemu/target-i386/translate.c: In function `gen_string_movl_A0_EDI':
/Users/phil/build/qemu/target-i386/translate.c:854: error: too many arguments to function gen_op_movl_A0_seg' /Users/phil/build/qemu/target-i386/translate.c:862: error: too many arguments to function gen_op_addl_A0_seg'
...
and many more like this.
Will soon try gcc HEAD...
-- Ph.