Skip to content

libc: MSVC_DEBUG_INFORMATION_FORMAT value 'Embedded' not known for this ASM compiler. #119995

Open
@petrhosek

Description

@petrhosek

In #119806 we're seeing the following error:

CMake Error in D:/a/llvm-project/llvm-project/libc/fuzzing/__support/CMakeLists.txt:
  MSVC_DEBUG_INFORMATION_FORMAT value 'Embedded' not known for this ASM
  compiler.

This is due to -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded being set in

# Use MinSizeRel to reduce the size of the build.
# Notice that CMP0141=NEW and MSVC_DEBUG_INFORMATION_FORMAT=Embedded are required
# by the sccache tool.
- name: Configure CMake
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.compiler.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.compiler.c_compiler }}
-DCMAKE_BUILD_TYPE=MinSizeRel
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_POLICY_DEFAULT_CMP0141=NEW
-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded
-DLLVM_ENABLE_RUNTIMES=libc
-G Ninja
-S ${{ github.workspace }}/runtimes

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions