Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458324 - =app-emulation/qemu-1.2.2-r2 fails to compile with clang-3.2
Summary: =app-emulation/qemu-1.2.2-r2 fails to compile with clang-3.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2013-02-19 17:20 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2013-02-19 18:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qemu-1.2.2-r2:20130219-163029.log (file_458324.txt,409.90 KB, text/plain)
2013-02-19 17:20 UTC, Vicente Olivert Riera (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2013-02-19 17:20:08 UTC
Created attachment 339376 [details]
qemu-1.2.2-r2:20130219-163029.log

# clang --version
clang version 3.2 (tags/RELEASE_32/final)
Target: x86_64-pc-linux-gnu
Thread model: posix

# cat /etc/portage/env/clang
CC=clang
CXX=clang++

# cat /etc/portage/env/clang-lto 
CC='clang'
CXX='clang++'
CFLAGS="${CFLAGS} -O4"
CXXFLAGS="${CXXFLAGS} -O4"
LDFLAGS="${LDFLAGS} -O4 -Wl,-plugin,/usr/lib/llvm/LLVMgold.so"
AR='/usr/local/bin/clang-ar'
RANLIB=':'
NM='nm --plugin /usr/lib64/llvm/LLVMgold.so'
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-02-19 18:56:09 UTC
qemu needs 16-bit x86 code, which clang can't generate currently so this won't build with clang.