[PATCH] D26244: [Driver] Prefer libraries installed next to Clang over those from GCC

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 00:36:52 PST 2017


Hahnfeld added a comment.

This change doesn't break existing tests but maybe I should extend `linux-ld.c` and so on?

About the impact: Which libraries are there next to clang that could conflict with the system? When I look at my current installation dir:

- `libLLVM*`, `libclang*`, `liblld*` libraries which should be fine to use
- `libc++`, `libc++experimental`, `libc++abi` and `libunwind` which we really want to use IMO
- OpenMP runtime(s) which are fine to use (or even better than the system default)
- I'm not sure about `libLTO` but I *think* that users do not link to this library directly?


https://reviews.llvm.org/D26244





More information about the cfe-commits mailing list