On 18.01.2008, at 01:40, Mike Kronenberg wrote:
On 18.01.2008, at 00:25, Andreas Färber wrote:Am 17.01.2008 um 18:34 schrieb Alexander Graf:I tested sparc-softmmu, ppc-softmmu, ppc64-softmmu, i386-softmmu on Linux/i386 from your gcc4 branch. It compiles okay on gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2). Runtime behavior was identical to CVS+gcc-3.4.Could you please test gcc4 for PowerPC as well? I don't see a reason this should not work on OSX/PPC.As mentioned earlier, on OSX/ppc QEMU worked even without this patch mostly (with always_inline fix applied), only when running Q I got occasional crashes.The gcc4 git branch plus always_inline fix compiles sparc-softmmu fine on powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465). As usual there are some signedness warnings. It ran as fine as without the fix. The other softmmus and the combination with Q I haven't checked yet.Is this patch supposed to work on OSX/i386 as well as is, or does that require some of the existing patches?AndreasOS X/i386 needs at least a fix for "relocation_info".You find a stab at it in qemu-0.9.1-osx-intel-port.patch[1]... put it must first be adapted to Alex's patches.Mike [1] http://www.kju-app.org/proj/browser/branches/0_9_1/patches/qemu-0.9.1-osx-intel-port.patch?format=raw
I tried it quick and dirty with Alex osx-patch (without exec-all.h part) on a x86_64. everything except ppc-softmmu (/tmp/qemu/target-ppc/exec.h:135:2: error: #endif without #if) compiled fine. I'm going to make some more test and try to use Alex relocation fix on host i386.
Mike
smime.p7s
Description: S/MIME cryptographic signature