Repository navigation
Open
Description
Description
windows-latest (20261116.315.1) ships with MSVC 18.12 and pins standalone LLVM to version 20. Those two are not compatible.
As a result, C++ project cannot be built with clang-cl.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 22.04 Arm64
- Ubuntu 24.04
- Ubuntu 24.04 Arm64
- Ubuntu 26.04
- Ubuntu 26.04 Arm64
- Ubuntu Slim
- macOS 14
- macOS 15
- macOS 15 Arm64
- macOS 26
- macOS 26 Arm64
- Xcode 27 Arm64
- Windows Server 2022
- Windows Server 2025
- Windows Server 2025 with Visual Studio 2026
- Windows Desktop 11 with Visual Studio 2026
Image version and build link
20261116.315.1
Is it regression?
Yes (20261103.298.1 does not have such issue)
Expected behavior
upgrade pinned LLVM version to make it compatible with MSVC
MSVC 18.2 requires Clang 22 as the minimum.
Actual behavior
The building processing fails.
**********************************************************************
** Visual Studio 2026 Developer Command Prompt v18.12.0
** Copyright (c) 2026 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
[D:\a\ZLEqualizer\ZLEqualizer] cmake -S . -B Builds -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DZL_JUCE_FORMATS=VST3 -DZL_HWY_STATIC_TARGET=AVX2 -DWITH_ADDRESS_SANITIZER=OFF -DWITH_THREAD_SANITIZER=OFF -DZL_EQ_BAND_NUM=8
-- Plugin version: 1.4.2 (42878f4c)
-- The C compiler identification is Clang 20.1.8 with MSVC-like command-line
-- The CXX compiler identification is Clang 20.1.8 with MSVC-like command-line
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/LLVM/bin/clang-cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang-cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiling with custom band number: 8
-- Formats are VST3
-- Sanitizers: ASan=OFF TSan=OFF
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Testing juceaide
-- Finished setting up juceaide
-- SIMD target is AVX2
CMake Warning (deprecated) at highway/CMakeLists.txt:28 (cmake_policy):
The OLD behavior for policy CMP0111 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
This warning is for project developers. Use -Wno-author or -Wno-deprecated
to suppress it.
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS
-- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS - Failed
-- Performing Test ATOMICS_IN_LIBRARY
-- Performing Test ATOMICS_IN_LIBRARY - Failed
CMake Error at highway/cmake/FindAtomics.cmake:51 (message):
Neither lock free instructions nor -latomic found.
Call Stack (most recent call first):
highway/CMakeLists.txt:51 (find_package)
-- Configuring incomplete, errors occurred!
Repro steps
Build Google Highway in a C++ project (I don't think it is needed as the problem is obvious).
Reacted by David Vo
Activity
zsliu98 commentedon Nov 19, 2026
@WinterAnnie150 My bad. I looked at the Runner Image Provisioner version instead of Runner Image version. I will edit the description.
[-]windows-latest (20261111.635) ships with incompatible MSVC and LLVM version[/-][+]windows-latest (20261116.315.1) ships with incompatible MSVC and LLVM version[/+]zsliu98 commentedon Nov 19, 2026
@WinterAnnie150 Yes, I just need to manually select the LLVM bundled with the shipped MSVC. So techinically the images only need to change the pinned LLVM version, if I understand correctly (and perhaps uninstall incompatible verions as they won't be useful?)
[-]windows-latest (20261116.315.1) ships with incompatible MSVC and LLVM version[/-][+]windows-latest (20261116.315.1) ships with incompatible MSVC and pinned LLVM version[/+]zsliu98 commentedon Nov 19, 2026
@WinterAnnie150 I have edited it. Perhaps it would be better to pin the LLVM/Clang to the one bundled with MSVC? I am not very sure about it.
[-]windows-latest (20261116.315.1) ships with incompatible MSVC and pinned LLVM version[/-][+]windows-latest (20261116.315.1) ships with incompatible MSVC (18.12) and pinned LLVM/Clang (20)[/+]v-dovchar commentedon Nov 19, 2026
started investigation
Validate VS-bundled clang PATH workaround (actions#15367)
Cvolton commentedon Nov 19, 2026
This is not the first time the Windows runner is affected by the exact same issue (see #12435). I don't know how runner-images development works but I think it might be worth it to introduce a regression test for this scenario (just building using MSVC STL and Clang)
v-dovchar commentedon Nov 20, 2026
Preparing fix + regression test.
Compare VS-bundled and standalone LLVM contents (actions#15367)
2 remaining items
disable clang-cl due to actions/runner-images#15367
Workaround wrong clang-cl version on Windows-2026 GHA image
Workaround wrong clang-cl version on Windows-2026 GHA image
fix(ndarray): prefer VS-bundled clang-cl and probe MSVC STL compatibi…
Attempt to work around outdated Clang on Windows
Attempt to work around outdated Clang on Windows
v-dovchar commentedon Nov 25, 2026
I’ve opened PR #15370 to address this issue. I’m working on finalizing validation and coordinating the review before merging. I’ll share an update once the remaining checks and review are complete.
falcucci commentedon Nov 25, 2026
At Neovide, this incompatibility also broke our pipeline. Any ETA for #15370 to get merged?
Install LLVM 22 for the clang-cl CI job (#55)
Install LLVM 22 for the clang-cl CI job
Install LLVM 22 for the clang-cl CI job (#67)
v-dovchar commentedon Nov 26, 2026
Thanks for the report. The fix in #15370 has passed image validation and is awaiting review. I don’t have a confirmed ETA for the merge yet. I’ll share an update when there is progress.