Skip to content

Commit c0ef60b

Browse files
committed
bunch of debug logs for build_src
1 parent 90dfff5 commit c0ef60b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

ci/dash/build_src.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,26 @@ rm -rf build-ci
4545
mkdir build-ci
4646
cd build-ci
4747

48+
echo "debug_tsan clang version:"
49+
clang++ --version || echo "failure"
50+
51+
echo "debug_tsan ld config:"
52+
ldconfig -p || echo "failure"
53+
54+
echo "debug_tsan ld config libc++"
55+
(ldconfig -p | grep libc++ ) || echo "failure"
56+
57+
echo "debug_tsan ldconfig libstdc++"
58+
(ldconfig -p | grep libstdc++ ) || echo "failure"
59+
60+
echo "debug_tsan sanitize"
61+
echo 'int main() { return 0; }' > test.cpp
62+
clang++ -stdlib=libc++ -std=c++17 -fsanitize=thread test.cpp -o test || echo "failure"
63+
64+
echo 'debug_tsan verbose'
65+
clang++ -stdlib=libc++ -std=c++17 -fsanitize=thread -v test.cpp || echo "failure"
66+
67+
4868
bash -c "../configure $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG" || ( cat config.log && false)
4969
make distdir VERSION=$BUILD_TARGET
5070

0 commit comments

Comments
 (0)