* [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes.
[not found] ` <200706241422.19597.rob@landley.net>
@ 2007-06-25 14:37 ` Alexander van Heukelum
2007-06-26 3:34 ` Rob Landley
0 siblings, 1 reply; 2+ messages in thread
From: Alexander van Heukelum @ 2007-06-25 14:37 UTC (permalink / raw)
To: Rob Landley, Qemu list
On Sun, 24 Jun 2007 14:22:19 -0400, "Rob Landley" <rob@landley.net>
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
heukelum@fastmail.fm
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes.
2007-06-25 14:37 ` [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes Alexander van Heukelum
@ 2007-06-26 3:34 ` Rob Landley
0 siblings, 0 replies; 2+ messages in thread
From: Rob Landley @ 2007-06-26 3:34 UTC (permalink / raw)
To: Alexander van Heukelum; +Cc: Qemu list
On Monday 25 June 2007 10:37:27 Alexander van Heukelum wrote:
> --- 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];
Nope, I still get an immediate segfault on the snapshot from the 23rd.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-26 3:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1182690837.14203.1196763767@webmail.messagingengine.com>
[not found] ` <200706241422.19597.rob@landley.net>
2007-06-25 14:37 ` [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes Alexander van Heukelum
2007-06-26 3:34 ` Rob Landley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).