Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bt7Bf-0005VQ-Py for qemu-devel@nongnu.org; Fri, 06 Aug 2004 12:03:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bt7Bc-0005Sr-It for qemu-devel@nongnu.org; Fri, 06 Aug 2004 12:03:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bt7Bb-0005Qp-Jo for qemu-devel@nongnu.org; Fri, 06 Aug 2004 12:03:15 -0400 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bt77n-0006Vu-Cw for qemu-devel@nongnu.org; Fri, 06 Aug 2004 11:59:19 -0400 Date: Fri, 6 Aug 2004 17:59:15 +0200 From: Lennert Buytenhek Subject: [PROBLEM FOUND] qemu-arm on FC2 (was: Re: [Qemu-devel] ARM in big endian mode?) Message-ID: <20040806155915.GA32210@xi.wantstofly.org> References: <20040703160324.GD8894@xi.wantstofly.org> <1088940620.840.1.camel@sherbert> <20040704115730.GA21047@xi.wantstofly.org> <1089587847.4217.10.camel@localhost.localdomain> <20040711234327.GA16750@xi.wantstofly.org> <1091804107.4383.4898.camel@hades.cambridge.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1091804107.4383.4898.camel@hades.cambridge.redhat.com> 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 On Fri, Aug 06, 2004 at 03:55:07PM +0100, David Woodhouse wrote: > > > > % ./qemu-arm ./x > > > > qemu: uncaught target signal 11 (Segmentation fault) - exiting > <...> > > Just checked, and indeed, LE binaries segfault too. > <...> > > So it looks like it (might have) worked in the past but broke somewhere > > between then and now. > > Are you using a newer glibc now than the one you were using before? Yes. Now I'm using Fedora Core 2, but Red Hat 9 back then, I think. I just found some time for some more testing, and it's FC2's noexecstack messing up in this particular case. If I create, using gcc 2.95.3 and glibc 2.1.3 vanilla, a static ARM little-endian "Hello world" binary, and run it with qemu-arm latest CVS, it works if I specify -Wl,-z,execstack when linking qemu-arm, and crashes with sig11 if I do not. --L