-
Notifications
You must be signed in to change notification settings - Fork 37.8k
ci: Use clang-15 in tsan task #26768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "2212-tsan-15-\u{1F47A}"
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK.
fad3f96
to
fa13f22
Compare
Temporarily set
|
fa13f22
to
faa00ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK faa00ca
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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_cmds
and drop NO_QR=1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)