Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Sep 17, 2021

Run the latest sanitizers to get the most implemented features

@fanquake fanquake added the Tests label Sep 17, 2021
@maflcko maflcko force-pushed the 2109-ciMsan13 branch 5 times, most recently from ee6d115 to 37da046 Compare September 24, 2021 12:33
@practicalswift
Copy link
Contributor

Concept ACK

@DrahtBot
Copy link
Contributor

DrahtBot commented Nov 29, 2021

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

@maflcko maflcko force-pushed the 2109-ciMsan13 branch 2 times, most recently from ce9d8a9 to f6c359f Compare February 1, 2022 16:32
@maflcko maflcko force-pushed the 2109-ciMsan13 branch 2 times, most recently from be675bf to cc07bb4 Compare February 18, 2022 16:51
maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Mar 10, 2022
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
@hebasto
Copy link
Member

hebasto commented Mar 13, 2022

FWIW, clang-14 is available on Ubuntu 22.04 now:

$ clang --version
Ubuntu clang version 14.0.0-+rc1-1ubuntu4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

@maflcko maflcko changed the title ci: clang-13 msan ci: Use clang-12 and libcxx-13 for msan Mar 30, 2022
@maflcko maflcko marked this pull request as ready for review March 30, 2022 09:33
@maflcko maflcko force-pushed the 2109-ciMsan13 branch 2 times, most recently from fab9af1 to fa0e2d6 Compare March 30, 2022 09:41
@maflcko maflcko changed the title ci: Use clang-12 and libcxx-13 for msan ci: Use clang-12 and libcxx-14 for msan Mar 30, 2022
@maflcko maflcko changed the title ci: Use clang-12 and libcxx-14 for msan ci: Use clang-12 and libcxx-12 for msan Mar 30, 2022
@maflcko
Copy link
Member Author

maflcko commented Mar 30, 2022

While CI passes, I've changed this to use matching versions of clang and libcxx, since it is unclear if mismatching versions are supported.

@maflcko
Copy link
Member Author

maflcko commented Mar 30, 2022

CI is finally green

Copy link
Member

@fanquake fanquake left a 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.

@fanquake fanquake merged commit 74b011b into bitcoin:master Mar 30, 2022
@maflcko maflcko deleted the 2109-ciMsan13 branch March 31, 2022 07:22
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 3, 2022
hebasto added a commit to hebasto/bitcoin that referenced this pull request Feb 24, 2023
The MSan issue was fixed in llvm-10.
We have been using llvm-12 since bitcoin#23008.
@bitcoin bitcoin locked and limited conversation to collaborators Mar 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants