mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-05 04:59:37 +00:00
ci: add CMAKE_LINK_WARNING_AS_ERROR to macOS jobs #36936
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!36936
Loading…
Reference in a new issue
No description provided.
Delete branch "ci_linker_warn"
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?
Turn linker warnings into errors, so that any future warnings are caught.
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.No findings were published from this review.
Review coverage was incomplete.
Reviewed:
c1cdf8dd5bd1· Review report · Previous reportspermalink
The CMake version in Debian Trixie, where the "macOS-cross *" jobs run, does not support
CMAKE_LINK_WARNING_AS_ERRORyet:I believe you want to modify the "macOS native*" jobs instead, where the linker did emit warnings before bitcoin/bitcoin#35756 was merged.
I'm fine with the boolean value
ON. However, reviewers might be interested to know that it is equivalent toLINKER;DRIVER.Right, and it wouldn't work anyways, given CMake is broken in the macOS cross case. This was meant for the native jobs.
ACK
c1cdf8dd5b.