From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ni4Rx-000120-7j for qemu-devel@nongnu.org; Thu, 18 Feb 2010 06:21:41 -0500 Received: from [199.232.76.173] (port=55152 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ni4Rv-00011s-5N for qemu-devel@nongnu.org; Thu, 18 Feb 2010 06:21:39 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ni4Ru-0007uw-7J for qemu-devel@nongnu.org; Thu, 18 Feb 2010 06:21:39 -0500 Received: from mail-pz0-f180.google.com ([209.85.222.180]:56663) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ni4Rt-0007us-Uh for qemu-devel@nongnu.org; Thu, 18 Feb 2010 06:21:38 -0500 Received: by pzk10 with SMTP id 10so1355484pzk.19 for ; Thu, 18 Feb 2010 03:21:36 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <201002171255.34570.rob@landley.net> References: <201002110520.07620.rob@landley.net> <4B7C0F2C.1080409@redhat.com> <201002171255.34570.rob@landley.net> From: Artyom Tarasenko Date: Thu, 18 Feb 2010 12:21:16 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: qemu-ppc can't run static uClibc binaries. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: Paolo Bonzini , qemu-devel@nongnu.org 2010/2/17 Rob Landley : > On Wednesday 17 February 2010 09:45:48 Paolo Bonzini wrote: >> On 02/17/2010 10:24 AM, Artyom Tarasenko wrote: >> >> I've also got a bunch of "sort of working, but not well enough >> >> to run builds natively under" targets on top of that (arm big >> >> endian, sh4, sparc...) >> > >> > What's not well enough on sparc? >> >> =A0From http://permalink.gmane.org/gmane.comp.emulators.qemu/63610: >> >> On Linux, sparc-softmmu can boot Linux (sparc-test) image, but QEMU >> crashes just before command line. On OpenBSD, the same test reaches >> command prompt. > > Actually the sparc-test image from http://wiki.qemu.org/download/sparc- > test-0.2.tar.gz boots and gets me a command line just fine, and I've neve= r had > it die with strange errors that look like mismatched system calls and suc= h. > (Under ubuntu 8.04, using qemu-git from a week or so back, but this behav= ior's > been consistent since I first tried it.0 > > That image is A) built with an unknown compiler, B) running glibc (not > uClibc), c) a crippled toy image. =A0(It's a read-only root filesystem th= at > hasn't got a mount point for /proc. =A0Obviously never mean to actually b= e used > for anything but very simple smoke testing.) > > But it does imply that qemu is capable of decently running _something_ on > sparc, so the problems I'm seeing are more likely to be uClibc or toolcha= in > issues. qemu-sparc can decently run debian-40r8: gcc and all the other stuff seem to work. Most versions of the NetBSD boot. Some require the original OBP though. The only known to me version which definetely doesn't boot is 3.0.2. Also since the last dma fix Solaris 2.4-2.5.1 seems to be also fully functional. Don't have a suitable compiler to check whether it's working under Solaris though. Debian-40r8 should have all the necessary stuff to build the uClibc toolchain, right? --=20 Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/