From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEK9i-0001Mg-VF for qemu-devel@nongnu.org; Wed, 10 Jun 2009 05:31:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEK9e-0001HT-Bm for qemu-devel@nongnu.org; Wed, 10 Jun 2009 05:31:38 -0400 Received: from [199.232.76.173] (port=59521 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEK9d-0001HG-PE for qemu-devel@nongnu.org; Wed, 10 Jun 2009 05:31:34 -0400 Received: from virgo.iok.hu ([212.40.97.103]:41787) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MEK9d-0007Gk-7s for qemu-devel@nongnu.org; Wed, 10 Jun 2009 05:31:33 -0400 Date: Wed, 10 Jun 2009 11:31:31 +0200 From: Miklos Vajna Subject: Re: [Qemu-devel] [PATCH 0/7] target-ppc/linux-user: NPTL support Message-ID: <20090610093131.GF19075@genesis.frugalware.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> <20090610024955.GA6176@caradoc.them.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bqc0IY4JZZt50bUr" Content-Disposition: inline In-Reply-To: <20090610024955.GA6176@caradoc.them.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Daniel Jacobowitz Cc: qemu-devel@nongnu.org, Nathan Froyd --Bqc0IY4JZZt50bUr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 09, 2009 at 10:49:55PM -0400, Daniel Jacobowitz wrote: > > Hmm. According to this mail it used to work in the non-NPTL case: > >=20 > > http://osdir.com/ml/emulators.qemu/2004-02/msg00162.html > >=20 > > Or have I missed something? >=20 > Oh, are you using binfmt_misc? That's different... Sorry, I forgot to mention it. I did a echo ":qemu-ppc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\= x00\x02\x00\x14:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf= f\xff\xfb\xff\xff\xff:/usr/bin/qemu-ppc:" > /proc/sys/fs/binfmt_misc/regist= er And the a test binary using fork() works fine as well: $ file hello hello: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.3, not stripped $ ./hello pid is 0 pid is 14461 Thanks. --Bqc0IY4JZZt50bUr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkovfXMACgkQe81tAgORUJZOewCeI/1nFu7FaakGD9FEDYRnXEUj P3EAn0VZfHxYFQT/wRos6ESN7pU4fo2u =r17u -----END PGP SIGNATURE----- --Bqc0IY4JZZt50bUr--