[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Qemu and GCC-3.4 on powerpc



Tach auch!

Am Fr, den 31 März 2006, schrieb Alan Modra:
> On Tue, Mar 28, 2006 at 12:00:47PM +0200, Gabriel Paubert wrote:
> > On Tue, Mar 28, 2006 at 12:56:13AM +0200, Dieter Schuster wrote:
> > > If I try to compile qemu with GCC 3.4 without the patch I get the following error:
> > > 
> > > qemu-0.8.0/linux-user/elfload.c: In function `load_elf_binary':
> > > qemu-0.8.0/cpu-all.h:253: error: inconsistent operand constraints in an `asm'
> > > qemu-0.8.0/cpu-all.h:253: error: inconsistent operand constraints in an `asm'
> > 
> > Weird. CC'ed to gcc list despite the fact that the 3.4 branch
> > is definitely closed. I've not found anything remotely similar
> > from bugzilla.
> > 
> > > 
> > > But if I copy the function stl_le_p to a seperate file, the function
> > > will compile with GCC 3.4. 
> 
> Check preprocessor output.  My guess is that you have some unexpected
> substitution.
> 

I had now more time, to investigate the error. It seems to be a
optimization problem. With -O2 -fno-gcse the error disappeared. I have
made a bug report to gcc. 

	Dieter Schuster

-- 
GnuPG Key-ID: 1024D/5EE6EF26, bitte verschlüsselte E-Post; keine HTML-Post.

Keine Logik-/Softwarepatente. Pas de Brevets Logique/Logiciels. 
No Logic/Software Patents. 

Attachment: pgpn1nVwpGney.pgp
Description: PGP signature


Reply to: