From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0qGv-0005F8-HK for qemu-devel@nongnu.org; Fri, 27 Aug 2004 19:36:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0qGs-0005EF-Vc for qemu-devel@nongnu.org; Fri, 27 Aug 2004 19:36:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0qGs-0005EC-T1 for qemu-devel@nongnu.org; Fri, 27 Aug 2004 19:36:38 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C0qBo-0005lZ-Bp for qemu-devel@nongnu.org; Fri, 27 Aug 2004 19:31:24 -0400 Message-ID: <412FC3CB.3010304@gmx.com> Date: Sat, 28 Aug 2004 01:29:15 +0200 From: "Bochnig, Martin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] sparc? References: <412DC42E.4070804@gmx.com> In-Reply-To: <412DC42E.4070804@gmx.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: bochnig@pool.math.tu-berlin.de, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: bochnig , "Bochnig, Martin" >>> 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. >> Thanks a lot for completely ignoring me. Nice. mb > Hi, > > vl.c is fixed. > The build process comes up to op.* now. > That means that the build is almost complete. > > I'm just installing Debian 3.0 r2 onto another SPARC SS20!=sparcv9 == > old SPARC32. > Let's see whether we can compile it there. > Has 1 HyperSPARC cpu. > Not SuperSPARC. > Hope, that's not a problem. > > Best regards, > Martin > > > Bochnig, Martin wrote: >> 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. >> >> : >> 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: >> 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" >> Reply-To: bochnig >> 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 . >> >> # THANX >> >> >> >> > >