Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 458324

Summary: =app-emulation/qemu-1.2.2-r2 fails to compile with clang-3.2
Product: Gentoo Linux Reporter: Vicente Olivert Riera (RETIRED) <vincent>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED INVALID    
Severity: enhancement CC: cardoe
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: qemu-1.2.2-r2:20130219-163029.log

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.