From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWzns-0002AJ-DC for qemu-devel@nongnu.org; Sat, 23 Aug 2008 16:33:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWznp-00029s-Pb for qemu-devel@nongnu.org; Sat, 23 Aug 2008 16:33:43 -0400 Received: from [199.232.76.173] (port=39440 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWznp-00029n-KP for qemu-devel@nongnu.org; Sat, 23 Aug 2008 16:33:41 -0400 Received: from wf-out-1314.google.com ([209.85.200.169]:24752) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWznp-00078X-9j for qemu-devel@nongnu.org; Sat, 23 Aug 2008 16:33:41 -0400 Received: by wf-out-1314.google.com with SMTP id 27so1242502wfd.4 for ; Sat, 23 Aug 2008 13:33:40 -0700 (PDT) Message-ID: Date: Sat, 23 Aug 2008 23:33:40 +0300 From: "Blue Swirl" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] Unaligned accesses in i386-softmmu on Sparc host 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 Hi, Now that Sparc emulators work somewhat on Sparc64 host, I tried i386-softmmu, but the first instruction causes a bus error. The crash happens at __ldw_cmmu: Program received signal SIGBUS, Bus error. __ldw_cmmu (addr=0xfffffff1, mmu_idx=0x0) at cpu-all.h:242 242 __asm__ __volatile__ ("lduha [%1] %2, %0" : "=r" (val) : "r" (ptr), I think ALIGNED_ONLY is not enabled, but it should be.