Summary: | sys-devel/clang-12.0.0-r1 compilation failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mscardovi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
clang-12.0.0-r1:20210616-143524.log.gz
clang-12.0.0-r1:20210616-143241.log.gz (compilation with gcc) |
Description
Paolo Pedroni
2021-06-16 14:39:42 UTC
On my system clang (and all the toolchain) is built with the following environment variables set: CC="clang" CPP="clang-cpp" CXX="clang++" LD="ld.lld" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -ftree-vectorize -flto=thin" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -ftree-vectorize -flto=thin" LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -ftree-vectorize -fuse-ld=lld -flto=thin" AR="llvm-ar" NM="llvm-nm" STRIP="llvm-strip" RANLIB="llvm-ranlib" OBJCOPY="llvm-objcopy" OBJDUMP="llvm-objdump" OBJSIZE="llvm-size" READELF="llvm-readelf" I also tried building sys-devel/clang-12.0.0-r1 with gcc, but the compilation stops at the same point with a different (and much longer) error. Created attachment 716460 [details]
clang-12.0.0-r1:20210616-143241.log.gz (compilation with gcc)
Problem was apparently on my end. After building llvm and clang with gcc, and then rebuilding with clang, the failure disappeared. Closing as INVALID. |