Commit c3cfc996 authored by Richard Levitte's avatar Richard Levitte Committed by Richard Levitte
Browse files

Allow asan, msan and ubsan to be configured with shared libraries



The background story is that util/shlib_wrap.sh was setting LD_PRELOAD
or similar platform dependent variables, just in case the shared
libraries were built with -rpath.  Unfortunately, this doesn't work
too well with asan, msan or ubsan.

So, the solution is to forbid the combination of shared libraries,
-rpath and any of the sanity analyzers we can configure.

This changes util/shlib_wrap.sh so it only contains the code that sets
LD_PRELOAD when -rpath has been used when configuring.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 342a1a23)
parent 92ed7fa5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment