[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] make qemu work with GCC 4
From: |
Michael Matz |
Subject: |
Re: [Qemu-devel] [patch] make qemu work with GCC 4 |
Date: |
Wed, 29 Aug 2007 13:40:29 +0200 (CEST) |
Hi,
On Wed, 29 Aug 2007, Andreas Färber wrote:
> Am I right to assume that compiling with gcc3 will still work with your
> patch?
Yes.
> In that case your patch would enable qemu to run on gcc4-only platforms
> (where performance doesn't matter too much yet) while allowing to
> compile with gcc3 for performance reasons where necessary.
If necessary yes. The patch obviously would need to be changed to be
conditional not only on HOST_I386 but also on GCC version. Better to do
benchmarks first, if it's worthwhile.
> >The whole patch is against a 0.9.0-cvs version from 2007-07-09 (Alex
> >might know the exact checkout date), so chances are that it still
> >applies :)
>
> What do you mean with 0.9.0-cvs? The 0.9.0 GCC4 patches for OSX/Intel
Do you mean my patches?
> don't apply to HEAD possibly due to some inline assembler changes,
It seems target-z80 doesn't exist in CVS, apart from that there's a small
s/target_ulong/ppc_gpr_t/ in the target-ppc hunk. Otherwise it applies
just fine (I'll attach the patch against CVS, in case pine managed to
mangle it last time).
> and if merged manually resulted in a crash...
I just tested the attached patch with qemu fresh from CVS on HOST_I386
with target i386 (no kqemu, so it's really emulating), and target mipsel.
It works just fine. (gcc 4.1.2 for that matter)
Ciao,
Michael.
qemu-mm-gcc4-cvs.patch
Description: Text Data
- [Qemu-devel] [patch] make qemu work with GCC 4, Michael Matz, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Andreas Färber, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4,
Michael Matz <=
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Andreas Färber, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Michael Matz, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Mulyadi Santosa, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Johannes Schindelin, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Michael Matz, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Johannes Schindelin, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Blue Swirl, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Carlo Marcelo Arenas Belon, 2007/08/30
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Johannes Schindelin, 2007/08/29
- Re: [Qemu-devel] [patch] make qemu work with GCC 4, Ronald, 2007/08/29