Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458316 - =sys-firmware/sgabios-0.1_pre8 fails to compile with clang-3.2
Summary: =sys-firmware/sgabios-0.1_pre8 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 16:29 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2013-02-19 18:55 UTC (History)
1 user (show)

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


Attachments
sgabios-0.1_pre8:20130219-155002.log (file_458316.txt,4.91 KB, text/plain)
2013-02-19 16:30 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 16:29:55 UTC
$ 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 Vicente Olivert Riera (RETIRED) gentoo-dev 2013-02-19 16:30:45 UTC
Created attachment 339372 [details]
sgabios-0.1_pre8:20130219-155002.log
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-02-19 18:55:28 UTC
Considering clang can't create 16-bit code for x86 so until it does this won't work.