This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Qemu and GCC-3.4 on powerpc


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.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]