Skip to content

Debug build errors out #102618

@fanyang-mono

Description

@fanyang-mono

I hit an error when building the CoreCLR in debug mode.

The command that I use to build is

./build.sh clr+libs -c debug

The error message was

  Undefined symbols for architecture arm64:
    "RegSet::rsAllCalleeSavedMask", referenced from:
        RegSet::rsGetModifiedCalleeSavedRegsMask() const in codegencommon.cpp.o
    "RegSet::rsIntCalleeSavedMask", referenced from:
        RegSet::rsGetModifiedOsrIntCalleeSavedRegsMask() const in codegenxarch.cpp.o
        RegSet::rsGetModifiedIntCalleeSavedRegsMask() const in codegenxarch.cpp.o
  ld: symbol(s) not found for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

This seems to be related to definition of SWIFT_SUPPORT

Metadata

Metadata

Labels

Priority:2Work that is important, but not critical for the releasearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions