aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_fuzz_with_valgrind.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-07-20 09:11:15 +0100
committerfanquake <fanquake@gmail.com>2022-07-21 10:16:46 +0100
commitcc5b39e44ec2133df32e059bbe124e33c0a23401 (patch)
tree5e8ad074b27f0875b0965349c0878971fb05cf5e /ci/test/00_setup_env_native_fuzz_with_valgrind.sh
parentd1e42659bbdd8da170542d8c638242cd94f71a7d (diff)
downloadbitcoin-cc5b39e44ec2133df32e059bbe124e33c0a23401.tar.xz
ci: better pin to dwarf4 in valgrind job
Use `-gdwarf` and also set CFLAGS. I was seeing Valgrind issues otherwise.
Diffstat (limited to 'ci/test/00_setup_env_native_fuzz_with_valgrind.sh')
-rwxr-xr-xci/test/00_setup_env_native_fuzz_with_valgrind.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/00_setup_env_native_fuzz_with_valgrind.sh b/ci/test/00_setup_env_native_fuzz_with_valgrind.sh
index 9477fb2d9f..97c530e19e 100755
--- a/ci/test/00_setup_env_native_fuzz_with_valgrind.sh
+++ b/ci/test/00_setup_env_native_fuzz_with_valgrind.sh
@@ -16,5 +16,5 @@ export RUN_FUZZ_TESTS=true
export FUZZ_TESTS_CONFIG="--valgrind"
export GOAL="install"
# Temporarily pin dwarf 4, until valgrind can understand clang's dwarf 5
-export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer CC=clang CXX=clang++ CXXFLAGS='-fdebug-default-version=4'"
+export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer CC=clang CXX=clang++ CFLAGS='-gdwarf-4' CXXFLAGS='-gdwarf-4'"
export CCACHE_SIZE=200M