Re: [Qemu-devel] Patch for compiling with GCC 4

2008-02-19 Thread Christian Roue
Thanks Thiemo. I'll look at TCG, some more doc reading ahead apparently. Bye Chris On Feb 18, 2008 9:49 PM, Thiemo Seufer <[EMAIL PROTECTED]> wrote: > Alexander Graf wrote: > > > > On Feb 17, 2008, at 9:22 PM, Christian Roue wrote: > > > >> Well, I somehow felt like it was a bit brutal and probab

Re: [Qemu-devel] Patch for compiling with GCC 4

2008-02-18 Thread Thiemo Seufer
Alexander Graf wrote: > > On Feb 17, 2008, at 9:22 PM, Christian Roue wrote: > >> Well, I somehow felt like it was a bit brutal and probably fixing the >> symptoms which is apparently the case. >> Looking more carefully, compile fails in : >> sh4-linux-user for function op_cmp_str_T0_T1 >> gcc opti

Re: [Qemu-devel] Patch for compiling with GCC 4

2008-02-18 Thread Christian Roue
Alex, thanks for the hint. I'll have a look at TCG. Bye Chris. On Feb 18, 2008 1:07 PM, Alexander Graf <[EMAIL PROTECTED]> wrote: > > On Feb 17, 2008, at 9:22 PM, Christian Roue wrote: > > > Well, I somehow felt like it was a bit brutal and probably fixing the > > symptoms which is apparently th

Re: [Qemu-devel] Patch for compiling with GCC 4

2008-02-18 Thread Alexander Graf
On Feb 17, 2008, at 9:22 PM, Christian Roue wrote: Well, I somehow felt like it was a bit brutal and probably fixing the symptoms which is apparently the case. Looking more carefully, compile fails in : sh4-linux-user for function op_cmp_str_T0_T1 gcc optimization leads to a ret followed by a l

Re: [Qemu-devel] Patch for compiling with GCC 4

2008-02-17 Thread Christian Roue
Well, I somehow felt like it was a bit brutal and probably fixing the symptoms which is apparently the case. Looking more carefully, compile fails in : sh4-linux-user for function op_cmp_str_T0_T1 gcc optimization leads to a ret followed by a last assignement with a jump back. I guess dyngen hopes

Re: [Qemu-devel] Patch for compiling with GCC 4

2008-02-16 Thread Paul Brook
On Saturday 16 February 2008, Christian Roue wrote: > Hi all, > I tried to compile qemu cvs head on my x86_64 linux with gcc 4.1.2 using > --disable-gcc-check, I found compile fails as stated in configure before i > disabled gcc check.. > Error message, points to a problem of dyngen not correctly d

[Qemu-devel] Patch for compiling with GCC 4

2008-02-16 Thread Christian Roue
Hi all, I tried to compile qemu cvs head on my x86_64 linux with gcc 4.1.2 using --disable-gcc-check, I found compile fails as stated in configure before i disabled gcc check.. Error message, points to a problem of dyngen not correctly detecting function ends on i386 when last instruction is a jump