All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander van Heukelum" <heukelum@fastmail.fm>
To: Rob Landley <rob@landley.net>, Qemu list <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes.
Date: Mon, 25 Jun 2007 16:37:27 +0200	[thread overview]
Message-ID: <1182782247.25793.1196925235@webmail.messagingengine.com> (raw)
In-Reply-To: <200706241422.19597.rob@landley.net>

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

       reply	other threads:[~2007-06-25 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1182690837.14203.1196763767@webmail.messagingengine.com>
     [not found] ` <200706241422.19597.rob@landley.net>
2007-06-25 14:37   ` Alexander van Heukelum [this message]
2007-06-26  3:34     ` [Qemu-devel] Re: QEMU: "qemu -M pc" works, "qemu-i386" crashes Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1182782247.25793.1196925235@webmail.messagingengine.com \
    --to=heukelum@fastmail.fm \
    --cc=qemu-devel@nongnu.org \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.