* [Qemu-devel] building qemu on macos mountain lion
@ 2012-08-11 14:11 Peter Maydell
0 siblings, 0 replies; only message in thread
From: Peter Maydell @ 2012-08-11 14:11 UTC (permalink / raw)
To: QEMU Developers; +Cc: Andreas Färber, karl-michael.schindler
[Karl: I've cc'd you because I think you were the person asking about this
on #qemu IRC yesterday. Apologies if I have the wrong person...]
I just had a go at building qemu on macos X (mountain lion). The good news
is I got something working, but I had to fiddle with stuff a bit:
* block/raw-posix.c includes IOKitLib.h -- unless we build with
-DOS_OBJECT_USE_OBJC=0 the system headers end up trying
to use objective C syntax and gcc barfs
* the ui/cocoa.m file uses a system header which pulls in NSTask.h
which uses Apple's non-standard "Blocks" objC extension. I worked
round this by having rules.mak use clang to build all .m files (they
don't use the major gcc-only-ism we need and they link fine with
everything else)
[This is compiling with a fink build of mainline gcc-4.7.1]
Also 'make check' fails:
GTESTER tests/test-iov
send: Message too long
recv: Message too long
GTester: last random seed: R02Sf266e22f7524d5995dc2694b2a44c128
probably we're relying on a linuxism for sendmsg() splitting long messages,
haven't investigated yet.
I'll try to put together some patches for this but thought I'd send this
email to see if anybody else had already looked at them.
-- PMM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-11 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-11 14:11 [Qemu-devel] building qemu on macos mountain lion Peter Maydell
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).