Skip to content

Conversation

charles-zablit
Copy link
Contributor

  • Explanation:
    Building the toolchain on ARM64 Windows crashes due to a compiler bug in 6.0.x. The crash was fixed in 6.1.0. This patch fixes the build issue by updating the host compiler to 6.1.2.
    Without this patch, it is currently impossible to build the Swift toolchain on ARM64 Windows.
    This is NOT blocking building the official release, as the CI bots run on x64 and cross compile to ARM64. However, anybody trying to build the toolchain on an ARM64 machine will not be able to do so.

  • Scope:
    This change fixes an issue in the Windows build script (build.ps1).

  • Issues:

  • Original PRs:

  • Risk:
    Low, this updates the host compiler's version from 6.0.1 to 6.1.2.

  • Testing:
    Built at desk on an ARM64 machine, and in CI, building and testing on an x64 machine.

  • Reviewers:

@charles-zablit charles-zablit self-assigned this Sep 5, 2025
@charles-zablit charles-zablit requested a review from a team as a code owner September 5, 2025 15:20
@charles-zablit charles-zablit added the Windows Platform: Windows label Sep 5, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@charles-zablit charles-zablit changed the title [windows] update to the 6.1.2 toolchain in build.ps1 🍒 [windows] update to the 6.1.2 toolchain in build.ps1 Sep 5, 2025
Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please get a sign off from @shahmishal as well.

@shahmishal
Copy link
Member

Let's also create a PR for release/6.2 branch

@shahmishal
Copy link
Member

@swift-ci test macOS

@charles-zablit charles-zablit merged commit de9d441 into swiftlang:release/6.2.1 Sep 8, 2025
5 checks passed
@charles-zablit
Copy link
Contributor Author

Let's also create a PR for release/6.2 branch

Opened another cherry-pick here: #84153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Windows Platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants