* [Qemu-devel] [PATCH 0/4] Intel Mac OS X Host support
@ 2008-01-31 15:55 Alexander Graf
2008-02-01 21:10 ` Mike Kronenberg
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Graf @ 2008-01-31 15:55 UTC (permalink / raw)
To: qemu-devel
Hi,
supporting Mac OS X on Intel has been a long standing issue. The Q
project has done a fabulous job maintaining patches that make things
work for i386 Mac OS X, but do invasive changes to qemu internals.
This set of patches attempts to make Mac OS X host support as
compatible as possible to the existing Linux host and PowerPC Mac OS X
support. Of course this means, that as long as Linux gcc4 support is
broken, it won't work on Mac OS X either. Nevertheless all changes
necessary to support the binary format (Mach-O) and several other
minor issues that are Mac specific can be easily added to the existing
code base without harming other platforms.
This way people who want to run qemu on Mac OS X only have to maintain
gcc4 patches and no Apple specific ones.
Please comment on these patches. Commits are welcome too.
Regards,
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH 0/4] Intel Mac OS X Host support
2008-01-31 15:55 Alexander Graf
@ 2008-02-01 21:10 ` Mike Kronenberg
0 siblings, 0 replies; 4+ messages in thread
From: Mike Kronenberg @ 2008-02-01 21:10 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]
On 31.01.2008, at 16:55, Alexander Graf wrote:
> Hi,
>
> supporting Mac OS X on Intel has been a long standing issue. The Q
> project has done a fabulous job maintaining patches that make things
> work for i386 Mac OS X, but do invasive changes to qemu internals.
>
> This set of patches attempts to make Mac OS X host support as
> compatible as possible to the existing Linux host and PowerPC Mac OS
> X support. Of course this means, that as long as Linux gcc4 support
> is broken, it won't work on Mac OS X either. Nevertheless all
> changes necessary to support the binary format (Mach-O) and several
> other minor issues that are Mac specific can be easily added to the
> existing code base without harming other platforms.
>
> This way people who want to run qemu on Mac OS X only have to
> maintain gcc4 patches and no Apple specific ones.
>
> Please comment on these patches. Commits are welcome too.
>
> Regards,
>
> Alex
>
>
Hi Alex,
txs for preparing Ground for mach-o.
I think this is the right way to go, as these patches in one or the
other form are needed with tcg, too.
ATM I try to test on a i386 Mac, but I somehow lost track of all
patches.
I tried a build with qemu 20081018 and gcc patches 1/5, 2/5, 3/5, 4/5
and 1/4, 2/4, 3/4 and 4/4... it builds, but loads of
/var/folders/Td/TdBadE0bFQuD2AmzgK43q++++TI/-Tmp-//ccIs2Keq.s:
31549:indirect call without `*'
and the binary segfaults immediately.
Did I miss a patch... or is that where i start to debug? ;)
Mike
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2111 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH 0/4] Intel Mac OS X Host support
@ 2008-02-02 8:38 Alexander Graf
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Graf @ 2008-02-02 8:38 UTC (permalink / raw)
To: qemu-devel
Hi Mike,
Sorry for top posting, but I left my macbook at work, so I'm stuck with my mobile that does not know how to do inline replies.
As stated in the patchset, it brings osx en pair with Linux hosts. This means if Linux gcc4 support is broken, osx gcc4 support is broken as well.
Nevertheless I believe this is the way to go, as it makes osx just 'yet another gcc4 only distribution'.
i386 host:
You are exactly where I am. To build the i386 target, deactivate the assembler optimized softmmu (target-i386/op.c on the top). Maybe Fabrice can tell us more about this, as he supposedly tried to fix this exact issue.
x86_64 target support is broken. It is on Linux with the gcc4 patches too though.
Other targets may or may not work. As long as they are 32 bits, I think they do, but I did not test it.
x86_64 host:
This one should work just fine. If you find any issues here, please tell me
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH 0/4] Intel Mac OS X Host support
@ 2008-02-02 8:45 Alexander Graf
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Graf @ 2008-02-02 8:45 UTC (permalink / raw)
To: qemu-devel
Hi Mike,
Sorry for top posting, but I left my macbook at work, so I'm stuck with my mobile that does not know how to do inline replies.
As stated in the patchset, it brings osx en pair with Linux hosts. This means if Linux gcc4 support is broken, osx gcc4 support is broken as well.
Nevertheless I believe this is the way to go, as it makes osx just 'yet another gcc4 only distribution'.
i386 host:
You are exactly where I am. To build the i386 target, deactivate the assembler optimized softmmu (target-i386/op.c on the top). Maybe Fabrice can tell us more about this, as he supposedly tried to fix this exact issue.
x86_64 target support is broken. It is on Linux with the gcc4 patches too though.
Other targets may or may not work. As long as they are 32 bits, I think they do, but I did not test it.
x86_64 host:
This one should work just fine. If you find any issues here, please tell me
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-02 8:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 8:45 [Qemu-devel] [PATCH 0/4] Intel Mac OS X Host support Alexander Graf
-- strict thread matches above, loose matches on Subject: below --
2008-02-02 8:38 Alexander Graf
2008-01-31 15:55 Alexander Graf
2008-02-01 21:10 ` Mike Kronenberg
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).