From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BrlT8-0002F6-Nt for qemu-devel@nongnu.org; Mon, 02 Aug 2004 18:39:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BrlT6-0002EQ-Iy for qemu-devel@nongnu.org; Mon, 02 Aug 2004 18:39:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrlT6-0002EG-Gq for qemu-devel@nongnu.org; Mon, 02 Aug 2004 18:39:44 -0400 Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BrlPd-0002ak-99 for qemu-devel@nongnu.org; Mon, 02 Aug 2004 18:36:09 -0400 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BrlPc-00028m-00 for ; Tue, 03 Aug 2004 00:36:08 +0200 Received: from amarseille-206-1-29-132.w81-53.abo.wanadoo.fr ([81.53.205.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2004 00:36:08 +0200 Received: from daimon55 by amarseille-206-1-29-132.w81-53.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2004 00:36:08 +0200 From: Ronald Date: Tue, 03 Aug 2004 00:36:05 +0200 Message-ID: References: <200408020129.58784.paul@codesourcery.com> <20040802122123.GA12786@xi.wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Re: [patch] Fix arm self-modifying code Reply-To: daimon55@free.fr, 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 Le Mon, 02 Aug 2004 14:21:23 +0200, Lennert Buytenhek a écrit : > On Mon, Aug 02, 2004 at 01:29:58AM +0100, Paul Brook wrote: > >> The patch adds the signal handling necessary to make arm self-modifying >> code work. You'll notice it looks remarkably similar to the sparc >> routine :) >> >> This should fix the "uncaught target signal 11" crash people have been >> seeing. > > OK.. I made two 'hello world' binaries with these toolchains: - > armv5te-redhat-linux, gcc 3.3.3, glibc 2.3.2 - arm-unknown-linux-gnu, gcc > 2.95.3, glibc 2.1.3 > > They both fail with 'uncaught target signal 11' when run under latest qemu > plus your patch. > Don't know if this can help but when playing with qemu-ppc I've experienced problem like this. glibc-2.3.2 was build with --enable-kernel=2.4.0, setting this same option to 2.2.0 corrected the whole thing.