| Summary: | sys-devel/clang-4.0.0_rc1: build fails with clang++-4.0 -stdlib=libc++ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Yuta SATOH <nigoro.dev> |
| Component: | Current packages | Assignee: | LLVM support project <llvm> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
|
Description
Yuta SATOH
2017-01-31 10:26:18 UTC
Note,
USE="clang" sys-devel/llvm-3.9.1-r1 will compile successfully.
# clang++ -v
clang version 4.0.0 (tags/RELEASE_400/rc1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
# USE="clang" CC=clang CXX="clang++ -stdlib=libc++" ebuild llvm-3.9.1-r1.ebuild clean compile
...
>>> Source compiled.
Could you paste a full run-through of package versions? I'm particular interested in libcxx* version used. Created attachment 463390 [details] emerge --info (In reply to Michał Górny from comment #2) > Could you paste a full run-through of package versions? I'm particular > interested in libcxx* version used. The version of all packages except sys-libs/libcxxrt is 4.0.0_rc1. # USE="-doc libcxx" emerge -pv sys-devel/clang sys-devel/clang-runtime sys-libs/compiler-rt-sanitizers sys-libs/libcxx sys-libs/compiler-rt sys-libs/libomp sys-devel/llvm sys-libs/libcxxrt These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R #] sys-libs/libomp-4.0.0_rc1::gentoo USE="-hwloc -ompt {-test}" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R ~] sys-libs/libcxxrt-0.0_p20160922::gentoo USE="static-libs -libunwind" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R #] sys-devel/llvm-4.0.0_rc1:0/4::gentoo USE="libffi ncurses -debug -doc -gold -libedit -multitarget {-test}" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore" 0 KiB [ebuild R #] sys-libs/compiler-rt-sanitizers-4.0.0_rc1:0/4.0::gentoo USE="{-test}" 0 KiB [ebuild R #] sys-libs/libcxx-4.0.0_rc1::gentoo USE="libcxxrt static-libs -libcxxabi -libunwind {-test}" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R #] sys-libs/compiler-rt-4.0.0_rc1:0/4.0::gentoo USE="{-test}" 0 KiB [ebuild R #] sys-devel/clang-runtime-4.0.0_rc1::gentoo USE="compiler-rt libcxx openmp sanitize" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R #] sys-devel/clang-4.0.0_rc1:0/4::gentoo USE="static-analyzer -debug -default-compiler-rt -default-libcxx -doc -multitarget -python {-test} -xml" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 0 KiB Total: 8 packages (8 reinstalls), Size of downloads: 0 KiB I'm sorry but we can't provide proper support for multiple versions of LLVM packages. If you can still reproduce the problem with 7.0.1 series, please open a new bug. |