mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 09:08:37 +00:00
Revert #36057 & document mingw-w64 requirement #36271
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!36271
Loading…
Reference in a new issue
No description provided.
Delete branch "revert_36057"
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?
A follow-up reverting #36057, now that we've branched off for
33.x.Also documents
mingw-w64requirements (#32380).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.
I think this one can be removed as well now:
Sure, dropped.
Concept ACK. This follows the plan.
ACK
ce76c082ceACK
ce76c082ceMakes sense to drop remaining MSVCRT logic now that #33593 was merged.
Only remaining but probably acceptable references to "MSVCRT" in the repo are now overriding to UCRT:
github.com/bitcoin/bitcoin@ce76c082ce/contrib/guix/manifest_build.scm (L130-L139)Completed Linux->Windows cross CI locally:
(test_run_all.sh calls 02_run_container.py which calls shell-win64-cross.nix since 00_setup_env_win64.sh set
HOST=x86_64-w64-mingw32ucrt).One could potentially retain the
HAVE_SETTHREADDESCRIPTIONlogic and make it fail at compile time:But I'm okay with just documenting the minimum version as well, and dropping
HAVE_SETTHREADDESCRIPTIONto keep build complexity down.ACK
ce76c082ce, I have reviewed the code and it looks OK.However, I'd like to leave a couple of thoughts regarding versioning of the Windows cross-build toolchain.
The MinGW-w64 version should be logged in the configure summary, along with the compiler version. See the proposal in #36029.
Historically, we were bound to whichever combination of MinGW-w64 and GCC a particular distribution shipped. Switching to Nix opens the door to testing every documented combination (with some patching).
So I tried MinGW-w64 12.0.0 + GCC 12.4.0:
The
wallet_migration.pytest fails. I haven't looked into it yet, but it may be a reason to bump the minimum supported MinGW-w64 version to 13.0, which contains many bug fixes.Requiring GCC 13 or newer for the GUI appears unnecessary. Perhaps I misjudged the minimum toolchain requirements in
0a6724aaae.This turned out to be a libstdc++ bug. It was fixed on master (GCC 15.1) and backported to GCC 14 (
github.com/gcc-mirror/gcc@35c98149a5, first in GCC 14.3.0) and GCC 13 (github.com/gcc-mirror/gcc@8b3e47b409, first in GCC 13.4.0).GCC 12 never received the backport, so every 12.x release remains broken.
I believe we should handle these cases somehow.
See https://github.com/bitcoin/bitcoin/pull/36042, but there could also be a unit test, if you think it is important?
🐙 This pull request conflicts with the target branch and needs rebase.
Base:
66776840beb558f7e84451c2c55457f0e06242f0Head:
1c96b08cb60bee930ed390de019a2cf943445ef5No verified findings are available from this partial review.
Review coverage was incomplete. The archaeology review had incomplete evidence. The adversarial_glm review did not complete.
Full review report
ACK
b6eebe027e.In
b6eebe027eI think this slight simplification should work too, if you retouch:
Thanks, taken.
utACK
1c96b08cb6If i have it all correct, after this PR:
re-ACK
1c96b08cb6.Done in https://github.com/bitcoin/bitcoin/pull/36620.