mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 09:38:38 +00:00
build: Bump clang minimum supported version to 19 #36036
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36036
Loading…
Reference in a new issue
No description provided.
Delete branch "2608-clang-19"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
Reviewers, this pull request conflicts with the following ones:
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.
This requires an Xcode CLT bump, so please review https://github.com/bitcoin/bitcoin/pull/36287 first
Earlier concerns remain unresolved; see the full report for their current assessments.
🔵 Suggestion · The macOS cross-build recipe loses its compiler requirement
Removing the version note leaves the unversioned installation command without guidance for hosts whose default Clang is older than the required version 19.
Location:
depends/README.md:157(head).Review coverage was incomplete.
Reviewed:
fa8c3c014d1e· Full review report · Previous reportspermalink
🐙 This pull request conflicts with the target branch and needs rebase.
Concept ACK.
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.
Haven't looked at Ralph's ci nit, but I think it is just a todo that I haven't yet addressed. This requires https://github.com/bitcoin/bitcoin/pull/36287, so review would be better there first. I've clarified this by dropping the commit from 36287
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
fixed in the last commit
Update
github.com/bitcoin/bitcoin@2034d3078e/src/test/fuzz/vecdeque.cpp (L459)while here?ACK
fae84b611f.nit: Maybe squash the 1st and 3rd commits?
I think it is fine to keep the removals separate from the bump. Force pushed to fix a Ralph nit
re-ACK
fa70b1cc63.Not sure I follow which "removals" are referred to here.
thx, I can't count to 3, squashed now with empty diff
re-ACK
faa98fadbc.cc @winterrdog I see you used Clang 18 in https://github.com/bitcoin/bitcoin/pull/36160#pullrequestreview-5116887377. Would this change be a problem for you?
concept ACK
re: https://github.com/bitcoin/bitcoin/pull/36036#issuecomment-6441043757
not at all. i can easily switch to clang 20 since i have it installed already
re-ACK
fac6156944.The list of platforms in the PR description could also include Windows, where VS ships Clang 22.
utACK
fa8c3c014dre-ACK
fa8c3c014d, rebased and removed-Wno-c++23-extensionssince my last review.