Martin Bochnig
2007-Jan-23 11:32 UTC
[qemu-discuss] Preliminary src-tree snapshot uploaded: qemu_opensolaris_cvs20070120sat_src_g.tar.gz
Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit *Hi, Download**Description* Latest patched QEMU sources 20070120 <http://www.opensolaris.org/os/project/qemu/downloads/qemu_opensolaris_cvs20070120sat_src_g.tar.gz>QEMU 0.8.2 CVS20070120 + patches snapshot January 20th 2007 http://www.opensolaris.org/os/project/qemu/downloads/qemu_opensolaris_cvs20070120sat_src_g.tar.gz Everything works fine on sparc. Just wanted to create "perfect" pkg on/for x64. Detected bug in Makefile.target, fixed it. Compiles fine now, but result core dumps, mhhh. dbx says: # /opt/SUNWspro/bin/dbx /opt/SUNWqemu/bin/64/qemu For information about new features see `help changes'' To remove this message, put `dbxenv suppress_startup_message 7.4'' in your .dbxrc Reading qemu Reading ld.so.1 Reading libm.so.2 Reading libz.so.1 Reading libsocket.so.1 Reading libnsl.so.1 Reading libresolv.so.2 Reading libSDL-1.2.so.0.11.0 Reading libpthread.so.1 Reading librt.so.1 Reading libc.so.1 Reading libX11.so.4 Reading libXext.so.0 Reading libgcc_s.so.1 Reading libaio.so.1 Reading libmd5.so.1 (dbx) runargs /export/home/martin/QEMU/freedos.img (dbx) run Running: qemu /export/home/martin/QEMU/freedos.img (process id 1664) t at 1 (l at 1) signal SEGV (no mapping at the fault address) in (unknown) at 0x151edc3 0x000000000151edc3: movw %bx,(%rax) (dbx) dis 0x000000000151edc6: leave 0x000000000151edc7: movl 0x0000000000000034(%rbp),%eax 0x000000000151edca: leal (%rax,%rax),%ebx 0x000000000151edcd: addw %bx,0x000000000000001c(%rbp) 0x000000000151edd1: decw 0x0000000000000004(%rbp) 0x000000000151edd5: movl 0xffffffffff035a01 [ 0xffffffffff035a01 ],%eax 0x000000000151eddb: jmp *%eax 0x000000000151eddd: repz movl $0x000000000000e0a7,%eax 0x000000000151ede3: movl %eax,0x0000000000000020(%rbp) 0x000000000151ede6: leal 0xffffffffff0359b4 [ 0xffffffffff0359b4 ],%ebx (dbx) Fixing it now. Further delay, sorry. Best regards -MB
Martin Bochnig
2007-Jan-23 14:50 UTC
[qemu-discuss] Preliminary src-tree snapshot uploaded: qemu_opensolaris_cvs20070120sat_src_g.tar.gz
Martin Bochnig wrote:>(dbx) run >Running: qemu /export/home/martin/QEMU/freedos.img >(process id 1664) >t at 1 (l at 1) signal SEGV (no mapping at the fault address) in (unknown) at >0x151edc3 >0x000000000151edc3: movw %bx,(%rax) >(dbx) dis >0x000000000151edc6: leave >0x000000000151edc7: movl 0x0000000000000034(%rbp),%eax >0x000000000151edca: leal (%rax,%rax),%ebx >0x000000000151edcd: addw %bx,0x000000000000001c(%rbp) >0x000000000151edd1: decw 0x0000000000000004(%rbp) >0x000000000151edd5: movl 0xffffffffff035a01 [ >0xffffffffff035a01 ],%eax >0x000000000151eddb: jmp *%eax >0x000000000151eddd: repz movl $0x000000000000e0a7,%eax >0x000000000151ede3: movl %eax,0x0000000000000020(%rbp) >0x000000000151ede6: leal 0xffffffffff0359b4 [ >0xffffffffff0359b4 ],%ebx >(dbx) > > >Fixing it now. >Further delay, sorry. > >Good news: Current_QEMU_CVS Solaris_amd64 invalid_register_usage_isuue fixed: --- dyngen-exec.h__ORIG 2007-01-23 15:38:10.620732000 +0100 +++ dyngen-exec.h 2007-01-23 15:39:04.924183000 +0100 @@ -88,8 +88,8 @@ #define AREG3 "edi" #endif #ifdef __x86_64__ -#define AREG0 "rbp" -#define AREG1 "rbx" +#define AREG0 "r14" +#define AREG1 "r15" #define AREG2 "r12" #define AREG3 "r13" Restarting packaging ...>Best regards >-MB > >