qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] sparc?
@ 2004-08-26 11:06 Bochnig, Martin
  2004-08-26 22:11 ` Bochnig, Martin
  2004-08-27 23:29 ` Bochnig, Martin
  0 siblings, 2 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-26 11:06 UTC (permalink / raw)
  To: fabrice.bellard, qemu-devel

Second try after having received the following  mail delivery failure 
notice:

Hi. This is the qmail-send program at mail.gmx.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<fabrice.bellard@free.fr>:
212.27.42.21_does_not_like_recipient./Remote_host_said:_550_user_quota_exceeded/Giving_up_on_212.27.42.21./

--- Below this line is a copy of the message.

Return-Path: <mb1x@gmx.com>
Received: (qmail 19632 invoked by uid 65534); 26 Aug 2004 10:48:14 -0000
Received: from pD9E74D91.dip0.t-ipconnect.de (EHLO gmx.com) (217.231.77.145)
   by mail.gmx.net (mp018) with SMTP; 26 Aug 2004 12:48:14 +0200
X-Authenticated: #17573310
Message-ID: <412DBF6A.90207@gmx.com>
Date: Thu, 26 Aug 2004 12:46:02 +0200
From: "Bochnig, Martin" <mb1x@gmx.com>
Reply-To: bochnig <bochnig@pool.math.tu-berlin.de>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2.1) 
Gecko/20030711
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  fabrice.bellard@free.fr,  qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] sparc?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

 > Re: [Qemu-devel] sparc?



***ORIGINAL MESSAGE***

> Re: [Qemu-devel] sparc?
> From: Fabrice Bellard
> Subject: Re: [Qemu-devel] sparc?
> Date: Fri, 02 Jan 2004 19:16:52 +0100
> User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
> 
> Hi,
> 
> 
> QEMU only works on sparc-linux. However, if someone gives me an access to a sparc/solaris workstation, I can try to make the system emulator work.
> 
> Fabrice.


Hello Fabrice,
hi all,

Based on Erics patch at http://digitaleric.net/solaris.patch ,
   I got QEMU 0.6.0 from
http://fabrice.bellard.free.fr/qemu/qemu-0.6.0.tar.gz compiling and
perfectly up and running on a Solaris_x86 10_60 host.
Due to the version mismatch (patch vs QEMU 0.6.0) I had to apply it
manually and vl.c required some tweaking.
The slirp subdirectory caused lots of compiletime errors.
I needed to configure with "./configure --disable-slirp".
If anyone is interested in the Solaris_x86 - ready tree, feel free to
send me a mail requesting it. (for now)
I plan to release a binary package in Solaris/SVR4-pkgadd package format
on my personal university homepage soon, but I will have to check
licensing issues first.

Since most of our machines are UltraSPARC based (only 1 PC), I was
hoping I could compile that modified tree under Solaris9 SPARC.
I edited [QEMU_ROOT]/configure (adjusted it to 'uname -p'for cpu
detection) and the build process started real work, but failed on vl.c
with "unsupported cpu" (see the end of this mail).
I couldn't even find the strings 'SPARC' or 'sparc' in vl.c - while x86,
ppc and so have a lot of specific code inside of it.
I rebooted in 32 bit mode but that didn't help.
I'm not (yet?) skilled enough to do such a port.
I wonder how QEMU is able to compile under Linux/SPARC32  based hosts
w/o having SPARC related code inside of vl.c or did you use another
source tree?

  > QEMU only works on sparc-linux. However, if someone gives me an
access to a sparc/solaris workstation, I can try to make the system
emulator work.
  >
If your offer is still valid (which would just be g*r*e*a*t), I'll come
back to you on that, please send me your shipping address!
While I don't have a real economical need to run QEMU on Solaris_SPARC
[I use SunPCi and now QEMU@Solaris10_x86 over the network :)) ]  I would
love to see it running.
I will send you both an Ultra and an older 32bit SPARCstation as well as
an appropriate  Solaris admin media kit.
The license is free for noncommercial use.


Thank you all for QEMU,
best regards,

Martin Bochnig

SCSecA
SCNA
SCSA

Student of Maths at Technical University of Berlin, E.U.rope

Below the output I get:

# ./configure --disable-slirp
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0
C compiler        gcc
make              gmake
host CPU          sparc
host big endian   yes
target list       i386-softmmu
gprof enabled     yes
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
# gmake
gcc -Wall -O2 -g -D_GNU_SOURCE -o dyngen dyngen.c
gcc -Wall -O2 -g -g -D_GNU_SOURCE -o qemu-mkcow qemu-mkcow.c
gcc -Wall -O2 -g -g -D_GNU_SOURCE -o vmdk2raw vmdk2raw.c
for d in i386-softmmu; do \
gmake -C $d all || exit 1 ; \
          done
gmake[1]: Entering directory
`/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/i386-softmmu'
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2
-ffixed-g3 -ffixed-g6 -I.
-I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/target-i386
-I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0 -D_GNU_SOURCE
-c -o vl.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:502:2:
#error unsupported CPU
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: In
function `cpu_get_ticks':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:513:
warning: implicit declaration of function `cpu_get_real_ticks'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: In
function `init_timers':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:969:
warning: label `use_itimer' defined but not used
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: At top level:
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:869:
warning: `start_rtc_timer' defined but not used
gmake[1]: *** [vl.o] Error 1
gmake[1]: Leaving directory
`/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/i386-softmmu'
gmake: *** [all] Error 1
#
#
# uname -a
SunOS mb1x-s0 5.9 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine
# isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
# gmake -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.9
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
          Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

# THANX

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
@ 2004-08-26 10:46 Bochnig, Martin
  0 siblings, 0 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-26 10:46 UTC (permalink / raw)
  To: fabrice.bellard, qemu-devel

> Re: [Qemu-devel] sparc?
> From: Fabrice Bellard
> Subject: Re: [Qemu-devel] sparc?
> Date: Fri, 02 Jan 2004 19:16:52 +0100
> User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
> 
> Hi,
> 
> 
> QEMU only works on sparc-linux. However, if someone gives me an access to a sparc/solaris workstation, I can try to make the system emulator work.
> 
> Fabrice.


Hello Fabrice,
hi all,

Based on Erics patch at http://digitaleric.net/solaris.patch ,
  I got QEMU 0.6.0 from 
http://fabrice.bellard.free.fr/qemu/qemu-0.6.0.tar.gz compiling and 
perfectly up and running on a Solaris_x86 10_60 host.
Due to the version mismatch (patch vs QEMU 0.6.0) I had to apply it 
manually and vl.c required some tweaking.
The slirp subdirectory caused lots of compiletime errors.
I needed to configure with "./configure --disable-slirp".
If anyone is interested in the Solaris_x86 - ready tree, feel free to 
send me a mail requesting it. (for now)
I plan to release a binary package in Solaris/SVR4-pkgadd package format 
on my personal university homepage soon, but I will have to check 
licensing issues first.

Since most of our machines are UltraSPARC based (only 1 PC), I was 
hoping I could compile that modified tree under Solaris9 SPARC.
I edited [QEMU_ROOT]/configure (adjusted it to 'uname -p'for cpu 
detection) and the build process started real work, but failed on vl.c 
with "unsupported cpu" (see the end of this mail).
I couldn't even find the strings 'SPARC' or 'sparc' in vl.c - while x86, 
ppc and so have a lot of specific code inside of it.
I rebooted in 32 bit mode but that didn't help.
I'm not (yet?) skilled enough to do such a port.
I wonder how QEMU is able to compile under Linux/SPARC32  based hosts 
w/o having SPARC related code inside of vl.c or did you use another 
source tree?

 > QEMU only works on sparc-linux. However, if someone gives me an 
access to a sparc/solaris workstation, I can try to make the system 
emulator work.
 >
If your offer is still valid (which would just be g*r*e*a*t), I'll come 
back to you on that, please send me your shipping address!
While I don't have a real economical need to run QEMU on Solaris_SPARC 
[I use SunPCi and now QEMU@Solaris10_x86 over the network :)) ]  I would 
love to see it running.
I will send you both an Ultra and an older 32bit SPARCstation as well as 
an appropriate  Solaris admin media kit.
The license is free for noncommercial use.


Thank you all for QEMU,
best regards,

Martin Bochnig

SCSecA
SCNA
SCSA

Student of Maths at Technical University of Berlin, E.U.rope

Below the output I get:

# ./configure --disable-slirp
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0
C compiler        gcc
make              gmake
host CPU          sparc
host big endian   yes
target list       i386-softmmu
gprof enabled     yes
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
# gmake
gcc -Wall -O2 -g -D_GNU_SOURCE -o dyngen dyngen.c
gcc -Wall -O2 -g -g -D_GNU_SOURCE -o qemu-mkcow qemu-mkcow.c
gcc -Wall -O2 -g -g -D_GNU_SOURCE -o vmdk2raw vmdk2raw.c
for d in i386-softmmu; do \
gmake -C $d all || exit 1 ; \
         done
gmake[1]: Entering directory 
`/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/i386-softmmu'
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 
-ffixed-g3 -ffixed-g6 -I. 
-I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/target-i386 
-I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0 -D_GNU_SOURCE 
-c -o vl.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:502:2: 
#error unsupported CPU
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: In 
function `cpu_get_ticks':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:513: 
warning: implicit declaration of function `cpu_get_real_ticks'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: In 
function `init_timers':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:969: 
warning: label `use_itimer' defined but not used
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: At top level:
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c:869: 
warning: `start_rtc_timer' defined but not used
gmake[1]: *** [vl.o] Error 1
gmake[1]: Leaving directory 
`/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/i386-softmmu'
gmake: *** [all] Error 1
#
#
# uname -a
SunOS mb1x-s0 5.9 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine
# isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
# gmake -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.9
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
         Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

# THANX

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [Qemu-devel] sparc?
@ 2004-01-02 16:57 Yelich, Scott D.
  2004-01-02 18:16 ` Fabrice Bellard
  0 siblings, 1 reply; 19+ messages in thread
From: Yelich, Scott D. @ 2004-01-02 16:57 UTC (permalink / raw)
  To: qemu-devel



hello everyone...

I was going to see what the status of qemu was/is for sparc.

When you get the software try to "configure" ... you get some bad substitutions
errors (the configure path with he % in front, and then the source_path%/, after
that, it's "uname -p" instead of "uname -m" :-< ) ... even after that, compiling
fails on the first target (dropping the -n in the config-host.h file seems to get past
that, but then the compile just blows up. 

:-<

Does anyone have a binary of this for solaris/sparc/2.8?

I'm willing to test/make/configure/etc.

Scott


**********************************************************************
This communication is confidential and is intended only for the person to whom it is addressed.  If you are not that person you are not permitted to make use of the information and you are requested to notify Commerzbank Aktiengesellschaft, New York Branch immediately that you have received it and then to destroy the copy in your possession.  Views expressed in this e-mail do not necessarily reflect the views of Commerzbank AG.
**********************************************************************

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

end of thread, other threads:[~2004-09-01 11:34 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 11:06 [Qemu-devel] sparc? Bochnig, Martin
2004-08-26 22:11 ` Bochnig, Martin
2004-08-27 23:29 ` Bochnig, Martin
2004-08-27 23:34   ` Lennert Buytenhek
2004-08-27 23:58     ` Bochnig, Martin
2004-08-28  0:05       ` Lennert Buytenhek
2004-08-28  0:14         ` Bochnig, Martin
     [not found]   ` <413083B1.2040102@bellard.org>
2004-08-28 16:55     ` Bochnig, Martin
2004-08-29 14:26       ` Bochnig, Martin
2004-08-29 14:37         ` Johannes Schindelin
2004-08-29 14:53           ` Bochnig, Martin
2004-08-29 15:12           ` Bochnig, Martin
2004-08-31 22:22         ` Richard Zidlicky
  -- strict thread matches above, loose matches on Subject: below --
2004-08-26 10:46 Bochnig, Martin
2004-01-02 16:57 Yelich, Scott D.
2004-01-02 18:16 ` Fabrice Bellard
2004-01-02 20:48   ` NunO fELICIO
2004-01-02 21:49   ` Raymond W. Lucke IV
2004-01-02 23:01     ` Satadru Pramanik

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).