From 66efcfa85570d0cd306742b11d19c27f135d188d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 28 Feb 2019 09:40:32 +1030 Subject: [PATCH] tools/repro-build.sh: do not turn on address-sanitizer by default. @cdecker reports that this gives warnings on exit; and we can't suppress them by setting ASAN_OPTIONS within the binary itself, unfortunately. So for 0.7, disable it by default. I'll work through the errors for 0.7.1. Signed-off-by: Rusty Russell --- tools/repro-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/repro-build.sh b/tools/repro-build.sh index 4b3e72cf2..37bb3b774 100755 --- a/tools/repro-build.sh +++ b/tools/repro-build.sh @@ -123,7 +123,7 @@ $INST $(cut -c66- < /tmp/SHASUMS) # Build ready for packaging. # Once everyone has gcc8, we can use CC="gcc -ffile-prefix-map=$(pwd)=/home/clightning" -./configure --prefix=/usr --enable-address-sanitizer CC="gcc -fdebug-prefix-map=$(pwd)=/home/clightning" +./configure --prefix=/usr CC="gcc -fdebug-prefix-map=$(pwd)=/home/clightning" # libwally wants "python". Seems to work to force it here. make PYTHON_VERSION=3 make install DESTDIR=inst/