-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularlibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Description
When build LLVM/CLang release/14.x
with -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON
and -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu
:
$ readelf -d clang-14 | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib]
It should be:
$ readelf -d clang-14 | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib:$ORIGIN/../lib/x86_64-unknown-linux-gnu]
Metadata
Metadata
Assignees
Labels
cmakeBuild system in general and CMake in particularBuild system in general and CMake in particularlibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.