* [Qemu-devel] Q: SPARC support?
@ 2005-04-13 17:45 Nardmann, Heiko
2005-04-13 18:05 ` Hetz Ben Hamo
0 siblings, 1 reply; 7+ messages in thread
From: Nardmann, Heiko @ 2005-04-13 17:45 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Q: SPARC support?
2005-04-13 17:45 [Qemu-devel] Q: SPARC support? Nardmann, Heiko
@ 2005-04-13 18:05 ` Hetz Ben Hamo
2005-04-14 8:12 ` Nardmann, Heiko
0 siblings, 1 reply; 7+ messages in thread
From: Hetz Ben Hamo @ 2005-04-13 18:05 UTC (permalink / raw)
To: Nardmann, Heiko, qemu-devel
Hi,
Would you care to tell which tools do you use and which versions?
(like gcc, etc..)
Thanks,
Hetz
On 4/13/05, Nardmann, Heiko <heiko.nardmann@secunet.com> wrote:
> 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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Q: SPARC support?
2005-04-13 18:05 ` Hetz Ben Hamo
@ 2005-04-14 8:12 ` Nardmann, Heiko
2005-04-14 18:34 ` Martin Bochnig
0 siblings, 1 reply; 7+ messages in thread
From: Nardmann, Heiko @ 2005-04-14 8:12 UTC (permalink / raw)
To: qemu-devel, Hetz Ben Hamo
-----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?
On Mittwoch 13 April 2005 20:05, Hetz Ben Hamo wrote:
> Hi,
>
> Would you care to tell which tools do you use and which versions?
> (like gcc, etc..)
>
> Thanks,
> Hetz
>
> On 4/13/05, Nardmann, Heiko <heiko.nardmann@secunet.com> wrote:
> > 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
> > Qemu-devel@nongnu.org
> > 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-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Q: SPARC support?
2005-04-14 8:12 ` Nardmann, Heiko
@ 2005-04-14 18:34 ` Martin Bochnig
2005-04-15 9:59 ` Nardmann, Heiko
0 siblings, 1 reply; 7+ messages in thread
From: Martin Bochnig @ 2005-04-14 18:34 UTC (permalink / raw)
To: qemu-devel
Hi,
Nardmann, Heiko wrote:
>- - gcc 3.2 (package SMCgcc)
>
>
> Or use a different gcc version?
maybe you should give gcc 3.4.x a try.
>- - 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
>
>
ok
>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.)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Q: SPARC support?
2005-04-14 18:34 ` Martin Bochnig
@ 2005-04-15 9:59 ` Nardmann, Heiko
2005-04-15 10:05 ` Martin Bochnig
0 siblings, 1 reply; 7+ messages in thread
From: Nardmann, Heiko @ 2005-04-15 9:59 UTC (permalink / raw)
To: qemu-devel; +Cc: Martin Bochnig
-----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.
On Donnerstag 14 April 2005 20:34, Martin Bochnig wrote:
> Hi,
>
> Nardmann, Heiko wrote:
> >- - gcc 3.2 (package SMCgcc)
> >
> > Or use a different gcc version?
>
> maybe you should give gcc 3.4.x a try.
>
> >- - 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
>
> ok
>
> >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.)
- --
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-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Q: SPARC support?
2005-04-15 9:59 ` Nardmann, Heiko
@ 2005-04-15 10:05 ` Martin Bochnig
2005-04-19 7:47 ` Nardmann, Heiko
0 siblings, 1 reply; 7+ messages in thread
From: Martin Bochnig @ 2005-04-15 10:05 UTC (permalink / raw)
To: qemu-devel
Hi,
Nardmann, Heiko wrote:
>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
> cvs or do / did you use http://www.qemu.com/qemu-0.6.1.tar.gz ?
Thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Q: SPARC support?
2005-04-15 10:05 ` Martin Bochnig
@ 2005-04-19 7:47 ` Nardmann, Heiko
0 siblings, 0 replies; 7+ messages in thread
From: Nardmann, Heiko @ 2005-04-19 7:47 UTC (permalink / raw)
To: qemu-devel; +Cc: Martin Bochnig
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It was official 0.6.1 - not CVS.
On Freitag 15 April 2005 12:05, Martin Bochnig wrote:
> Hi,
>
> Nardmann, Heiko wrote:
> >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
>
> > 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-----
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-04-19 6:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 17:45 [Qemu-devel] Q: SPARC support? Nardmann, Heiko
2005-04-13 18:05 ` Hetz Ben Hamo
2005-04-14 8:12 ` Nardmann, Heiko
2005-04-14 18:34 ` Martin Bochnig
2005-04-15 9:59 ` Nardmann, Heiko
2005-04-15 10:05 ` Martin Bochnig
2005-04-19 7:47 ` Nardmann, Heiko
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).