-
Notifications
You must be signed in to change notification settings - Fork 38.7k
ci: Use clang-12 and libcxx-12 for msan #23008
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
Conversation
ee6d115 to
37da046
Compare
|
Concept ACK |
37da046 to
3a35efa
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
3a35efa to
cc0278f
Compare
cc0278f to
b8eeea1
Compare
ce9d8a9 to
f6c359f
Compare
f6c359f to
634311d
Compare
be675bf to
cc07bb4
Compare
3566353 ci: remove compiled-but-unused BDB from MSAN job (fanquake) Pull request description: Self-compiled BDB was added to this job as opposed to using depends BDB [due to linking issues](bitcoin#18288 (comment)), however the compiled BDB is not actually used. Remove it for now, given we don't actually lose any coverage (note that BDB is also not currently used in the naitve MSAN fuzz job or for [OSS Fuzz](https://github.com/google/oss-fuzz/blob/master/projects/bitcoin-core/build.sh#L32) builds). In future, we can use depends BDB, however introducing it now will cause false positives, which can be fixed by upgrading the versions of Clang / LLVM we use, however upgrading to those newer versions causes other issues, which appear in standard library code, and require more involved suppressing, which can be solved in a follow up or another PR i.e bitcoin#23008. Top commit has no ACKs. Tree-SHA512: 9e8fdd95246cafa27cda7bcf0641b428d4573f6748ecdf07cc6205a64351db22ba383ec943e88a69df3694ccb9f125d994b64345a4e44fb6fea4a014504760d1
|
FWIW, clang-14 is available on Ubuntu 22.04 now: |
fab9af1 to
fa0e2d6
Compare
|
While CI passes, I've changed this to use matching versions of clang and libcxx, since it is unclear if mismatching versions are supported. |
|
CI is finally green |
fanquake
left a comment
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 fa73f8a - --disable-hardening matches what was just added to oss-fuzz.
The MSan issue was fixed in llvm-10. We have been using llvm-12 since bitcoin#23008.
Run the latest sanitizers to get the most implemented features