Ben Taylor wrote:

Hi,

>>Building QEMU is now *very* easy.

Mmm, compiling qemu on snv78 does not work :

test/qemu -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -I/export/var/develop/qemu/test/qemu/fpu  
-DHAS_AUDIO -I/export/var/develop/qemu/test/qemu/slirp -c -o op.o 
/export/var/develop/qemu/test/qemu/target-mips/op.c
/export/var/develop/qemu/test/qemu/target-mips/op.c: In function 
`op_goto_tb0':
/export/var/develop/qemu/test/qemu/target-mips/op.c:916: warning: cast 
to pointer from integer of different size
/export/var/develop/qemu/test/qemu/target-mips/op.c: In function 
`op_goto_tb1':
/export/var/develop/qemu/test/qemu/target-mips/op.c:922: warning: cast 
to pointer from integer of different size
/export/var/develop/qemu/test/qemu/target-mips/op_mem.c: In function 
`op_lwl_raw':
/export/var/develop/qemu/test/qemu/target-mips/op_mem.c:110: internal 
compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[1]: *** [op.o] Error 1
gmake[1]: Leaving directory 
`/export/var/develop/qemu/test/qemu/mips-softmmu'
gmake: *** [subdir-mips-softmmu] Error 2

Environment

bash-3.2# uname -a
SunOS dhcppc2 5.11 snv_78 i86pc i386 i86xpv

bash-3.2# isainfo -x
amd64: ahf sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov cx8 
tsc fpu
i386: ahf sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov cx8 
tsc fpu

The source code used is:

bash-3.2# ls -l ../..
total 110098
-rw-r--r--   1 root     root     50980864 Dec 21 16:43 dsl-4.0.iso
-rw-r--r--   1 root     root      167748 Dec 21 16:32 
kqemu_1.0.3pre11-20070520.tar.bz2
-rw-r--r--   1 root     root     2304413 Dec 21 16:32 
qemu-src-CVSdrop-12112007-pluspatches.tar.bz2
-rw-r--r--   1 root     root     2829456 Dec 21 16:32 SDL-1.2.12.tar.gz
drwxr-xr-x   5 root     root         512 Dec 21 16:34 test

bash-3.2# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/ccs/bin/ld --without-gnu-ld 
--enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)

Tried it on a Ferrari with fresh installed Solaris snv78 without any changes

regards

Bernd



> ---- Bernd Schemmer <Bernd.Schemmer at gmx.de> wrote: 
>   
>> Ben,
>>
>>  >>I've just uploaded a current CVS tarball of the QEMU-0.9.0 code from 
>> today,
>>
>> Only changes to Qemu? Or also to kqemu?
>>     
>
> Kqemu hasn't changed in 6 months.  Most of the changes for Solaris have
> to do with configure/Makefile and occaionally the odd source file.
>
>   
>> The last time I tried Qemu with kqemu in a Xen Dom0 it crashed the 
>> system if kqemu was enabled
>>     
>
> Well, I have been meaning to try this, and hopefully will be able to spend
> some time with it before the new year.
>
>   
>> (tested with SUNWqemu 0.9.0__cvs20070220tue , the kqemu version used for 
>> the tests was 
>> kqemu-osol-1.3.0pre9-v0.2.tar.kqemu-osol-1.3.0pre9-v0.2.tar.gz)
>>     
>
> That is a very old version of QEMU and kqemu.  That version of kqemu will
> only run on Solaris Express.  The source version in the downloads page
> supports 8-current Solaris X86 i386, and Solaris 10-current for x86-64.
>
> Building QEMU is now *very* easy.  Really.  All you need is libSDL, a working
> gcc compiler (and this is documented in the tarball, and on the qemu project
> page),  zlib, and gnutls.  Damn.  gnutls is part of Solaris 10, but I haven't 
> tested
> it on 9/x86.  Guess I gotta fire up the Dual Celeron 550... :-)
>
> Ben
>
>   


-- 
Bernd Schemmer, Frankfurt am Main, Germany
http://home.arcor.de/bnsmb/index.html

M s temprano que tarde el mundo cambiar .
                        Fidel Castro


Reply via email to