From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEDtD-0005Ci-5j for qemu-devel@nongnu.org; Tue, 09 Jun 2009 22:50:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEDt8-00057L-O7 for qemu-devel@nongnu.org; Tue, 09 Jun 2009 22:50:10 -0400 Received: from [199.232.76.173] (port=59132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEDt8-00057C-9J for qemu-devel@nongnu.org; Tue, 09 Jun 2009 22:50:06 -0400 Received: from nan.false.org ([208.75.86.248]:38265) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEDt7-0006IL-LC for qemu-devel@nongnu.org; Tue, 09 Jun 2009 22:50:05 -0400 Date: Tue, 9 Jun 2009 22:49:55 -0400 From: Daniel Jacobowitz Subject: Re: [Qemu-devel] [PATCH 0/7] target-ppc/linux-user: NPTL support Message-ID: <20090610024955.GA6176@caradoc.them.org> References: <1244141522-21802-1-git-send-email-froydnj@codesourcery.com> <20090609233745.GA19075@genesis.frugalware.org> <20090610002447.GA26173@caradoc.them.org> <20090610003048.GC19075@genesis.frugalware.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090610003048.GC19075@genesis.frugalware.org> 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 On Wed, Jun 10, 2009 at 02:30:48AM +0200, Miklos Vajna wrote: > On Tue, Jun 09, 2009 at 08:24:47PM -0400, Daniel Jacobowitz wrote: > > > host# chroot . /qemu-ppc -L . /bin/bash > > > > > > 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: > > > > > > chroot# /bin/uname > > > bash: /bin/uname: No such file or directory > > > > This isn't expected to work, is it? QEMU does not intercept exec > > system calls for target binaries. > > > > [Maybe it should...] > > Hmm. According to this mail it used to work in the non-NPTL case: > > http://osdir.com/ml/emulators.qemu/2004-02/msg00162.html > > Or have I missed something? Oh, are you using binfmt_misc? That's different... -- Daniel Jacobowitz CodeSourcery