From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Build failure on OS X
Date: Mon, 01 Oct 2007 04:36:41 +0200 [thread overview]
Message-ID: <1191206201.29900.157.camel@rapid> (raw)
In-Reply-To: <6610E5F6-24CA-4DF0-83F5-0E63683CBF51@web.de>
On Sun, 2007-09-30 at 17:05 +0200, Andreas Färber wrote:
> Am 30.09.2007 um 16:37 schrieb J. Mayer:
>
> >> If someone has a speedup idea for the __APPLE__ case, that could
> >> still be applied separately.
> >
> > I guess there are some already defined macros in the Apple build
> > environmnet that should be used instead. But I don't know too much
> > about
> > this environment... The slowdown is really not an issue in that
> > particular case.
>
> Actually, I am now seeing that in math.h Apple itself uses
> __attribute__ ((always_inline)) for __MATH_H_ALWAYS_INLINE__ if
> __GNUC__ is defined ... so I now believe the issue is rather the
> "recursive" definition of always_inline: QEMU defines always_inline
> and it subsequently tries to replace always_inline inside the
> __attribute__(()) in math.h! Could this be it?
>
>
> >> Either way, if I run "qemu-system-ppc -boot d -cdrom debian-40r0-
> >> powerpc-DVD-1.iso" this is what I get:
> >>
> >> starting qemu...
> >> qemu: fatal: Unable to find PowerPC CPU definition
> >>
> >> NIP fffffffc LR 00000000 CTR 00000000
> >> Bus error
> >
> >> I haven't used it in a while; as reported earlier, it didn't really
> >> work back then either, but it worked "more", i.e. started to boot.
> >> But this is with or without the patch, so unrelated - just saying I
> >> can't confirm that this patch works 100%.
> >
> > OK, just checked and I have this problem too. Will fix it as soon as I
> > can.
> > In between, you can just try to force the CPU, adding '-cpu 750' or
> > '-cpu 604' to your command line.
> >
> > Thanks for this report !
>
> Looks better, but still does not boot:
There are known issues with the PowerPC emulation:
Prep has been broken long ago by PCI patches. One has reported the exact
patch that did break it but the ones who did that patch never felt like
he has to take care of making it work properly and I did not have time
or motivation to search more.
As far as I know, the mac99 target is the one known to run but
unfortunately some patches have broken the IDE CDROM support during this
summer. I will have to find a work-around in the firmware as I also
noticed that it was bugged when ran on real hardware. For now, I do all
my test booting on hard drive disk images or flash images (for PowerPC
405). I'm currently working on the core emulation but I will come back
to do some fixes in the hw part / firmware part soon.
[....]
--
J. Mayer <l_indien@magic.fr>
Never organized
prev parent reply other threads:[~2007-10-01 2:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-30 10:09 [Qemu-devel] Build failure on OS X Andreas Färber
2007-09-30 11:45 ` J. Mayer
2007-09-30 12:05 ` Andreas Färber
2007-09-30 12:17 ` J. Mayer
2007-09-30 13:08 ` Andreas Färber
2007-09-30 13:27 ` J. Mayer
2007-09-30 14:28 ` Andreas Färber
2007-09-30 14:37 ` J. Mayer
2007-09-30 15:05 ` Andreas Färber
2007-09-30 15:54 ` Andreas Färber
2007-10-03 11:12 ` Andreas Färber
2007-10-01 2:36 ` J. Mayer [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=1191206201.29900.157.camel@rapid \
--to=l_indien@magic.fr \
--cc=qemu-devel@nongnu.org \
/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).