| Summary: | sys-devel/clang: wrong chost prefix | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexey Korepanov <kaikaikai> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | kaikaikai |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info clang
build.log compressed |
||
Created attachment 522946 [details]
build.log compressed
compilation of sys-libs/compiler-rt breaks with
CMake Error at CMakeLists.txt:14 (project):
The CMAKE_ASM_COMPILER:
aarch64-linux-gnu-clang
is not a full path and was not found in the PATH.
I found out that I need to specify CHOST_arm64 in the make.conf.
This fixed the problem.
CHOST=aarch64-linux-gnu
CHOST_arm64="${CHOST}"
|
Created attachment 522944 [details] emerge --info clang Hi, my make.conf defines CHOST=aarch64-linux-gnu With clang-5.0.1, the binaries are installed instead with aarch64-unknown-linux-gnu prefix. This breaks compilation of clang-dependent packages.