Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbvUK-0008C4-M6 for qemu-devel@nongnu.org; Sun, 30 Sep 2007 05:53:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbvUK-0008BX-2d for qemu-devel@nongnu.org; Sun, 30 Sep 2007 05:53:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbvUJ-0008BL-Jm for qemu-devel@nongnu.org; Sun, 30 Sep 2007 05:53:23 -0400 Received: from miranda.se.axis.com ([193.13.178.8]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IbvUJ-0007gx-2K for qemu-devel@nongnu.org; Sun, 30 Sep 2007 05:53:23 -0400 Received: from axis.com (edgar.se.axis.com [10.92.151.1]) by miranda.se.axis.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l8U9rLuW032541 for ; Sun, 30 Sep 2007 11:53:21 +0200 Date: Sun, 30 Sep 2007 11:53:20 +0200 From: "Edgar E. Iglesias" Subject: Re: [Qemu-devel] target_mmap and host vs target page sizes. Message-ID: <20070930095320.GD19016@edgar.underground.se.axis.com> References: <20070930011817.GA19016@edgar.underground.se.axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Sun, Sep 30, 2007 at 10:27:45AM +0300, Blue Swirl wrote: > On 9/30/07, Edgar E. Iglesias wrote: > > I tried the sparc64-linux-user target but it fails to run any of my programs both with and without the change. Similarly, the m68k-linux-user target also fails but it at least manages to > > Are you sure the program was really a 64-bit Sparc64 program? The real > programs are identified by file command like this: > helloworld.sparc64: ELF 64-bit MSB executable, SPARC V9, version 1 > (SYSV), statically linked, not stripped > > 32-bit programs with either V8 or V9 (V8PLUS) instructions are not > supported by sparc64-linux-user currently. Hi, Thanks for pointing that out. I double checked my programs and yes, they seem to be 64bit ones. I assumed they were because my toolchain was a sparc64-unknown-linux-gnu, but I hadn't verified the generated elf files. % make sparc64-unknown-linux-gnu-gcc -Wall -W -g -O2 -c -o ctest.o ctest.c sparc64-unknown-linux-gnu-gcc -static ctest.o -o ctest % file ctest ctest: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), for GNU/Linux 2.4.1, statically linked, not stripped % ~/src/c/qemu/sparc/sparc64-linux-user/qemu-sparc64 ./ctest Segmentation fault I'll retry with a fresh CVS build. Best regards -- Edgar E. Iglesias Axis Communications AB