[libcxx-commits] [libcxx] [libc++] Don't build against libcxxrt by default on FreeBSD (PR #84484)

Dimitry Andric via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 11 06:51:29 PDT 2024


DimitryAndric wrote:

Yes, I have seen this problem before when doing a multi-stage build. The intermediate tblgen binaries are linked against the freshly produced `libc++.so.1`, and in turn this `libc++.so.1` has a `NEEDED` entry for libc++abi.so.1, but no `RPATH` or `RUNPATH` entry. It really should have one, since it is _not_ supposed to go look for `libc++abi.so.1` in any system directory, only its own runtime library directory.


https://github.com/llvm/llvm-project/pull/84484


More information about the libcxx-commits mailing list