[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 996303] Re: does not work with clang
From: |
Wei-Ren Chen |
Subject: |
[Qemu-devel] [Bug 996303] Re: does not work with clang |
Date: |
Wed, 09 May 2012 07:02:24 -0000 |
O.K., the first thing you need to know is llvm-gcc uses GCC as it's
frontend to parse your source code, and uses LLVM as it's backend to
generate binary. In order to support global register correctly, not only
the frontend has to be able to recognize the global register syntax, but
also the LLVM backend is required to do the right thing. Since LLVM
doesn't support global register, even llvm-gcc can recognize the
global register syntax (uses GCC frontend), it cannot generate correct
binary. So this might be the problem you hit.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/996303
Title:
does not work with clang
Status in QEMU:
New
Bug description:
Frozen on start.
CPU: dual-core 64-bit penryn
MacOS: 10.7.3-x86_64
Xcode: 4.3.2
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
MAKEFLAGS: -j2
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/996303/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |