ci: Use clang-12 and libcxx-12 for msan #23008

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2109-ciMsan13 changing 3 files +7 −7
  1. MarcoFalke commented at 8:45 AM on September 17, 2021: member

    Run the latest sanitizers to get the most implemented features

  2. fanquake added the label Tests on Sep 17, 2021
  3. MarcoFalke cross-referenced this on Sep 17, 2021 from issue clang-13 msan false positives? by MarcoFalke
  4. MarcoFalke force-pushed on Sep 19, 2021
  5. MarcoFalke force-pushed on Sep 24, 2021
  6. MarcoFalke force-pushed on Sep 24, 2021
  7. MarcoFalke force-pushed on Sep 24, 2021
  8. MarcoFalke force-pushed on Sep 24, 2021
  9. practicalswift commented at 2:04 PM on September 29, 2021: contributor

    Concept ACK

  10. MarcoFalke force-pushed on Oct 20, 2021
  11. DrahtBot cross-referenced this on Nov 29, 2021 from issue build: Propagate user-defined flags to host packages by hebasto
  12. DrahtBot commented at 5:13 AM on November 29, 2021: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    No conflicts as of last run.

  13. MarcoFalke force-pushed on Dec 1, 2021
  14. DrahtBot added the label Needs rebase on Feb 1, 2022
  15. MarcoFalke force-pushed on Feb 1, 2022
  16. DrahtBot removed the label Needs rebase on Feb 1, 2022
  17. MarcoFalke force-pushed on Feb 1, 2022
  18. MarcoFalke force-pushed on Feb 1, 2022
  19. DrahtBot added the label Needs rebase on Feb 3, 2022
  20. MarcoFalke force-pushed on Feb 3, 2022
  21. DrahtBot removed the label Needs rebase on Feb 3, 2022
  22. MarcoFalke force-pushed on Feb 18, 2022
  23. MarcoFalke force-pushed on Feb 18, 2022
  24. fanquake cross-referenced this on Mar 10, 2022 from issue ci: remove compiled-but-unused BDB from MSAN job by fanquake
  25. MarcoFalke referenced this in commit 597ee30b5e on Mar 10, 2022
  26. MarcoFalke force-pushed on Mar 10, 2022
  27. in ci/test/04_install.sh:109 in 943240bdc7 outdated
     108 | +  CI_EXEC "update-alternatives --install /usr/bin/clang++ clang++ \$(which clang++-12) 100"
     109 | +  CI_EXEC "update-alternatives --install /usr/bin/clang clang \$(which clang-12) 100"
     110 |    CI_EXEC "mkdir -p ${BASE_SCRATCH_DIR}/msan/build/"
     111 | -  CI_EXEC "git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-12.0.0 ${BASE_SCRATCH_DIR}/msan/llvm-project"
     112 | -  CI_EXEC "cd ${BASE_SCRATCH_DIR}/msan/build/ && cmake -DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi' -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Memory -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=X86 ../llvm-project/llvm/"
     113 | +  CI_EXEC "git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-13.0.0-rc3 ${BASE_SCRATCH_DIR}/msan/llvm-project"
    


    fanquake commented at 2:38 PM on March 10, 2022:

    Want to make this 14.0.0?


    MarcoFalke commented at 9:41 AM on March 30, 2022:

    Thx, done

  28. hebasto commented at 5:27 PM on March 13, 2022: member

    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
    
  29. fanquake cross-referenced this on Mar 29, 2022 from issue fuzz: enable BDB in the MSAN CI jobs by fanquake
  30. DrahtBot added the label Needs rebase on Mar 29, 2022
  31. MarcoFalke force-pushed on Mar 29, 2022
  32. MarcoFalke force-pushed on Mar 29, 2022
  33. DrahtBot removed the label Needs rebase on Mar 29, 2022
  34. MarcoFalke renamed this:
    ci: clang-13 msan
    ci: Use clang-12 and libcxx-13 for msan
    on Mar 30, 2022
  35. MarcoFalke marked this as ready for review on Mar 30, 2022
  36. MarcoFalke force-pushed on Mar 30, 2022
  37. MarcoFalke force-pushed on Mar 30, 2022
  38. MarcoFalke renamed this:
    ci: Use clang-12 and libcxx-13 for msan
    ci: Use clang-12 and libcxx-14 for msan
    on Mar 30, 2022
  39. MarcoFalke renamed this:
    ci: Use clang-12 and libcxx-14 for msan
    ci: Use clang-12 and libcxx-12 for msan
    on Mar 30, 2022
  40. ci: Use clang-12 and libcxx-12 for msan fa73f8a469
  41. MarcoFalke commented at 10:40 AM on March 30, 2022: member

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

  42. MarcoFalke force-pushed on Mar 30, 2022
  43. MarcoFalke commented at 12:34 PM on March 30, 2022: member

    CI is finally green

  44. fanquake approved
  45. fanquake commented at 6:41 PM on March 30, 2022: member

    ACK fa73f8a4695d5bcbd054f4c68ee2a648c808afd2 - --disable-hardening matches what was just added to oss-fuzz.

  46. fanquake merged this on Mar 30, 2022
  47. fanquake closed this on Mar 30, 2022

  48. MarcoFalke deleted the branch on Mar 31, 2022
  49. sidhujag referenced this in commit 66581fa6e2 on Apr 3, 2022
  50. hebasto referenced this in commit 5ba68e7b7a on Feb 24, 2023
  51. bitcoin locked this on Mar 31, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:53 UTC