Skip to contentSkip to conversation

qemu-system-ppc gcc-3.4.0 optimization problem

Qemu-devel Ronald 1 participant 1 message Jul 19, 2004

lore
Share & tools
lore

Ronald

author
#0 lore raw

Hello world,

I have experienced a strange thing,
With gcc-3.4 it seems I have two choices to build qemu correctly:
replacing -O2 with -O1 in Makefile.target or editing target-i386/op.c so ASM_SOFTMMU is defined for gcc-3.4 too. When qemu-system-ppc is build with -O1 I am able to boot my prep kernel, everything go fine.
But when i edit op.c, qemu-system-ppc hangs with (on my xterm):
*** ERROR: idx fe already assigned to a direct opcode
*** ERROR: unable to insert opcode [20-fe-fd]
*** ERROR initializing PPC instruction 0x20 0xfe 0xfd invalid/unsupported opcode: 12 - 02 - 18 (4bfffe05) 0xfffffffc 0 invalid/unsupported opcode: 00 - 00 - 00 (00000000) 0x00000700 0

qemu cvs from yesterday.