ci: Use clang-15 in tsan task#26768
Hidden character warning
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
fad3f96 to
fa13f22
Compare
|
Temporarily set |
fa13f22 to
faa00ca
Compare
| export DEP_OPTS="CC=clang-13 CXX='clang++-13 -stdlib=libc++'" | ||
| export DOCKER_NAME_TAG=debian:bookworm # For clang-15 | ||
| export PACKAGES="clang-15 llvm-15 libc++abi-15-dev libc++-15-dev python3-zmq" | ||
| export DEP_OPTS="CC=clang-15 CXX='clang++-15 -stdlib=libc++' NO_QR=1" # qr disabled due to libqrencode 3.4.4 compile failure, https://github.com/bitcoin/bitcoin/pull/26768#issuecomment-1367403430 |
There was a problem hiding this comment.
FWIW, bumping qrencode package version doesn't help. Maybe
--- a/depends/packages/qrencode.mk
+++ b/depends/packages/qrencode.mk
@@ -10,6 +10,7 @@ $(package)_config_opts += --disable-gprof --disable-gcov --disable-mudflap
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
$(package)_config_opts_linux=--with-pic
$(package)_config_opts_android=--with-pic
+$(package)_cflags = -Wno-error=int-conversion
endef
define $(package)_preprocess_cmdsand drop NO_QR=1?
There was a problem hiding this comment.
Not sure. I'd prefer to keep build system changes separate from CI-only changes.
|
https://api.cirrus-ci.com/v1/task/6394543940042752/logs/ci.log: |
|
Might be best to revert everything and report the bug, given that it exists in clang-14 and -15. |
Agree. |
Generally it is best to use the latest clang version for sanitizers, because it comes with the most features and bugfixes.
So bump to clang-15, the latest release, for the tsan task.
The task was using clang-13 (instead of 14) due to a bug, see #24572 (comment). Bumping to 15 will hopefully fix this bug, as well as #26759 (comment)