Date: Mon, 11 Jun 2012 18:30:42 -0400 From: Brandon Falk <bfalk_bsd@brandonfa.lk> To: freebsd-emulation@freebsd.org Subject: Building QEMU with clang Message-ID: <4FD67192.2010001@brandonfa.lk>
next in thread | raw e-mail | index | archive | help
Greetings,
I could go on a rant, but I'll keep it short and sweet. I'm wondering if
there are any efforts to get QEMU building with clang. I know this
should go on the QEMU mailing lists, but I wanted to post it here as
well as I'd be using FreeBSD as the host.
When working with qemu-devel (with --enable-tcg-interpreter), I get:
multiboot.S:31:8: error: .code16 not supported yet
multiboot.S:123:17: error: unexpected token in argument list
data32 lgdt %gs:6
^
multiboot.S:131:15: error: unknown token in expression
data32 ljmp *%gs:0
Now, code16 is a pretty big deal, and that's obviously a feature that
clang needs to add. However what is it with the complaints of the other
two (I'm an Intel syntax guy, not AT&T :P)?
Semi-sidenote:
Since clang does not support global registers, --enable-tcg-interpreter
has to be specified to ./configure. This should be added to the port as
an option.
-Brandon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD67192.2010001>
