* [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
* Re: [Qemu-devel] sparc?
2004-01-02 16:57 [Qemu-devel] sparc? 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
0 siblings, 2 replies; 19+ messages in thread
From: Fabrice Bellard @ 2004-01-02 18:16 UTC (permalink / raw)
To: qemu-devel
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.
Yelich, Scott D. wrote:
>
> 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.
> **********************************************************************
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-01-02 18:16 ` Fabrice Bellard
@ 2004-01-02 20:48 ` NunO fELICIO
2004-01-02 21:49 ` Raymond W. Lucke IV
1 sibling, 0 replies; 19+ messages in thread
From: NunO fELICIO @ 2004-01-02 20:48 UTC (permalink / raw)
To: qemu-devel
try testdrive.compaq.com ;) , they have many types of systems, and free
shells
nuno
----- Original Message -----
From: "Fabrice Bellard" <fabrice.bellard@free.fr>
To: <qemu-devel@nongnu.org>
Sent: Friday, January 02, 2004 6:16 PM
Subject: Re: [Qemu-devel] sparc?
> 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.
>
> Yelich, Scott D. wrote:
> >
> > 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.
> > **********************************************************************
> >
> >
> >
> > _______________________________________________
> > Qemu-devel mailing list
> > Qemu-devel@nongnu.org
> > http://mail.nongnu.org/mailman/listinfo/qemu-devel
> >
> >
>
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
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
1 sibling, 1 reply; 19+ messages in thread
From: Raymond W. Lucke IV @ 2004-01-02 21:49 UTC (permalink / raw)
To: qemu-devel
Maybe we can arrange to hook you up with a Darwin based machine, if you
would like to try to make it work on that platform. ;-)
On Jan 2, 2004, at 10:16 AM, Fabrice Bellard wrote:
> 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.
>
> Yelich, Scott D. wrote:
>> 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.
>> **********************************************************************
>> _______________________________________________
>> Qemu-devel mailing list
>> Qemu-devel@nongnu.org
>> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-01-02 21:49 ` Raymond W. Lucke IV
@ 2004-01-02 23:01 ` Satadru Pramanik
0 siblings, 0 replies; 19+ messages in thread
From: Satadru Pramanik @ 2004-01-02 23:01 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 442 bytes --]
Hear Hear!
On Jan 2, 2004, at 4:49 PM, Raymond W. Lucke IV wrote:
> Maybe we can arrange to hook you up with a Darwin based machine, if
> you would like to try to make it work on that platform. ;-)
>
> On Jan 2, 2004, at 10:16 AM, Fabrice Bellard wrote:
>
>> 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.
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2363 bytes --]
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]
^ 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
* 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 11:06 Bochnig, Martin
@ 2004-08-26 22:11 ` Bochnig, Martin
2004-08-27 23:29 ` Bochnig, Martin
1 sibling, 0 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-26 22:11 UTC (permalink / raw)
To: qemu-devel; +Cc: bochnig, Bochnig, Martin
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.
>
> <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 11:06 Bochnig, Martin
2004-08-26 22:11 ` Bochnig, Martin
@ 2004-08-27 23:29 ` Bochnig, Martin
2004-08-27 23:34 ` Lennert Buytenhek
[not found] ` <413083B1.2040102@bellard.org>
1 sibling, 2 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-27 23:29 UTC (permalink / raw)
To: qemu-devel; +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.
>>
>> <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-27 23:29 ` Bochnig, Martin
@ 2004-08-27 23:34 ` Lennert Buytenhek
2004-08-27 23:58 ` Bochnig, Martin
[not found] ` <413083B1.2040102@bellard.org>
1 sibling, 1 reply; 19+ messages in thread
From: Lennert Buytenhek @ 2004-08-27 23:34 UTC (permalink / raw)
To: bochnig, qemu-devel; +Cc: Bochnig, Martin
On Sat, Aug 28, 2004 at 01:29:15AM +0200, Bochnig, Martin wrote:
> >>> 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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-27 23:34 ` Lennert Buytenhek
@ 2004-08-27 23:58 ` Bochnig, Martin
2004-08-28 0:05 ` Lennert Buytenhek
0 siblings, 1 reply; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-27 23:58 UTC (permalink / raw)
To: qemu-devel
> 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.c
vmdk2raw.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 <bug-make@gnu.org>.
linux:/QEMU_LINUX_SPARC_HOST__tmp__TEST/0.6.0/qemu-cvs #
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-27 23:58 ` Bochnig, Martin
@ 2004-08-28 0:05 ` Lennert Buytenhek
2004-08-28 0:14 ` Bochnig, Martin
0 siblings, 1 reply; 19+ messages in thread
From: Lennert Buytenhek @ 2004-08-28 0:05 UTC (permalink / raw)
To: bochnig; +Cc: qemu-devel
On Sat, Aug 28, 2004 at 01:58:47AM +0200, Bochnig, Martin wrote:
> Hello,
Hi,
> 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.
> vmdk2raw.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
Try this. I needed the same patch for compiling on Red Hat 7.3.
diff -urN qemu-0.6.0.orig/vmdk2raw.c qemu-0.6.0/vmdk2raw.c
--- qemu-0.6.0.orig/vmdk2raw.c 2004-07-10 20:20:09.000000000 +0200
+++ qemu-0.6.0/vmdk2raw.c 2004-08-28 02:03:50.924934899 +0200
@@ -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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-28 0:05 ` Lennert Buytenhek
@ 2004-08-28 0:14 ` Bochnig, Martin
0 siblings, 0 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-28 0:14 UTC (permalink / raw)
To: qemu-devel
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.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
[not found] ` <413083B1.2040102@bellard.org>
@ 2004-08-28 16:55 ` Bochnig, Martin
2004-08-29 14:26 ` Bochnig, Martin
0 siblings, 1 reply; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-28 16:55 UTC (permalink / raw)
To: qemu-devel
Fabrice Bellard wrote:
> 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 (bellard@voyager.localdomain) (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=noprobe
ide_setup: ide2=noprobe
ide_setup: ide3=noprobe
ide_setup: ide4=noprobe
ide_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
#
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-28 16:55 ` Bochnig, Martin
@ 2004-08-29 14:26 ` Bochnig, Martin
2004-08-29 14:37 ` Johannes Schindelin
2004-08-31 22:22 ` Richard Zidlicky
0 siblings, 2 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-29 14:26 UTC (permalink / raw)
To: qemu-devel
Bochnig, Martin wrote:
> 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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
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
1 sibling, 2 replies; 19+ messages in thread
From: Johannes Schindelin @ 2004-08-29 14:37 UTC (permalink / raw)
To: qemu-devel
Hi,
On Sun, 29 Aug 2004, Bochnig, Martin wrote:
> Bochnig, Martin wrote:
>
> > But I'm a *newbie* in that field.
That's okay, we all started that way.
> 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?
> 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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-29 14:37 ` Johannes Schindelin
@ 2004-08-29 14:53 ` Bochnig, Martin
2004-08-29 15:12 ` Bochnig, Martin
1 sibling, 0 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-29 14:53 UTC (permalink / raw)
To: qemu-devel
Johannes Schindelin wrote:
>>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.
>
> 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.
>
> 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
>
> Ciao,
> Dscho
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-29 14:37 ` Johannes Schindelin
2004-08-29 14:53 ` Bochnig, Martin
@ 2004-08-29 15:12 ` Bochnig, Martin
1 sibling, 0 replies; 19+ messages in thread
From: Bochnig, Martin @ 2004-08-29 15:12 UTC (permalink / raw)
To: qemu-devel
Johannes Schindelin wrote:
>
> 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.
>
> 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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Qemu-devel] sparc?
2004-08-29 14:26 ` Bochnig, Martin
2004-08-29 14:37 ` Johannes Schindelin
@ 2004-08-31 22:22 ` Richard Zidlicky
1 sibling, 0 replies; 19+ messages in thread
From: Richard Zidlicky @ 2004-08-31 22:22 UTC (permalink / raw)
To: bochnig, qemu-devel
On Sun, Aug 29, 2004 at 04:26:11PM +0200, Bochnig, Martin wrote:
> 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
^ 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-01-02 16:57 [Qemu-devel] sparc? 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
-- strict thread matches above, loose matches on Subject: below --
2004-08-26 10:46 Bochnig, Martin
2004-08-26 11:06 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
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).