[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 04:05:22 PST 2017

Hahnfeld added a comment.

In https://reviews.llvm.org/D26244#641099, @chandlerc wrote:

> Those are just the libriaries LLVM is installing.
> If it is installed into a prefix, say, /opt/mumble/{bin,lib,...} along with other libraries, then suddenly that directory is searched in a very different place.
> I'm not arguing one way or the other here. I'm pointing out that this is a *huge* change to make. It will cause a large number of users to silently have a different library search path than they have had before, something that has been fairly stable for several years. So whatever we do must be considered very carefully.

Haven't thought about that! If I don't install to `/usr/lib`, I usually only install one software per prefix but there might be cases where that is not true.

What do you propose? Should I send an RFC to cfe-dev?


More information about the cfe-commits mailing list