[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] target-ppc: does not compile anymore
From: |
Martin Mohring |
Subject: |
Re: [Qemu-devel] target-ppc: does not compile anymore |
Date: |
Thu, 02 Oct 2008 23:36:20 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080720) |
Aurelien Jarno wrote:
> Martin Mohring a écrit :
>
>> Martin Mohring wrote:
>>
>>> not sure, which change it was. But now I get both on x86_64 or i586
>>> host, opensuse 11.0, a compile error:
>>>
>>> gcc -O2 -g -fno-strict-aliasing -Wall -Wundef -Wendif-labels
>>> -Wwrite-strings -fno-reorder-blocks -fno-gcse -fno-tree-ch
>>> -fno-optimize-sibling-calls -fno-crossjumping -fno-align-labels
>>> -fno-align-jumps -fno-align-functions -fno-section-anchors
>>> -mpreferred-stack-boundary=2 -fomit-frame-pointer -m32 -I. -I..
>>> -I/usr/src/packages/BUILD/qemu-0.9.2svn5391/target-ppc
>>> -I/usr/src/packages/BUILD/qemu-0.9.2svn5391 -MMD -MT op.o -MP
>>> -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
>>> -I/usr/src/packages/BUILD/qemu-0.9.2svn5391/tcg
>>> -I/usr/src/packages/BUILD/qemu-0.9.2svn5391/tcg/i386
>>> -I/usr/src/packages/BUILD/qemu-0.9.2svn5391/fpu -DHAS_AUDIO
>>> -DHAS_AUDIO_CHOICE -I/usr/src/packages/BUILD/qemu-0.9.2svn5391/slirp -c
>>> -o op.o /usr/src/packages/BUILD/qemu-0.9.2svn5391/target-ppc/op.c
>>> ../dyngen -c -o dyngen-opc.h op.o
>>> dyngen: ret or jmp expected at the end of op_divw
>>> make[1]: *** [dyngen-opc.h] Error 1
>>> make[1]: Leaving directory
>>> `/usr/src/packages/BUILD/qemu-0.9.2svn5391/ppc-softmmu'
>>> make: *** [subdir-ppc-softmmu] Error 2
>>>
>>>
>>>
>> Some additional Information that you might need (for opensuse 11.0)
>> - gcc is version 4.3.1
>>
>
> You need gcc 3.4 to compile the ppc target which still use dyngen.
>
>
>
You are right.
I suppress from my mind from time to time that ppc still does not use tcg.
You remind me why I still keep a copy of the old 3.x gcc compiler to
build the ppc qemu user mode.