Skip to content

CentOSStream9 legs failing to build CoreCLR Component #5427

@ellahathaway

Description

@ellahathaway

CentOS legs are failing to build runtime in the VMR with the following error:

In file included from <built-in>:1:
      In file included from /vmr/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/linux.x64.Release/debug/di/CMakeFiles/cordbdi.dir/cmake_pch.hxx:5:
      In file included from /vmr/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/di/stdafx.h:30:
      /vmr/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/di/rspriv.h:6357:36: error: in-class initializer for static data member is not a constant expression
       6357 |     static const CorDebugUserState kInvalidUserState = CorDebugUserState(-1);
            |                                    ^                   ~~~~~~~~~~~~~~~~~~~~~
      /vmr/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/di/rspriv.h:6357:56: note: integer value -1 is outside the valid range of values [0, 511] for the enumeration type 'CorDebugUserState'
       6357 |     static const CorDebugUserState kInvalidUserState = CorDebugUserState(-1);
            |                                                        ^
      1 error generated.

##[error]Failed to build "CoreCLR component".

Link to build

Metadata

Metadata

Assignees

No one assigned

    Labels

    ops-monitorIssues created/handled by the source build monitor roleuntriaged

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions