sparc?
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.
<[email protected]>:
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: <[email protected]>
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: <[email protected]>
Date: Thu, 26 Aug 2004 12:46:02 +0200
From: "Bochnig, Martin" <[email protected]>
Reply-To: bochnig <[email protected]>
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: [email protected], [email protected]
Subject: Re: [Qemu-devel] sparc?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Quoted 1 line
Re: [Qemu-devel] sparc?
***ORIGINAL MESSAGE***
Quoted 6 lines
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
Quoted 6 lines
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?
Quoted 1 line
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.
Quoted 1 line
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 <[email protected]>.
# THANX
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
Quoted 184 lines · Martin
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.<[email protected]>:
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: <[email protected]>
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: <[email protected]>
Date: Thu, 26 Aug 2004 12:46:02 +0200
From: "Bochnig, Martin" <[email protected]>
Reply-To: bochnig <[email protected]>
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: [email protected], [email protected]
Subject: Re: [Qemu-devel] sparc?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bitQuoted 1 line
Re: [Qemu-devel] sparc?
***ORIGINAL MESSAGE***
Quoted 6 lines
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/20030703Quoted 6 lines
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 aSolaris_x8610_60 host.
Due to the version mismatch (patch vs QEMU 0.6.0) I had to apply it manually andvl.crequired some tweaking.
The slirp subdirectory caused lots of compiletime errors.
I needed to configure with "./configure --disable-slirp".
If anyone is interested in theSolaris_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.cwith "unsupported cpu" (see the end of this mail).
I couldn't even find the strings 'SPARC' or 'sparc' invl.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 ofvl.cor did you use another source tree?Quoted 1 line
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.
Quoted 1 line
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
SCSAStudent 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(quoted diff) +0
-4-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 functioncpu_get_real_ticks' /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: In functioninit_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 <[email protected]>.
# THANX
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
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
Quoted 203 lines
Hi,
vl.cis 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,
MartinQuoted 184 lines · Martin
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.<[email protected]>:
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: <[email protected]>
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: <[email protected]>
Date: Thu, 26 Aug 2004 12:46:02 +0200
From: "Bochnig, Martin" <[email protected]>
Reply-To: bochnig <[email protected]>
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: [email protected], [email protected]
Subject: Re: [Qemu-devel] sparc?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bitQuoted 1 line
Re: [Qemu-devel] sparc?
***ORIGINAL MESSAGE***
Quoted 6 lines
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/20030703Quoted 6 lines
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 aSolaris_x8610_60 host.
Due to the version mismatch (patch vs QEMU 0.6.0) I had to apply it manually andvl.crequired some tweaking.
The slirp subdirectory caused lots of compiletime errors.
I needed to configure with "./configure --disable-slirp".
If anyone is interested in theSolaris_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.cwith "unsupported cpu" (see the end of this mail).
I couldn't even find the strings 'SPARC' or 'sparc' invl.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 ofvl.cor did you use another source tree?Quoted 1 line
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.
Quoted 1 line
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
SCSAStudent 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(quoted diff) +0
-4-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 functioncpu_get_real_ticks' /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-0.6.0/vl.c: In functioninit_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 <[email protected]>.
# THANX
Quoted 11 lines · Martin
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
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.
Fabrice tends to disappear every now and then. Sometimes it's impossible to get in touch with him at all. Probably he's involved in many things at the same time.
--L
Quoted 9 lines
Fabrice tends to disappear every now and then. Sometimes it's impossible to get in touch with him at all. Probably he's involved in many things at the same time.
--L
Hello,
you're right - I may be impatient.
BTW he did post to the group only one hour ago.
Maybe he wants to respond later.
Installing Debian failed due to hw support.
As well as Mandrake - installation via serial console didn't work. I had more luck with Suse's final SPARC LinUX 7.3.
Unfortunately the build environment is quite outdated and let's see if I can find prebuilt gcc, binutils and co. or whether it needs to be built by myself.
The QEMU 0.6.0 build process stops very early and keeps me hopeless.
Regards,
Martin Bochnig
(Default install) SPARC32 SuSe 7.3 QEMU compiling state under SS20/sun4m with 1 HyperSPARC 180MHz cpu:
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs # ./configure --target-list=i386-softmmu --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 /QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs C compiler gcc make make host CPU sparc host big endian yes target list i386-softmmu gprof enabled no static build no SDL support no SDL static link no mingw32 support no
WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical output ./configure: sdl-config: command not found linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs # make
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.cvmdk2raw.c: In function `copy_virtual':
vmdk2raw.c:135: parse error before `const'
vmdk2raw.c:136: `nil' undeclared (first use in this function) vmdk2raw.c:136: (Each undeclared identifier is reported only once vmdk2raw.c:136: for each function it appears in.)vmdk2raw.c: In function `open_vmdk':
vmdk2raw.c:194: parse error before `char'
vmdk2raw.c:195: `magic' undeclared (first use in this function)
make: *** [vmdk2raw] Error 1 linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs # uname -a
Linux linux 2.2.20 #1 Mon Nov 12 11:03:05 GMT 2001 sparc unknown linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs # linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs # gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE) linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs # gmake -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-unknown-linux-gnu
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 <[email protected]>.
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs #
Quoted 1 line · Martin
Hello,
Hi,
Quoted 3 lines
you're right - I may be impatient.
BTW he did post to the group only one hour ago.
Maybe he wants to respond later.
Well.. sometimes he doesn't respond at all. I'm not sure whether it's a matter of patience or not, but in either case, it is somewhat frustrating.
Quoted 9 lines
vmdk2raw.c: In function `copy_virtual':
vmdk2raw.c:135: parse error beforeconst' vmdk2raw.c:136:nil' undeclared (first use in this function) vmdk2raw.c:136: (Each undeclared identifier is reported only once vmdk2raw.c:136: for each function it appears in.)vmdk2raw.c: In function `open_vmdk':
vmdk2raw.c:194: parse error beforechar' vmdk2raw.c:195:magic' undeclared (first use in this function)
make: *** [vmdk2raw] Error 1
Try this. I needed the same patch for compiling on Red Hat 7.3.
vmdk2raw.c 2004-08-28 02:03:50.924934899 +0200 renamed from vmdk2raw.c 2004-07-10 20:20:09.000000000 +0200 +2 -2
@@ -129,10 +129,10 @@ /* the last chunk of the file can not be sparse * or the file will be truncated */ if (offset + length >= disk_limit) { + const char nil = 0; if (lseek64(out_fd, length-1, SEEK_CUR) == (off_t)-1) perror("lseek"); /* write the last NULL byte instead of seeking */ - const char nil = 0; write(out_fd, &nil, 1); } else { if (lseek64(out_fd, length, SEEK_CUR) == (off_t)-1)
@@ -185,13 +185,13 @@ static int open_vmdk(const char *filename) { + char magic[4]; int fd = open(filename, O_RDONLY | O_LARGEFILE); if (fd == -1) { perror(filename); return -1; } - char magic[4]; if (read(fd, &magic, sizeof(magic)) != sizeof(magic)) { perror("read from disk"); return -1;
--L
I'm going to apply that patch.
'have several other ideas to check out that night. First of all I'll try to update the GNU tools. Then I'll try QEMU 0.5.x and maybe older CVS versions
Thank you in any case.
Quoted 8 lines · Fabrice Bellard
Hi,
Sorry but if I answered every mail I received I would have no time to do anything else, including improving QEMU (remember I am not paid for that). Currently I no longer have a fast Internet connection, so it is even more difficult for me to answer.
Fortunately I am not the only one who can help you on this mailing list, so be patient !
Fabrice.
Hi,
you're absolutely right: I'm sorry for that.
However - thank you for this short confirmation.
Now I do not feel all that alone with my / the SPARC user's QEMU problems and I will try to be more patient in the future.
Some good news:
Using Richard Zidlicky's patch at http://lists.gnu.org/archive/html/qemu-devel/2004-03/msg00078.html slightly modified for SPARC, I got QEMU 0.6.0 copiling under SPARC SuSe 7.3 LinUX! I got a linked 'qemu' executable for SPARC.
Nevertheless, at least the just mentioned lines of vl.c need to be further adjusted for SPARC32 - I'm surfing through header files and the web for SPARC specific opcodes and other relevant info. But I'm a *newbie* in that field.
Under Solaris9 32bit mode:
I looks pretty promising: The build process nearly completes now!!! Just 3 "Sybol not found" errors when linking 'qemu'.
Regards and thank you for QEMU
(I tried to "uuuuuuuuuuuuusssssssssssssseeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" BOCHS for three years :(
- QEMU meets my bravest dreams!
Martin
Please see below:
*******************************************
SPARC32 SuSe LinUX 7.3 almost success (qemu 0.6.0 did compile but has errors in vl.c):
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/UNTOUCHED/qemu-0.6.0/linux-test # gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/UNTOUCHED/qemu-0.6.0/linux-test #
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/UNTOUCHED/qemu-0.6.0/linux-test #
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/UNTOUCHED/qemu-0.6.0/linux-test #
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/UNTOUCHED/qemu-0.6.0/linux-test # qemu -dummy-net -nographic -hda linux.img -kernel bzImage-2.4.21 -append "console=ttyS0 root=/dev/hda sb=0x220,5,1,5 ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobe" Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
Linux version 2.4.21 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #5 Tue Nov 11 18:18:53 CET 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
128MB LOWMEM available.
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/hda sb=0x220,5,1,5 ide2=noprobe ide3=noprobe ide4=noprobe ide5=noprobeide_setup: ide2=noprobeide_setup: ide3=noprobeide_setup: ide4=noprobeide_setup: ide5=noprobe
Initializing CPU#0
Detected 5.005 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 9.54 BogoMIPS
Memory: 126116k/131072k available (1210k kernel code, 4568k reserved, 266k data, 64k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 8K<6>CPU: L2 cache: 128K
CPU: Intel Pentium Pro stepping 03
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
90274068
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<90274068>] Not tainted
EFLAGS: 00000246
eax: 0000000d ebx: 90261440 ecx: 00000001 edx: 00000001
esi: 9026146d edi: 90235eb8 ebp: 0008e000 esp: 90273fb8
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, stackpage=90273000)
Stack: 00000018 ffffffff 90274068 00000010 00000246 90236127 00000003 00000000
00099800 90105000 90274206 90261440 9027472d 00008000 90285940
00000000
90285840 90100191
Call Trace: [<90105000>]
Code: db e3 dd 05 c0 25 28 90 dc 35 c8 25 28 90 dc 0d c8 25 28 90
<0>Kernel panic: Attempted to kill the idle task!In idle task - not syncing
******************************************************************************
Solaris 9 running in 32bit mode almost compiles:
# ./configure --disable-slirp --target-list=i386-softmmu;gmake
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-cvs
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
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o vl.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/vl.c
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/vl.c: In function `init_timers':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/vl.c:962: warning: label `use_itimer' defined but not used
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/vl.c: At top level:
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/vl.c:890: warning: `start_rtc_timer' defined but not used
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o osdep.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/osdep.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o block.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/block.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o monitor.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c: In function `next':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:923: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c: In function `expr_unary':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:970: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:987: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c: In function `get_expr':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1078: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c: In function `get_str':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1092: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1137: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c: In function `term_handle_command':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1172: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1177: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1212: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1246: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1252: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1254: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1293: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1325: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1337: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1370: warning: subscript has type `char'
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/monitor.c:1395: warning: subscript has type `char'
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o pci.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/pci.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o ide.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/ide.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o ne2000.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/ne2000.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o pckbd.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/pckbd.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o vga.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/vga.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o sb16.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/sb16.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o dma.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/dma.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o oss.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/oss.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o fdc.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/fdc.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o mc146818rtc.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/mc146818rtc.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o serial.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/serial.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o i8259.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/i8259.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o i8254.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/i8254.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o pc.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/pc.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o cirrus_vga.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/hw/cirrus_vga.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o gdbstub.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/gdbstub.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -I/usr/local/include/SDL -D_REENTRANT -c -o sdl.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/sdl.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o exec.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/exec.c
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -fno-delayed-branch -ffixed-i0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o op.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386/op.c
../dyngen -o op.h op.o
../dyngen -c -o opc.h op.o
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o translate-all.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/translate-all.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o cpu-exec.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/cpu-exec.c
../dyngen -g -o gen-op.h op.o
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o translate.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386/translate.c
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -ffixed-i0 -mflat -I. -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o helper.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386/helper.c
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386/helper.c: In function `helper_ret_protected':
/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386/helper.c:1568: warning: `new_eflags' might be used uninitialized in this function
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o helper2.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/target-i386/helper2.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o disas.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/disas.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o i386-dis.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/i386-dis.c
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-cvs/target-i386 -I/tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs -D_GNU_SOURCE -c -o sparc-dis.o /tmp/QEMU_SOLARIS_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs/sparc-dis.c
rm -f libqemu.a
gar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o helper.o helper2.o disas.o i386-dis.o sparc-dis.o
gcc -o qemu vl.o osdep.o block.o monitor.o pci.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o gdbstub.o sdl.o libqemu.a -lm -lsocket -lnsl -lresolv -L/usr/local/lib -R/usr/local/lib -lSDL -lpthread -lposix4
Undefined first referenced
symbol in file
lrint libqemu.a(translate-all.o)
llrint libqemu.a(translate-all.o)
fesetround libqemu.a(translate-all.o)
ld: fatal: Symbol referencing errors. No output written to qemu
collect2: ld returned 1 exit status
gmake[1]: *** [qemu] 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
#Quoted 7 lines · Martin
But I'm a *newbie* in that field.
Under Solaris9 32bit mode:
I looks pretty promising: The build process nearly completes now!!! Just 3 "Sybol not found" errors when linking 'qemu'.
Hi,
QEMU 0.5.5 does completely build on my SPARCengine Ultra AXi running Solaris 10 Beta build 60 (64 bit kernel only).
Current situation:
Good news first: The recent linking errors (unreferenced symbols lrint, llrint and fesetround not found) were caused by the lack of these symbols in Solaris9's libc. Fortunately Sun managed to integrate these GLIBC functions into Sun's Solaris10 Beta libc ("via Solaris Express" freely downloadable by anyone at sun.com ). GLIBC is *not* available on any Solaris. Nobody did the port.
The QEMU user interface is fully functional (QEMU monitor; QEMU SDL gui). 'qemu' w/o options gives usage information - as well as '?' in QEMU Monitor.
Now the bad rest - unfortunately the main thing, the cpu, does *not* work:
When the build completes I get the following warning:
gmake[1]: warning: Clock skew detected. Your build may be incomplete.
And indeed - while the SDL QEMU window pops up, the screen remains black. Nothing happens. Not even the VGA Bios screen is displayed. Eventually the whole qemu process either segfaults or hangs.
'-nographic' does the same.
I need help.
*Please* HELP!
Please have a look at the following compiling output:
gmake[1]: Entering directory `/tmp_qemu0.5.5_COPLETE_BUILD/i386-softmmu'
gmake[1]: Warning: File `../config-host.mak' has modification time 33 s in the future
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -I. -I/tmp_qemu0.5.5_COPLETE_BUILD/target-i386 -I/tmp_qemu0.5.5_COPLETE_BUILD -D_GNU_SOURCE -c -o vl.o /tmp_qemu0.5.5_COPLETE_BUILD/vl.c /tmp_qemu0.5.5_COPLETE_BUILD/vl.c: In function `serial_open_device':
/tmp_qemu0.5.5_COPLETE_BUILD/vl.c:953: warning: unused variable `slave_name'
/tmp_qemu0.5.5_COPLETE_BUILD/vl.c:954: warning: unused variable `master_fd'
/tmp_qemu0.5.5_COPLETE_BUILD/vl.c:954: warning: unused variable `slave_fd'
/tmp_qemu0.5.5_COPLETE_BUILD/vl.c: At top level:
/tmp_qemu0.5.5_COPLETE_BUILD/vl.c:846: warning: `start_rtc_timer' defined but not used
gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -I. -I/tmp_qemu0.5.5_COPLETE_BUILD/target-i386 -I/tmp_qemu0.5.5_COPLETE_BUILD -D_GNU_SOURCE -c -o osdep.o /tmp_qemu0.5.5_COPLETE_BUILD/osdep.c gcc -Wall -O2 -g -fno-strict-aliasing -m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 -I. -I/tmp_qemu0.5.5_COPLETE_BUILD/target-i386 -I/tmp_qemu0.5.5_COPLETE_BUILD -D_GNU_SOURCE -c -o block.o /tmp_qemu0.5.5_COPLETE_BUILD/block.c
I think, especially the fact, that `start_rtc_timer' is not used is the (or at least one essential) root of all the problems.
Please help me in implementing the SPARC host code for 'vl.c'.
For every existing cpu, everything looks completely different and I cannot see how to reproduce parts of it for sparc.
All I was/am able to handle was just a copy&paste of Richard Zidlicky's patch at http://lists.gnu.org/archive/html/qemu-devel/2004-03/msg00078.html and changing its name to sparc. I browsed some header files having 'time' in their name, but I cannot realize how to get that for a SPARC host working.
*Many* thanks in advance
Martin
Hi,
Quoted 3 lines · Martin
Quoted 1 line · Martin
But I'm a *newbie* in that field.
That's okay, we all started that way.
Quoted 3 lines
Now the bad rest - unfortunately the main thing, the cpu, does *not* work:
When the build completes I get the following warning:
gmake[1]: warning: Clock skew detected. Your build may be incomplete.
This means that the file change times are not as they are supposed to be. Are you working on the same files from two different machines? Something like NFS mounted root, and trying to compile from one machine continuing on the other?
Quoted 4 lines
Please have a look at the following compiling output:
gmake[1]: Entering directory/tmp_qemu0.5.5_COPLETE_BUILD/i386-softmmu' gmake[1]: Warning: File../config-host.mak' has modification time 33 s in the future
This means that at least the configure script's output has an incorrect time set.
How about a "make distclean && ./configure && make"?
I once had a black screen: I was redirecting the X DISPLAY to an IRIX machine. Only with my VNC patch I was able to see that the SDL output was somehow wrong, but VNC showed what I expected.
Ciao,
Dscho
Quoted 7 lines · Johannes Schindelin
Quoted 1 line
gmake[1]: warning: Clock skew detected. Your build may be incomplete.
This means that the file change times are not as they are supposed to be. Are you working on the same files from two different machines? Something like NFS mounted root, and trying to compile from one machine continuing on the other?
Yes, from 5 different hosts.
But I use to do a "gmake distclean" every time.
I change the "share -F nfs -o rw,root=192.168.0.[n] [DirToExport]" too.
Don't know.
Quoted 4 lines
This means that at least the configure script's output has an incorrect time set.
Interesting - I currently don't run NTP and every machine's local date differs from each other.
Quoted 6 lines
How about a "make distclean && ./configure && make"?
I once had a black screen: I was redirecting the X DISPLAY to an IRIX machine. Only with my VNC patch I was able to see that the SDL output was somehow wrong, but VNC showed what I expected.
Yes, that's another problem.
I got QEMU 0.6.0 perfectly up and running on my AMD32 Solaris10_60 host.
Everything works, but forwarding to non-XF86 X-Servers or just to slightly older XF86 servers makes all my keyboards unusable (mapping extremely chaotic == UNusable). When using the very ltest VNC4.x it works just fine.
I had many hours of trouble due to the lack of appropriate information.
Booting Solaris_x86 guests under Solaris_x86__10_60 HOST still results in a very similar error - even when using VNC 4.x as Mini-XF86 server.
Best regards,
Martin
Quoted 12 lines
Ciao,
Dscho_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 13 lines · Johannes Schindelin
That's okay, we all started that way.
This means that the file change times are not as they are supposed to be. Are you working on the same files from two different machines? Something like NFS mounted root, and trying to compile from one machine continuing on the other?
This means that at least the configure script's output has an incorrect time set.
Quoted 8 lines
How about a "make distclean && ./configure && make"?
I once had a black screen: I was redirecting the X DISPLAY to an IRIX machine. Only with my VNC patch I was able to see that the SDL output was somehow wrong, but VNC showed what I expected.
Ciao,
Dscho
Thanks for the info,
Ciao
Quoted 4 lines · Martin
All I was/am able to handle was just a copy&paste of Richard Zidlicky's patch at
http://lists.gnu.org/archive/html/qemu-devel/2004-03/msg00078.html and changing its name to sparc.
the thing didn't work very well for me either, it got a bit further than a black screen though :)
The best way to debug is run "qemu -d exec" and compare with a run with exact same options on a working host. Once you get a bit further you need to make sure that rtdsc is same on both hosts.
Richard