From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yal7Y-0007wU-3B for qemu-devel@nongnu.org; Wed, 25 Mar 2015 09:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yal7U-0000d3-OW for qemu-devel@nongnu.org; Wed, 25 Mar 2015 09:13:20 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:58428 helo=imgpgp01.kl.imgtec.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yal7U-0000cx-FZ for qemu-devel@nongnu.org; Wed, 25 Mar 2015 09:13:16 -0400 Message-ID: <5512B46A.4080208@imgtec.com> Date: Wed, 25 Mar 2015 13:13:14 +0000 From: James Hogan MIME-Version: 1.0 References: <8111192.6dZICC2BlA@lczc1207b1zdcs> In-Reply-To: <8111192.6dZICC2BlA@lczc1207b1zdcs> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m97ngsheUghu34gwaBRcR6CilHkPMTqSH" Subject: Re: [Qemu-devel] Support for NetLogic XLP Processors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Duarte Silva , qemu-devel@nongnu.org --m97ngsheUghu34gwaBRcR6CilHkPMTqSH Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Duarte, On 22/03/15 11:13, Duarte Silva wrote: > Hi guys, >=20 > I have been struggling to get some binaries compiled for NetLogic XLP=20 > processor to run under QEMU. I have tried a bunch of things (most going= back=20 > and forth) and always get the following error message: >=20 > qemu: uncaught target signal 4 (Illegal instruction) - core dumped > Illegal instruction >=20 > I tried to debug it using GDB but to no avail. Does anybody have ideas?= I'm=20 > running QEMU 2.2.1. It sounds like the program had an instruction that QEMU doesn't recognise, or doesn't think should be allowed on the current CPU which you've set with -cpu. You might be able to find out what that instruction is by putting this on your qemu command line: -singlestep -d in_asm that will cause it to only translate one instruction at a time, and to dump each one as it is translated. The last one printed will very likely to be the one that is causing the problem. Cheers James --m97ngsheUghu34gwaBRcR6CilHkPMTqSH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVErRqAAoJEGwLaZPeOHZ6xucQAJPJp8b0DSl1RG5B9Obw18oi PLYhTk1C6B4vo+5zF5Asp5cjv9/JyjAZLZX1MCLooWYd5QL4u5gtQzCzdeZzNEkZ 1BYt/HOyVqzv/tfWy+/ZSGC7k4DBGCp5ms99QP6tEbOwW5kTkcu2Jebqhw0rJzqv 3MdGRXubK1uzJjNMoYtdz7vWVRqRNkzbn73hcBBmwc9DWm9iBFHwiIlE/pZx9Pvh 1/p6nws5cBhQiLuv1wWsRyKPEUdloIZS3ho9tcG1VTggngz/jVD2snUKE1VB8LG5 uTfbdqnW/PxD7fCrODvGvS+GJ2+ApCtLG9nnS8zFJHKNoL/BEWNzahfvN2B3xjtC yajLxe34oK7gcS+k7pFqJTISjQc/XtfX73XHwdfOrQ3vTVhiRafpuRwWupYm7fM5 4SNLdTomOHNO9Y8qA64qP1Q1BUIYY66iNAjo/ezvMuTk4t9FoBOe4sN9PWMoK9dB xF08HDh66ohG7gCFMAw/p2j3O5/pCI9Wnxe/pqvNaNVHMEfg5OUcd82erv5soSiz GF17L8DBoor7yLRPYWd8JezeyiCtV4IKmaAid64fPVvlXtZrt/AUaezZCxQmIoGa Qg97x3a83cpKSMrRDlYcNdrrXVE7WwydnccMRJXbj9nO90oTEso+erJgWD4YTRjx nYI+xS5ApnIDMgnDzUPN =y6qf -----END PGP SIGNATURE----- --m97ngsheUghu34gwaBRcR6CilHkPMTqSH--