MaskRay wrote: NAK.
(LibraryPaths is primarily intended for compiler-rt libraries.) Maintaining compatibility by itself isn’t sufficient, as each entry could subtly shift library selection precedence, and the code here reflects a certain level of upstream (llvm-project) preference. We should ensure that the items listed align with typical Linux installations. I don’t think that finding compiler-rt libraries in $sysroot/lib warrants changes to the Linux toolchain code. Moreover, we discourage such file hierarchies. If your downstream setup demands this, consider exploring a Clang configuration file (see: https://blogs.gentoo.org/mgorny/2022/10/07/clang-in-gentoo-now-sets-default-runtimes-via-config-file/). https://github.com/llvm/llvm-project/pull/132443 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits