[PATCH] D42390: msan: Pass --disable-new-dtags for tests

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 01:52:42 PST 2018


Hahnfeld added a comment.

In https://reviews.llvm.org/D42390#987510, @hintonda wrote:

> Pretty sure /usr/lib gets searched last, i.e., DT_RUNPATH always wins unless LD_LIBRARY_PATH is set.


That's right, unless it's also in LD_LIBRARY_PATH

> As a general rule, only set LD_LIBRARY_PATH as a last resort, and if you have a special case, use a wrapper script.

You are the first person to say that and in general the tests shouldn't fail just because someone needed to use the "last resort".


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D42390





More information about the llvm-commits mailing list