From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLQRa-0002WA-D3 for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:07:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLQRY-0002VN-VT for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:07:10 -0500 Received: from [199.232.76.173] (port=38983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLQRY-0002VE-M6 for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:07:08 -0500 Received: from mail-bw0-f12.google.com ([209.85.218.12]:48370) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLQRY-0005RD-50 for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:07:08 -0500 Received: by bwz5 with SMTP id 5so18866474bwz.10 for ; Fri, 09 Jan 2009 15:07:06 -0800 (PST) Message-ID: <761ea48b0901091507i30bf513fpef2cd8bdfb62e224@mail.gmail.com> Date: Sat, 10 Jan 2009 00:07:05 +0100 From: "Laurent Desnogues" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] SH4 issue and fstat64 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 Hello, after spending two hours to find and fix a simple hello world program failed on sh4, I found the issue had already been found: http://www.nabble.com/sh4-linux-user-emulation-on-an-x86_64-system-td19998891.html I can confirm that the packing of the structure proposed by Takashi Yoshii and Michael Trimarchi fixes the problem on my x86_64 system. I also checked it does not break i386 qemu on my machine. If someone needs a reproducer feel free to contact me. This could have been frustrating, but now I know a little bit of sh4, so that was not useless :-) Laurent