Q: SPARC support?
Using the given SPARC patch I have been able to compile and run (i.e. start) qemu. But it core dumps after opening the X window inside the function cpu_exec(). Here is the problematic section:
__asm__ __volatile__("call %0\n\t"
"mov %%o7,%%i0"
: /* no outputs */
: "r" (gen_func)
: "g0", "i0", "i1", "i2", "i3", "i4",
"i5", "i7",
"l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7");
Maybe someone (SPARC asm guru) could explain what is happening here (or should happen) ... ?
My machine is a Fire V250 (UltraSPARC-IIIi).
--
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
Hi,
Would you care to tell which tools do you use and which versions? (like gcc, etc..)
Thanks,
Hetz
Quoted 29 lines · Heiko
Using the given SPARC patch I have been able to compile and run (i.e. start) qemu. But it core dumps after opening the X window inside the function
cpu_exec(). Here is the problematic section:__asm__ __volatile__("call %0\n\t" "mov %%o7,%%i0" : /* no outputs */ : "r" (gen_func) : "g0", "i0", "i1", "i2", "i3", "i4", "i5", "i7", "l0", "l1", "l2", "l3", "l4", "l5","l6", "l7");
Maybe someone (SPARC asm guru) could explain what is happening here (or should happen) ... ?
My machine is a Fire V250 (UltraSPARC-IIIi).
--
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sure; here it comes ...
- - Solaris 9 on Sun Fire V250 (UltralSPARC-IIIi)
- - GNU make 3.80 (package SFWgmake)
- - gcc 3.2 (package SMCgcc)
- - Assembler: as: Sun WorkShop 6 update 2 Compiler Common 6.2 Solaris_9_CBE 2001/04/02
- - Linker: ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.377
Shall I give Sun Forte compiler a try? Or use a different gcc version?
Quoted 40 lines · Hetz Ben Hamo
Hi,
Would you care to tell which tools do you use and which versions? (like gcc, etc..)
Thanks,
HetzQuoted 31 lines · Heiko
Using the given SPARC patch I have been able to compile and run (i.e. start) qemu. But it core dumps after opening the X window inside the function
cpu_exec(). Here is the problematic section:__asm__ __volatile__("call %0\n\t" "mov %%o7,%%i0" : /* no outputs */ : "r" (gen_func) : "g0", "i0", "i1", "i2", "i3", : "i4","i5", "i7",
"l0", "l1", "l2", "l3", "l4","l5", "l6", "l7");
Maybe someone (SPARC asm guru) could explain what is happening here (or should happen) ... ?
My machine is a Fire V250 (UltraSPARC-IIIi).
--
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
- --
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCXiX+pm53PRScYygRArOgAJ4qP48QTmsojdu1iAM/NbrMO/CD6ACfZH6l X7Z0TLodnJ75zPbdQMUxbpY=
=POnb
-----END PGP SIGNATURE-----
Hi,
Quoted 4 lines · Heiko
- - gcc 3.2 (package SMCgcc)
Or use a different gcc version?
maybe you should give gcc 3.4.x a try.
Quoted 5 lines
- - Assembler: as: Sun WorkShop 6 update 2 Compiler Common 6.2
Solaris_9_CBE2001/04/02
- - Linker: ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.377
ok
Quoted 3 lines
Shall I give Sun Forte compiler a try?
won't work / not necessary.
Please tell me more about the QEMU source tree you used. Was it latest cvs or do / did you use http://www.qemu.com/qemu-0.6.1.tar.gz ?
Best regards,
Mit freundlichen Gruessen,
Martin Bochnig
Sun Certified System Administrator for Solaris 8 Sun Certified System Administrator for Solaris 9 Sun Certified Network Administrator for Solaris 8 Sun Certified Network Administrator for Solaris 9 Sun Certified Security Administrator
Student of Maths (Technical University of Berlin, E.U.)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for the hint!
I have recompiled qemu using gcc 3.4.2 and now it works fine. I currently cannot tell whether it is fast or not since I get the display via internet; I am going to check this next week when I sit in front of the machine locally resp. in the same local network.
Quoted 26 lines · Martin Bochnig
Hi,
Quoted 3 lines · Heiko
- - gcc 3.2 (package SMCgcc)
Or use a different gcc version?
maybe you should give gcc 3.4.x a try.
Quoted 4 lines
- - Assembler: as: Sun WorkShop 6 update 2 Compiler Common 6.2
Solaris_9_CBE2001/04/02
- - Linker: ld: Software Generation Utilities - Solaris Link Editors:
5.9-1.377ok
Quoted 1 line
Shall I give Sun Forte compiler a try?
won't work / not necessary.
Please tell me more about the QEMU source tree you used. Was it latest cvs or do / did you use http://www.qemu.com/qemu-0.6.1.tar.gz ?
Best regards,
Mit freundlichen Gruessen,
Quoted 7 lines
Martin Bochnig
Sun Certified System Administrator for Solaris 8 Sun Certified System Administrator for Solaris 9 Sun Certified Network Administrator for Solaris 8 Sun Certified Network Administrator for Solaris 9 Sun Certified Security Administrator
Student of Maths (Technical University of Berlin, E.U.)
- --
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCX5CMpm53PRScYygRApjkAJ9+CJ2LtN8YQuFYendkA+ULU9btnACg7oAj OstRFGqZSVB7iWhQR0cGpqA=
=MxrW
-----END PGP SIGNATURE-----
Hi,
Quoted 4 lines · Heiko
Thanks for the hint!
I have recompiled qemu using gcc 3.4.2 and now it works fine.
Great!
But please tell me ...
Please tell me more about the QEMU source tree you used. Was it latest
Quoted 1 line
cvs or do / did you use http://www.qemu.com/qemu-0.6.1.tar.gz ?
Thanks.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It was official 0.6.1 - not CVS.
Quoted 9 lines · Martin Bochnig
Hi,
Quoted 3 lines · Heiko
Thanks for the hint!
I have recompiled qemu using gcc 3.4.2 and now it works fine.
Great!
Quoted 7 lines
But please tell me ...
Please tell me more about the QEMU source tree you used. Was it latest
Quoted 1 line
cvs or do / did you use http://www.qemu.com/qemu-0.6.1.tar.gz ?
Thanks.
- --
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCZLfMpm53PRScYygRAmwGAJ9oWvM+Zl5W11Vyj3H3kyC846ovUgCeNHri QQseykiaw3rSRh1Xu9nbq4M=
=v3YL
-----END PGP SIGNATURE-----