Skip to content

windows-latest (20261116.315.1) ships with incompatible MSVC (18.12) and pinned LLVM/Clang (20) #15367

Open

Description

@zsliu98

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).

Activity

  1. zsliu98 commented on Nov 19, 2026

    @zsliu98
    Author

    @WinterAnnie150 My bad. I looked at the Runner Image Provisioner version instead of Runner Image version. I will edit the description.

  2. changed the title [-]windows-latest (20261111.635) ships with incompatible MSVC and LLVM version[/-] [+]windows-latest (20261116.315.1) ships with incompatible MSVC and LLVM version[/+] on Nov 19, 2026
  3. zsliu98 commented on Nov 19, 2026

    @zsliu98
    Author

    @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?)

      **********************************************************************
      ** 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=C:/Program Files/Microsoft Visual Studio/18/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe' '-DCMAKE_CXX_COMPILER=C:/Program Files/Microsoft Visual Studio/18/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe' '-DZL_JUCE_FORMATS=VST3;LV2;Standalone' -DZL_HWY_STATIC_TARGET=SSE2 -DWITH_ADDRESS_SANITIZER=OFF -DWITH_THREAD_SANITIZER=OFF
      -- Plugin version: 1.4.2 (aa61e9c4)
      -- The C compiler identification is Clang 22.1.3 with MSVC-like command-line
      -- The CXX compiler identification is Clang 22.1.3 with MSVC-like command-line
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/18/Enterprise/VC/Tools/Llvm/x64/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/Microsoft Visual Studio/18/Enterprise/VC/Tools/Llvm/x64/bin/clang-cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Compiling with default band number: 24
      -- Formats are VST3;LV2;Standalone
      -- Sanitizers: ASan=OFF TSan=OFF
      -- Configuring juceaide
      -- Building juceaide
      -- Exporting juceaide
      -- Testing juceaide
      -- Finished setting up juceaide
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - not found
      -- Found Threads: TRUE
      -- SIMD target is SSE2
      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 - Success
      -- Performing Test HWY_EMSCRIPTEN
      -- Performing Test HWY_EMSCRIPTEN - Failed
      -- Performing Test HWY_RISCV
      -- Performing Test HWY_RISCV - Failed
      -- Performing Test HWY_HAVE_WIN32_SYNCHRONIZATION_LIB
      -- Performing Test HWY_HAVE_WIN32_SYNCHRONIZATION_LIB - Success
      -- Looking for sys/auxv.h
      -- Looking for sys/auxv.h - not found
      -- Looking for asm/hwcap.h
      -- Looking for asm/hwcap.h - not found
      -- Writing ENV file for CI: D:/a/ZLEqualizer/ZLEqualizer/.env
      -- Configuring done (53.1s)
      -- Generating done (0.3s)
    
    
  4. changed the title [-]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[/+] on Nov 19, 2026
  5. zsliu98 commented on Nov 19, 2026

    @zsliu98
    Author

    @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.

  6. changed the title [-]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)[/+] on Nov 19, 2026
  7. v-dovchar commented on Nov 19, 2026

    @v-dovchar
    Contributor

    started investigation

  8. Cvolton commented on Nov 19, 2026

    @Cvolton

    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)

  9. v-dovchar commented on Nov 20, 2026

    @v-dovchar
    Contributor

    Preparing fix + regression test.

  10. 2 remaining items

  11. v-dovchar commented on Nov 25, 2026

    @v-dovchar
    Contributor

    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.

  12. falcucci commented on Nov 25, 2026

    @falcucci

    At Neovide, this incompatibility also broke our pipeline. Any ETA for #15370 to get merged?

  13. v-dovchar commented on Nov 26, 2026

    @v-dovchar
    Contributor

    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.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions