From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEC80-0000gs-F0 for qemu-devel@nongnu.org; Tue, 09 Jun 2009 20:57:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEC7v-0000gg-6R for qemu-devel@nongnu.org; Tue, 09 Jun 2009 20:57:19 -0400 Received: from [199.232.76.173] (port=37067 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEC7v-0000gd-2h for qemu-devel@nongnu.org; Tue, 09 Jun 2009 20:57:15 -0400 Received: from moutng.kundenserver.de ([212.227.126.188]:64986) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEC7u-0000PC-EG for qemu-devel@nongnu.org; Tue, 09 Jun 2009 20:57:14 -0400 Subject: Re: [Qemu-devel] [PATCH 0/7] target-ppc/linux-user: NPTL support From: Laurent Vivier In-Reply-To: <20090609233745.GA19075@genesis.frugalware.org> References: <1244141522-21802-1-git-send-email-froydnj@codesourcery.com> <20090609233745.GA19075@genesis.frugalware.org> Content-Type: text/plain; charset=utf-8 Date: Wed, 10 Jun 2009 02:57:08 +0200 Message-Id: <1244595428.31094.2.camel@Quad> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Miklos Vajna Cc: qemu-devel@nongnu.org, Nathan Froyd Le mercredi 10 juin 2009 =C3=A0 01:37 +0200, Miklos Vajna a =C3=A9crit : > On Thu, Jun 04, 2009 at 11:51:55AM -0700, Nathan Froyd wrote: > > The patch series has been tested against the glibc testsuite, where it > > passes a good chunk (90%+) of the testsuite. The other 10% are > > basically things that are not going to work in QEMU anytime soon > > (e.g. sharing futexes between multiple processes, using clone(2) > > directly, etc.). I should note that proper testing requires a patch to > > use a correct exit status for uncaught signals; such a patch has been > > posted to this list before by Riku Voipio. (I have a different local > > version that I used instead.) Testing with recent glibc also requires > > adding support for private futexes and a few other futex operations; > > again, a patch for this has been posted by Riku and I used a slightly > > different local version. >=20 > Hi, >=20 > I tried this series (on top of current git 3a41759) + Riku's patch. I > built a static qemu-ppc binary, then tried: >=20 > host# chroot . /qemu-ppc -L . /bin/bash >=20 > Where the current directory was a PPC chroot. It launched bash just > fine, but when I tried to launch a command from the ppc bash, I got: >=20 > chroot# /bin/uname > bash: /bin/uname: No such file or directory Did you configure binfmt_misc kernel module to load PPC binaries with qemu-ppc ? Regards, Laurent > While the binary is there: >=20 > host# file bin/uname > bin/uname: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 > (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, > with unknown capability 0x41000000 =3D 0x11676e75, with unknown capabilit= y > 0x10000 =3D 0x90401, stripped >=20 > Let me know if you need more info to reproduce the issue. >=20 > Thanks. --=20 --------------------- laurent@vivier.eu ---------------------- "Tout ce qui est impossible reste =C3=A0 accomplir" Jules Verne "Things are only impossible until they're not" Jean-Luc Picard