You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSVC 14.43 introduces a hard requirement for these 2 compiler intrinsics: _CountLeadingZeros() and _CountLeadingZeros64(_Val) on ARM64. These were implemented in Clang 18 in this PR. Unlike the "soft" requirement in yvals_core.h, there is no compiler define that we can use to work around this issue.
As a result, the Swift Windows ARM64 toolchain can not be built using the 6.0 toolchain as a bootstrap when using MSVC 14.43 or higher.
The problem arises with the bootstrap toolchain, which is currently set to 6.0.3 in build.ps1. This can no longer build the toolchain with MSVC 14.43 because the llvm version is too old.
MSVC 14.43 introduces a hard requirement for these 2 compiler intrinsics:
_CountLeadingZeros()
and_CountLeadingZeros64(_Val)
on ARM64. These were implemented in Clang 18 in this PR. Unlike the "soft" requirement inyvals_core.h
, there is no compiler define that we can use to work around this issue.As a result, the Swift Windows ARM64 toolchain can not be built using the 6.0 toolchain as a bootstrap when using MSVC 14.43 or higher.
Possible solutions:
Here is the build failure log:
The text was updated successfully, but these errors were encountered: