Skip to content

Failure building latest main due to R2R error when compiling System.URI method #117783

@kg

Description

@kg

On windows 11 x64 with latest main, after nuking artifacts:

.\build.cmd -rc Checked -lc Release /bl

Z:\runtime\src\coreclr\jit\codegenxarch.cpp:715
Assertion failed 'operand->isUsedFromReg()' in 'System.Uri:InternalIsWellFormedOriginalString():bool:this' during 'Generate code' (IL size 831; hash 0x83c53887; FullOpts)

Z:\runtime\artifacts\bin\Crossgen2Tasks\Debug\net10.0\Microsoft.NET.CrossGen.targets(464,5): error MSB6006: "Z:\runtime\artifacts\bin\coreclr\windows.x64.Checked\x64\crossgen2\crossgen2.exe" exited with code -2147483645. [Z:\runtime\src\installer\pkg\sfx\Microsoft.NETCore.App\Microsoft.NETCore.App.Runtime.CoreCLR.sfxproj]

Still looking into this further but wanted to file it in case someone else is hitting it.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions