summaryrefslogtreecommitdiffstats
path: root/util/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-09-07 20:56:20 +0200
committerRichard Levitte <richard@levitte.org>2016-09-07 21:54:08 +0200
commitc3cfc9962b883a1da7082735f77a9c4b4e4ffdd8 (patch)
tree5ec80f7bb59f95b478a50e49436ed22e61ea8739 /util/build.info
parent92ed7fa575a80955f3bb6efefca9bf576a953586 (diff)
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: Rich Salz <rsalz@openssl.org> (cherry picked from commit 342a1a23793cb99921abeabe882adf8652ba715d)
Diffstat (limited to 'util/build.info')
-rw-r--r--util/build.info2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/build.info b/util/build.info
new file mode 100644
index 0000000000..616fbd7967
--- /dev/null
+++ b/util/build.info
@@ -0,0 +1,2 @@
+SCRIPTS_NO_INST=shlib_wrap.sh
+SOURCE[shlib_wrap.sh]=shlib_wrap.sh.in