[Openmp-commits] [PATCH] D118493: Set rpath on openmp executables

Fangrui Song via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 23 20:35:59 PST 2023


MaskRay added a comment.

Enabled-by-default `-fopenmp-implicit-rpath` is odd. For other shared objects (e.g. `libclang_rt.*.so`) we don't do this.
For libraries in a well-known system directory, we just rely on the default `/etc/ld.so.conf*`.
For libraries in other directories or when `--sysroot=` is specified, the user is responsible to set up it correctly.
An opt-out behavior causes follow-up workarounds like D142174 <https://reviews.llvm.org/D142174>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118493/new/

https://reviews.llvm.org/D118493



More information about the Openmp-commits mailing list