[clang] [flang] [flang][Driver] When linking with the Fortran runtime, the `addArchSpecificRPath()` should be called too (PR #114837)
Paul Osmialowski via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 5 12:33:55 PST 2024
pawosm-arm wrote:
> `addSanitizerRuntime` and `addOpenMPRuntime` are already calling `addArchSpecificRPath`. It it a problem if rpath is added multiple times?
For a reference, in case of Clang and C code utilizing OpenMP, -rpath is given at least twice: `"/usr/bin/ld" .... "-rpath" "/opt/llvm/lib/clang/20/lib/aarch64-unknown-linux-gnu" "-rpath" "/opt/llvm/bin/../lib/aarch64-unknown-linux-gnu" "-L/opt/llvm/lib"`
https://github.com/llvm/llvm-project/pull/114837
More information about the cfe-commits
mailing list