Fix ARM64 intrinsics error due outdated toolset - #531
Merged
Conversation
The Windows SDK version installed in CI imposes intrinsics not supported
in the v142 toolset, thus we need to upgrade:
ClCompile target) ->
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winnt.h(6343,12): error C3861: '_CountOneBits64': identifier not found [C:\Temp\builddir\DistroLauncher\DistroLauncher.vcxproj]
cnihelton
force-pushed
the
upgrade-platform-toolset
branch
from
August 18, 2026 20:28
4d38bd0 to
0d03713
Compare
Collaborator
Author
|
Tested the sideload version from the build https://github.com/ubuntu/WSL/actions/runs/32261101807 on a Windows 10 VM running the build number 10.0.19045.6456. All looking good. |
hk21702
approved these changes
Aug 19, 2026
hk21702
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. I wouldn't say no to pinning the Windows runner version we use to prevent this, but it also acts as a good warning that it's time to bump things, so it's probably also fine to keep it as is.
[Auto-generated pull request](https://github.com/ubuntu/WSL/actions/workflows/detect-update-releases.yaml) by GitHub Action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Windows SDK version installed in CI calls intrinsics not supported in the v142 toolset, thus we need to upgrade:
ClCompile target) ->
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winnt.h(6343,12): error C3861: '_CountOneBits64': identifier not found [C:\Temp\builddir\DistroLauncher\DistroLauncher.vcxproj]
Here's a failed CI build attempt: https://github.com/ubuntu/WSL/actions/runs/32178337610
Alternatively we could change the GH runner to
windows-2022and hardcode one of the older SDK versions for the time they remain available:Keeping the project buildable on the latest seems more sustainable.