build: Bump clang minimum supported version to 19 #36036

pull maflcko wants to merge 3 commits into bitcoin:master from maflcko:2608-clang-19 changing 6 files +19 −19
  1. maflcko commented at 1:47 PM on August 20, 2026: member

    Most supported operating systems ship with clang-19 (or later), so bump the minimum to that and allow new code to drop workarounds for previous clang bugs.

    (For this bump, only C++20 CTAD will become available.)

    This patch will only be released in version 33.x, next year (2027).

    For reference:

    On operating systems where the minimum Clang version is not shipped by default, the user would have to use GCC, or install Clang in a different way. For example:

  2. DrahtBot added the label Build system on Aug 20, 2026
  3. DrahtBot commented at 1:47 PM on August 20, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    Concept ACK hebasto, l0rinc

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #36042 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36042.svg"></sub> (build: Bump g++ minimum supported version to 13 by maflcko)
    • #31507 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/31507.svg"></sub> (build: Use clang-cl to build on Windows natively by hebasto)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. maflcko marked this as a draft on Aug 20, 2026
  5. maflcko added this to the milestone 33.0 on Aug 20, 2026
  6. maflcko force-pushed on Aug 20, 2026
  7. DrahtBot added the label CI failed on Aug 20, 2026
  8. maflcko force-pushed on Aug 20, 2026
  9. maflcko removed the label CI failed on Aug 20, 2026
  10. DrahtBot added the label CI failed on Aug 20, 2026
  11. maflcko removed the label CI failed on Aug 20, 2026
  12. DrahtBot added the label CI failed on Aug 20, 2026
  13. maflcko removed the label CI failed on Aug 20, 2026
  14. DrahtBot added the label CI failed on Aug 20, 2026
  15. maflcko commented at 1:57 PM on September 17, 2026: member

    This requires an Xcode CLT bump, so please review #36287 first

  16. DrahtBot removed the label CI failed on Sep 17, 2026
  17. DrahtBot added the label Needs rebase on Oct 8, 2026
  18. maflcko force-pushed on Oct 8, 2026
  19. DrahtBot removed the label Needs rebase on Oct 8, 2026
  20. DrahtBot added the label CI failed on Oct 9, 2026
  21. maflcko removed this from the milestone 33.0 on Oct 12, 2026
  22. hebasto commented at 11:25 AM on October 20, 2026: member

    Concept ACK.

  23. l0rinc commented at 11:47 AM on October 20, 2026: contributor

    Concept ACK, please check if Ralph's objections are valid. Will review properly after it's out of draft - unless you want a detailed review now.

  24. build: Bump clang minimum supported version to 19 e75ace82d9
  25. clang-format: Use Standard: Latest
    It should mostly be irrelevant and generally be fine to format any C++
    code with the latest standard version. So set that here, but it can be
    changed in the future, if there is ever a reason.
    5835cbd2e7
  26. ci: warp-ubuntu-2604-x64-8x d70ec1737b
  27. maflcko force-pushed on Oct 20, 2026
  28. maflcko commented at 12:02 PM on October 20, 2026: member

    Haven't looked at Ralph's ci nit, but I think it is just a todo that I haven't yet addressed. This requires #36287, so review would be better there first. I've clarified this by dropping the commit from 36287

  29. in .github/workflows/ci.yml:32 in d70ec1737b
      28 | @@ -29,7 +29,7 @@ defaults:
      29 |  jobs:
      30 |    test-each-commit:
      31 |      name: 'test ancestor commits'
      32 | -    runs-on: ${{ github.repository == 'bitcoin/bitcoin' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
      33 | +    runs-on: ${{ github.repository == 'bitcoin/bitcoin' && 'warp-ubuntu-2604-x64-8x' || 'ubuntu-latest' }}
    


    maflcko commented at 12:07 PM on October 20, 2026:

    re Ralph: Was hoping they change the image in September, like last time (https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/), but I guess not anymore


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-10-21 18:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me