From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLQQu-0002G9-VV for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:06:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLQQu-0002Fx-Bi for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:06:28 -0500 Received: from [199.232.76.173] (port=38976 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLQQu-0002Fu-83 for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:06:28 -0500 Received: from fg-out-1718.google.com ([72.14.220.159]:31861) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLQQt-0005NY-QE for qemu-devel@nongnu.org; Fri, 09 Jan 2009 18:06:28 -0500 Received: by fg-out-1718.google.com with SMTP id 19so1336093fgg.8 for ; Fri, 09 Jan 2009 15:06:25 -0800 (PST) Message-ID: <761ea48b0901091506q1052f846qe19e5fced36c5464@mail.gmail.com> Date: Sat, 10 Jan 2009 00:06:18 +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