qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: thayne@c2.net
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-i386 does not start on x86_64 or i686
Date: Fri, 26 Oct 2007 14:15:48 -0500	[thread overview]
Message-ID: <200710261415.49327.rob@landley.net> (raw)
In-Reply-To: <1193361595.5384.13.camel@phantasm.home.enterpriseandprosperity.com>

On Thursday 25 October 2007 8:19:55 pm Thayne Harbaugh wrote:
> Ick.  There's some funky magic going on in qemu/x86_64.ld and the above
> patch is a hack-around.  The segfault is caused by preinit_array
> function pointers (which are NULL) being dereferenced.  This is a great
> opportunity for you to put your super-sleuth skills to work and figure
> out the details and fix it. 8^)

I did.  "rm /usr/local/bin/qemu-i386:

My build system only tries to use application emulation as a smoke test on the 
cross compiler (build a static "hello world" for the target and see if you 
get hello world) if the relevant qemu-$target exists.  If the relevant 
qemu-$target isn't there (ala qemu-x86_64) then the test is automatically 
skipped.

99% of what I use qemu for is system emulation, and that works fine for me.  
I'm happy to test out other people's fixes for this, but by response to the 
weird prelinking logic would probably be "rip it all out", and I suspect it's 
there for a reason.

Most of the qemu developers seem to be happy if it works on their machines.  
Thus obscure things nobody uses (like gcc 4.x and Ubuntu 7.04) fall through 
the cracks.  If there was a stable release coming I might take a little more 
interest in solving this problem before then, but the last few times I asked 
there were no plans for such.

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

      reply	other threads:[~2007-10-26 18:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 21:46 [Qemu-devel] qemu-i386 does not start on x86_64 or i686 Ronan Keryell
2007-10-20  6:18 ` Rob Landley
2007-10-22 13:44 ` Thayne Harbaugh
2007-10-26  0:52   ` Rob Landley
2007-10-26  1:19     ` Thayne Harbaugh
2007-10-26 19:15       ` Rob Landley [this message]

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=200710261415.49327.rob@landley.net \
    --to=rob@landley.net \
    --cc=qemu-devel@nongnu.org \
    --cc=thayne@c2.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 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).