Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOdgn-0004hC-LX for qemu-devel@nongnu.org; Sun, 18 Jan 2009 14:52:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOdgm-0004gr-A9 for qemu-devel@nongnu.org; Sun, 18 Jan 2009 14:52:09 -0500 Received: from [199.232.76.173] (port=38385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOdgm-0004go-1c for qemu-devel@nongnu.org; Sun, 18 Jan 2009 14:52:08 -0500 Received: from virgo.iok.hu ([212.40.97.103]:37058) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LOdgl-00006N-Eg for qemu-devel@nongnu.org; Sun, 18 Jan 2009 14:52:07 -0500 Received: from kag.elte.hu (kag.elte.hu [157.181.177.1]) by virgo.iok.hu (Postfix) with ESMTP id DDA9E580D0 for ; Sun, 18 Jan 2009 20:51:58 +0100 (CET) Received: from genesis.frugalware.org (frugalware.elte.hu [157.181.177.34]) by kag.elte.hu (Postfix) with ESMTP id 602344465E for ; Sun, 18 Jan 2009 20:51:55 +0100 (CET) Date: Sun, 18 Jan 2009 20:51:55 +0100 From: Miklos Vajna Subject: Re: [Qemu-devel] Help debugging qemu linux-user Message-ID: <20090118195155.GQ30710@genesis.frugalware.org> References: <87vdshmt39.fsf@lechat.rtp-net.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qmq+yACkV15HOutv" Content-Disposition: inline In-Reply-To: <87vdshmt39.fsf@lechat.rtp-net.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --qmq+yACkV15HOutv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 14, 2009 at 11:16:26PM +0100, Arnaud Patard wrote: > Theses days, I've been trying to play with qemu on mipsel on my freetime > (mainly to play with mips assembly). Now, I'm able to run some > busybox commands with busybox-static debs (for > armel,mipsel,i386). Unfortunately, every time I tried to use non-static > binaries (say some chroot or the binaries from the > linux-user-test-0.3.tar.gz file), qemu is crashing. The code should=20 > not be so bad as it's working fine with the static binaries imho. So > either the bug comes from my code or it comes from somewhere else in the > qemu code. Can someone give me some advice on how to debug that ? Try running a simple application that uses fork(). I guess your problem is that the binary is linked to an nptl-enabled libc, and nptl is supported only on arm and sh IIRC. --qmq+yACkV15HOutv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklziFsACgkQe81tAgORUJZkXgCfZQGSEeSzrB9fWphk7wZ73rsd RHAAn3cm2w3r0FsXFU+ClUZmjwBI8Sjm =xqh7 -----END PGP SIGNATURE----- --qmq+yACkV15HOutv--