Received: from eggs.gnu.org ([208.118.235.92]:41081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrDl7-0007WS-51 for qemu-devel@nongnu.org; Fri, 04 Jan 2013 15:20:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrDl2-00006s-UP for qemu-devel@nongnu.org; Fri, 04 Jan 2013 15:20:53 -0500 Received: from indium.canonical.com ([91.189.90.7]:49529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrDl2-00006d-Of for qemu-devel@nongnu.org; Fri, 04 Jan 2013 15:20:48 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TrDl1-0006JT-PD for ; Fri, 04 Jan 2013 20:20:47 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id BDA562E8080 for ; Fri, 4 Jan 2013 20:20:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Jan 2013 20:13:24 -0000 From: Dillon Amburgey <1054831@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120923021630.12687.36853.malonedeb@gac.canonical.com> Message-Id: <20130104201324.18065.82796.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1054831] Re: qemu-user-static for sparc32plus : bash: fork: Invalid argument Reply-To: Bug 1054831 <1054831@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org What I mean is that QEMU isn't compiled with guest support for NPTL on every architecture. If you look in the configure script around line 3900, you'll see some architectures have target_nptl=3D"yes" while others (including sparc) do not. Unfortunately it looks like the code isn't complete for sparc support, so it isn't a simple matter of enabling it in the configure script. The reason you get "bash: fork: Invalid argument" is because glibc makes a call to clone() with NPTL arguments that aren't supported. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1054831 Title: qemu-user-static for sparc32plus : bash: fork: Invalid argument Status in QEMU: New Bug description: On Debian x86-64 host system I setup a sparc chroot using: host $ mkdir sparc = host $ sudo debootstrap --arch=3Dsparc --foreign wheezy sparc http://ftp.= au.debian.org/debian host $ sudo cp ~/Git/qemu/sparc32plus-linux-user/qemu-sparc32plus sparc/u= sr/bin/qemu-sparc32plus-static host $ LANG=3DC sudo chroot sparc/ /usr/bin/qemu-sparc32plus-static /bin/= bash When I then run the second stage of debootstrap I get: target $ /debootstrap/debootstrap --second-stage bash: fork: Invalid argument The above procedures works perfectly for armhf. This is with current git HEAD (commit 93b6599734f81328ee3d608f57667742cafeea72). To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1054831/+subscriptions