From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZCjX-0002O6-RY for qemu-devel@nongnu.org; Sat, 22 Sep 2007 17:41:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZCjW-0002Nu-AO for qemu-devel@nongnu.org; Sat, 22 Sep 2007 17:41:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZCjW-0002Nr-4x for qemu-devel@nongnu.org; Sat, 22 Sep 2007 17:41:50 -0400 Received: from hall.aurel32.net ([88.191.38.19]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IZCjV-0004uW-NR for qemu-devel@nongnu.org; Sat, 22 Sep 2007 17:41:49 -0400 Received: from volta.aurel32.net ([2001:618:400:fc13:216:d3ff:fe17:fd00]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IZCjP-0000um-3P for qemu-devel@nongnu.org; Sat, 22 Sep 2007 23:41:43 +0200 Received: from localhost.aurel32.net ([127.0.0.1] ident=aurel32) by volta.aurel32.net with esmtp (Exim 4.67) (envelope-from ) id 1IZCjU-0008IT-Qk for qemu-devel@nongnu.org; Sat, 22 Sep 2007 23:41:48 +0200 Message-ID: <46F58C1C.3000900@aurel32.net> Date: Sat, 22 Sep 2007 23:41:48 +0200 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu/target-sparc exec.h op.c op_helper.c op_me... 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> <46F57C54.1010105@aurel32.net> In-Reply-To: <46F57C54.1010105@aurel32.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Aurelien Jarno a écrit : > Andreas Färber a écrit : >> 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) >> > > Thanks, that's helpful, it looks like the "lduba" instructions is not > working correctly in your case. Now I have to find why. I don't really understand, because that is the part of the code (at least from the op point of view) that is almost unchanged. Looking at the code again and again I can't see any problem. Could you please try to find the values of T1 at the end of helper_ld_asi (adding a printf or using gdb). That may help us to understand what is the problem. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net