Bug report
Hi,
I am unable to compile qemu on my machine :p. I've attached the result of the configure and make.
My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.
I used the CVS snapshot, but I got mostly the same problem with the 0.7.2 version.
Tell me if you want more infos, and thanks for any help.
Quoted 12 lines · Julien Lancien
Hi,
I am unable to compile qemu on my machine :p. I've attached the result of the configure and make.
My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.
I used the CVS snapshot, but I got mostly the same problem with the 0.7.2 version.
Tell me if you want more infos, and thanks for any help.
Quoted 8 lines
------------------------------------------------------------------------
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
about compiling QEMU with gcc 4.x.x
http://lists.gnu.org/archive/html/qemu-devel/2005-10/msg00312.html
Greetings
Mike
gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.
Also, the current qemu code generator is an ugly hack that relies on some specifics of gcc 3.x function implementation. There is work being done on a _real_ code generator for qemu.
-Karl
Quoted 20 lines · Julien Lancien
Hi,
I am unable to compile qemu on my machine :p. I've attached the result of the configure and make.
My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.
I used the CVS snapshot, but I got mostly the same problem with the 0.7.2 version.
Tell me if you want more infos, and thanks for any help._______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Karl Magdsick
gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.
Also, the current qemu code generator is an ugly hack that relies on some specifics of gcc 3.x function implementation. There is work being done on a _real_ code generator for qemu.
I saw that there is a binary distribution for linux-i386, however, I'ld like to also get kqemu. Is there a way to do that without getting gcc 3 ?
Thanks.
Ps: this is a forward, I forgot to copy the ml.
Quoted 6 lines · Julien Lancien
I saw that there is a binary distribution for linux-i386, however, I'ld like to also get kqemu. Is there a way to do that without getting gcc 3 ?
Thanks.
kqemu is immune to the gcc 3 problem that qemu has. You can use gcc 3 qemu with gcc 4 kqemu and gcc 4 kernel, no problems there.
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Find out how to run gcc 3.x if you have it installed, e.g., on mine (Mac OS X), gcc-3.3 does it, then:
./configure --cc=gcc-3.3
This seems to be enough (HOST_CC left as gcc doesn't break anything but it may be safer to set that too as 3.x).
Quoted 32 lines · Karl Magdsick
gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.
Also, the current qemu code generator is an ugly hack that relies on some specifics of gcc 3.x function implementation. There is work being done on a _real_ code generator for qemu.
-Karl
Quoted 12 lines · Julien Lancien
Hi,
I am unable to compile qemu on my machine :p. I've attached the result of the configure and make.
My gcc version is: 4.0.3 20051006 and kernel 2.6.13 vanilla.
I used the CVS snapshot, but I got mostly the same problem with the 0.7.2 version.
Tell me if you want more infos, and thanks for any help.Quoted 8 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 6 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Philip Machanick School of ITEE, University of Queensland
Brisbane, Qld 4072, Australia http://www.itee.uq.edu.au/~philip/
phone +61(7) 3365 2766 fax +61(7) 3365 4999 mailto:[email protected]
Quoted 1 line · Karl Magdsick
gcc 4.x is known not to compile qemu, due to a register allocation bug in gcc.
It can be fixed at QEMU's level with additional patches than posted here and actually I have it working for x86 system emulation. Unfortunately, it crashes for x86_64 system emulation. I have yet to review the generated ops for 64-bit targets but this won't happen immediately, probably in two weeks...