Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STL compilation fails "expected Clang 16.0.0 or newer" on windows-2022 #8153

Closed
1 of 10 tasks
nimrod-gileadi opened this issue Aug 24, 2023 · 1 comment
Closed
1 of 10 tasks

Comments

@nimrod-gileadi
Copy link

nimrod-gileadi commented Aug 24, 2023

Description

Our builds started failing sporadically with the following error:

In file included from C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vector:9:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals_core.h:847:1: error: static assertion failed: Error in C++ Standard Library usage.
_EMIT_STL_ERROR(STL1000, "Unexpected compiler version, expected Clang 16.0.0 or newer.");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files\Microsoft Visual Studio\[20](https://github.com/deepmind/mujoco_mpc/actions/runs/5956275936/job/16156683950#step:7:21)[22](https://github.com/deepmind/mujoco_mpc/actions/runs/5956275936/job/16156683950#step:7:23)\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals_core.h:502:5: note: expanded from macro '_EMIT_STL_ERROR'
    static_assert(false, "Error in C++ Standard Library usage.")
    ^             ~~~~~
1 error generated.

(link)

As commented by @pdimov in #8125 (comment), this is likely because 20230820.1.0 image has an updated Visual Studio 2022.

It looks like LLVM will be upgraded soon (#8125) to fix the issue, but is it possible to stop the current roll-out?

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

20230820.1.0

e.g.: https://github.com/deepmind/mujoco_mpc/actions/runs/5956275936/job/16156683950

Is it regression?

Yes. It worked on version 20230804.1.0. e.g.: https://github.com/deepmind/mujoco_mpc/actions/runs/5956157545/job/16156331289

Expected behavior

Successfully build STL using Clang.

Actual behavior

Build fails with "Unexpected compiler version, expected Clang 16.0.0 or newer.".

Repro steps

See the linked action above.

@mikhailkoliada
Copy link
Contributor

Duplicate of #8125

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

No branches or pull requests

2 participants