Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZBVw-00058E-5h for qemu-devel@nongnu.org; Sat, 22 Sep 2007 16:23:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZBVt-00057k-Rz for qemu-devel@nongnu.org; Sat, 22 Sep 2007 16:23:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZBVt-00057h-Ng for qemu-devel@nongnu.org; Sat, 22 Sep 2007 16:23:41 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZBVt-0001hM-B1 for qemu-devel@nongnu.org; Sat, 22 Sep 2007 16:23:41 -0400 Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id E8C4EA08565B for ; Sat, 22 Sep 2007 22:23:39 +0200 (CEST) Received: from [91.18.102.131] (helo=[10.0.1.1]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IZBVr-0007te-00 for qemu-devel@nongnu.org; Sat, 22 Sep 2007 22:23:39 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <46F575C2.5040609@aurel32.net> References: <5F596BA5-213D-473B-ADEA-5E616296970F@web.de> <20070921202659.GA32636@hall.aurel32.net> <46F4327C.4030200@aurel32.net> <20070922114954.GA12622@hall.aurel32.net> <3B4277C4-223D-4907-9473-00C0CA2FC623@web.de> <46F555DA.50508@aurel32.net> <1C04A191-3868-4CAD-99AE-6EB04474991F@web.de> <46F575C2.5040609@aurel32.net> Content-Type: multipart/mixed; boundary=Apple-Mail-11--415462973 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= Subject: Re: [Qemu-devel] qemu/target-sparc exec.h op.c op_helper.c op_me... Date: Sat, 22 Sep 2007 22:23:38 +0200 Sender: andreas.faerber@web.de Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Apple-Mail-11--415462973 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Am 22.09.2007 um 22:06 schrieb Aurelien Jarno: > I really doubt it is an endianness problem as the current CVS works > perfectly on GNU/Linux powerpc. The code in op_helper.c adds > support for > target little endian access (sparc is big endian), but it is anyway > not > used in openbios. We have to debug the problem and find what is wrong > with OS X: > > - Which version of GCC are you using? I have a gcc 4.0.1 installed but configure appears to choose gcc-3.3: $ gcc-3.3 --version gcc-3.3 (GCC) 3.3 20030304 (Apple Computer, Inc. build 1819) Copyright (C) 2002 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. > - Could you please try to run qemu with -nographic? I already tried that, it makes no difference - it hangs after "starting qemu...". > - Also could you please try to run qemu with -d in_asm,op and send us > /tmp/qemu.log? Of course, see attached. (CVS HEAD configured as before, with .../ qemu-system-sparc -boot d -cdrom ...solaris10sparc.iso -nographic -d in_asm,op) --Apple-Mail-11--415462973 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name=qemu.log Content-Disposition: attachment; filename=qemu.log -------------- IN: 0xffd00000: b 0xffd040c0 0xffd00004: nop OP: 0x0000: jmp_im 0xffd040c0 0x0001: movl_npc_im 0xffd040c4 0x0002: movl_T0_0 0x0003: exit_tb 0x0004: end -------------- IN: 0xffd040c0: sethi %hi(0x71200000), %g1 0xffd040c4: lduba [ %g1 ] #ASI_M_BYPASS, %g2 0xffd040c8: cmp %g2, 0x51 0xffd040cc: bne 0xffd041a0 0xffd040d0: inc %g1 OP: 0x0000: movl_T0_im 0x71200000 0x0001: movl_g1_T0 0x0002: jmp_im 0xffd040c4 0x0003: movl_npc_im 0xffd040c8 0x0004: movl_T0_g1 0x0005: ld_asi 0x20 0x1 0x0 0x0006: movl_g2_T1 0x0007: movl_T0_g2 0x0008: movl_T1_sim 0x51 0x0009: sub_T1_T0_cc 0x000a: eval_bne 0x000b: movl_T0_g1 0x000c: movl_T1_sim 0x1 0x000d: add_T1_T0 0x000e: movl_g1_T0 0x000f: jz_T2_label 0x0 0x0010: goto_tb0 0x0011: jmp_im 0xffd041a0 0x0012: movl_npc_im 0xffd041a4 0x0013: movl_T0_im 0x8ae344 0x0014: exit_tb 0x0015: goto_tb1 0x0016: jmp_im 0xffd040d4 0x0017: movl_npc_im 0xffd040d8 0x0018: movl_T0_im 0x8ae345 0x0019: exit_tb 0x001a: end -------------- IN: 0xffd041a0: sethi %hi(0xf1200000), %g1 0xffd041a4: lduba [ %g1 ] #ASI_M_CTL, %g2 0xffd041a8: cmp %g2, 0x51 0xffd041ac: bne 0xffd04198 0xffd041b0: inc %g1 OP: 0x0000: movl_T0_im 0xf1200000 0x0001: movl_g1_T0 0x0002: jmp_im 0xffd041a4 0x0003: movl_npc_im 0xffd041a8 0x0004: movl_T0_g1 0x0005: ld_asi 0x2f 0x1 0x0 0x0006: movl_g2_T1 0x0007: movl_T0_g2 0x0008: movl_T1_sim 0x51 0x0009: sub_T1_T0_cc 0x000a: eval_bne 0x000b: movl_T0_g1 0x000c: movl_T1_sim 0x1 0x000d: add_T1_T0 0x000e: movl_g1_T0 0x000f: jz_T2_label 0x0 0x0010: goto_tb0 0x0011: jmp_im 0xffd04198 0x0012: movl_npc_im 0xffd0419c 0x0013: movl_T0_im 0x8ae388 0x0014: exit_tb 0x0015: goto_tb1 0x0016: jmp_im 0xffd041b4 0x0017: movl_npc_im 0xffd041b8 0x0018: movl_T0_im 0x8ae389 0x0019: exit_tb 0x001a: end -------------- IN: 0xffd04198: b 0xffd04198 0xffd0419c: nop OP: 0x0000: goto_tb0 0x0001: jmp_im 0xffd04198 0x0002: movl_npc_im 0xffd0419c 0x0003: movl_T0_im 0x8ae3cc 0x0004: exit_tb 0x0005: end --Apple-Mail-11--415462973 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Thanks for your interest, and let me know, Andreas --Apple-Mail-11--415462973--