From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2ph6-0003Lg-HE for qemu-devel@nongnu.org; Mon, 25 Jun 2007 10:37:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2ph3-0003LU-VA for qemu-devel@nongnu.org; Mon, 25 Jun 2007 10:37:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2ph3-0003LR-QO for qemu-devel@nongnu.org; Mon, 25 Jun 2007 10:37:29 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2ph3-0007Q5-Dy for qemu-devel@nongnu.org; Mon, 25 Jun 2007 10:37:29 -0400 Message-Id: <1182782247.25793.1196925235@webmail.messagingengine.com> From: "Alexander van Heukelum" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 References: <1182690837.14203.1196763767@webmail.messagingengine.com> <200706241422.19597.rob@landley.net> In-Reply-To: <200706241422.19597.rob@landley.net> Date: Mon, 25 Jun 2007 16:37:27 +0200 Subject: [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley , Qemu list On Sun, 24 Jun 2007 14:22:19 -0400, "Rob Landley" said: > On Sunday 24 June 2007 09:13:57 Alexander van Heukelum wrote: > > Hi, > > > > $SUBJECT > > > > At least for me ;), for the latest snapshot of qemu, on Ubuntu 7.04 > > on an AMD Opteron system. >=20 > Yeah, I think that's what I'm seeing too. Could you tell the list > instead of=20 > just me? :) >=20 Hi all, Well, http://qemu.com/lists.html is down at the moment, so I have no idea if the fix has appeared here yet, but the patch attached to the following Ubuntu bug report fixes the segfault at startup of qemu-i386. https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/90660 (patch copy/pasted below, so it will be damaged) --- linux-user/main.c (r=C3=A9vision 527) +++ linux-user/main.c (copie de travail) @@ -44,7 +44,7 @@ =20 /* for recent libc, we add these dummy symbols which are not declared when generating a linked object (bug in ld ?) */ -#if (__GLIBC__ > 2 || (__GLIBC__ =3D=3D 2 && __GLIBC_MINOR__ >=3D 3)) && !defined(CONFIG_STATIC) +#if (__GLIBC__ =3D=3D 2 && __GLIBC_MINOR__ =3D=3D 3) && !defined(CONFIG_ST= ATIC) long __preinit_array_start[0]; long __preinit_array_end[0]; long __init_array_start[0]; > Rob > --=20 > "One of my most productive days was throwing away 1000 lines of code." > - Ken Thompson. --=20 Alexander van Heukelum heukelum@fastmail.fm --=20 http://www.fastmail.fm - Choose from over 50 domains or use your own