qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] compile error with gcc 3.4.1
@ 2004-06-26 10:40 Iain McFarlane
  2004-06-26 15:14 ` Laurent Desnogues
  0 siblings, 1 reply; 5+ messages in thread
From: Iain McFarlane @ 2004-06-26 10:40 UTC (permalink / raw)
  To: qemu-devel

Hi,

When trying to compile from cvs i get the following error:

gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer 
-mpreferred-stack-boundary=2 -falign-functions=0 -fno-reorder-blocks 
-fno-optimize-sibling-calls -I. -I/home/iain/qemu/qemu/target-i386 
-I/home/iain/qemu/qemu -D_GNU_SOURCE -I/home/iain/qemu/qemu/slirp -c -o 
op.o /home/iain/qemu/qemu/target-i386/op.c
/home/iain/qemu/qemu/target-i386/ops_template_mem.h: In function 
`op_rolb_kernel_T0_T1_cc':
/home/iain/qemu/qemu/softmmu_header.h:179: error: can't find a register in 
class `GENERAL_REGS' while reloading `asm'
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/home/iain/src/qemu/i386-softmmu'

if I reduce it to -O1 then there is no error and everything works ok.

Thanks,

Iain

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] compile error with gcc 3.4.1
  2004-06-26 10:40 [Qemu-devel] compile error with gcc 3.4.1 Iain McFarlane
@ 2004-06-26 15:14 ` Laurent Desnogues
  2004-06-26 15:25   ` Iain McFarlane
  0 siblings, 1 reply; 5+ messages in thread
From: Laurent Desnogues @ 2004-06-26 15:14 UTC (permalink / raw)
  To: qemu-devel

Iain McFarlane wrote:

[...]
> /home/iain/qemu/qemu/softmmu_header.h:179: error: can't find a register in 
> class `GENERAL_REGS' while reloading `asm'
> make[1]: *** [op.o] Error 1
> make[1]: Leaving directory `/home/iain/src/qemu/i386-softmmu'

There is an opened bug that looks very similar:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15482

gcc 3.4.1 is still not out, it has just been frozen yesterday.
Did you try with another version of gcc?


		Laurent

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] compile error with gcc 3.4.1
  2004-06-26 15:14 ` Laurent Desnogues
@ 2004-06-26 15:25   ` Iain McFarlane
  2004-06-26 15:32     ` Laurent Desnogues
  2004-06-26 18:03     ` Karel Gardas
  0 siblings, 2 replies; 5+ messages in thread
From: Iain McFarlane @ 2004-06-26 15:25 UTC (permalink / raw)
  To: qemu-devel

On Saturday 26 June 2004 16:14, Laurent Desnogues wrote:
> Iain McFarlane wrote:
>
> [...]
>
> > /home/iain/qemu/qemu/softmmu_header.h:179: error: can't find a register
> > in class `GENERAL_REGS' while reloading `asm'
> > make[1]: *** [op.o] Error 1
> > make[1]: Leaving directory `/home/iain/src/qemu/i386-softmmu'
>
> There is an opened bug that looks very similar:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15482
>
> gcc 3.4.1 is still not out, it has just been frozen yesterday.
A version of 3.4.1 has been in mandrake cooker for at least a week now - 
they've been updating the package from cvs

> Did you try with another version of gcc?
It used to work absolutely fine with 3.4.0 so I presume something in gcc has 
changed - there is a lot of comment about the new version in the cooker 
mailing lists.  It is no big deal as I can still compile with -O1 but I think 
it will become more of an issue as people upgrade to gcc-3.4.1

Cheers

Iain

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] compile error with gcc 3.4.1
  2004-06-26 15:25   ` Iain McFarlane
@ 2004-06-26 15:32     ` Laurent Desnogues
  2004-06-26 18:03     ` Karel Gardas
  1 sibling, 0 replies; 5+ messages in thread
From: Laurent Desnogues @ 2004-06-26 15:32 UTC (permalink / raw)
  To: qemu-devel

Iain McFarlane wrote:

> A version of 3.4.1 has been in mandrake cooker for at least a week now - 
> they've been updating the package from cvs

This reminds me of the 2.96 version that never existed...
Some showstoppers bugs were corrected for the forthcoming
*official* 3.4.1 release, so if MDK did not update their
build, using it looks dangerous to me.

> It is no big deal as I can still compile with -O1 but I think 
> it will become more of an issue as people upgrade to gcc-3.4.1

You are not using 3.4.1, just a snapshot of it, so you
can't extrapolate ;-)


		Laurent

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] compile error with gcc 3.4.1
  2004-06-26 15:25   ` Iain McFarlane
  2004-06-26 15:32     ` Laurent Desnogues
@ 2004-06-26 18:03     ` Karel Gardas
  1 sibling, 0 replies; 5+ messages in thread
From: Karel Gardas @ 2004-06-26 18:03 UTC (permalink / raw)
  To: qemu-devel

On Sat, 26 Jun 2004, Iain McFarlane wrote:

> > Did you try with another version of gcc?
> It used to work absolutely fine with 3.4.0 so I presume something in gcc has
> changed

I have not been ever able to compile qemu by gcc3.4.0 -- haven't you make
mistake by using 3.3.x?

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-06-26 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-26 10:40 [Qemu-devel] compile error with gcc 3.4.1 Iain McFarlane
2004-06-26 15:14 ` Laurent Desnogues
2004-06-26 15:25   ` Iain McFarlane
2004-06-26 15:32     ` Laurent Desnogues
2004-06-26 18:03     ` Karel Gardas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).