[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes.
From: |
Alexander van Heukelum |
Subject: |
[Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes. |
Date: |
Mon, 25 Jun 2007 16:37:27 +0200 |
On Sun, 24 Jun 2007 14:22:19 -0400, "Rob Landley" <address@hidden>
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.
>
> Yeah, I think that's what I'm seeing too. Could you tell the list
> instead of
> just me? :)
>
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évision 527)
+++ linux-user/main.c (copie de travail)
@@ -44,7 +44,7 @@
/* for recent libc, we add these dummy symbols which are not declared
when generating a linked object (bug in ld ?) */
-#if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) &&
!defined(CONFIG_STATIC)
+#if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 3) && !defined(CONFIG_STATIC)
long __preinit_array_start[0];
long __preinit_array_end[0];
long __init_array_start[0];
> Rob
> --
> "One of my most productive days was throwing away 1000 lines of code."
> - Ken Thompson.
--
Alexander van Heukelum
address@hidden
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
- [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes.,
Alexander van Heukelum <=