Skip to content

Repo build using checked runtime fails with JIT asserts #112635

@jkotas

Description

@jkotas

Repro

Build checked runtime, patch the bootstrap SDK with it, and rebuild:

build.cmd -s clr+libs -c release -rc checked
taskkill /F /IM dotnet.exe
copy artifacts\bin\testhost\net10.0-windows-Release-x64\shared\Microsoft.NETCore.App\10.0.0\* .dotnet\shared\Microsoft.NETCore.App\10.0.0-alpha.1.25073.13\*
del /s artifacts\*.dll
build.cmd -s clr+libs -c release -rc checked

Result

  sfx-finish -> Trimming win-x64 shared framework assemblies with ILLinker...

  Assert failure(PID 25472 [0x00006380], Thread: 11028 [0x2b14]): Assertion failed '!"Unexpected tree op after call mar
  ked as tailcall"' in 'ILLink.Shared.TrimAnalysis.SystemReflectionMethodBaseValue:Equals(ILLink.Shared.DataFlow.Single
  Value):ubyte:this' during 'Morph - Global' (IL size 8; hash 0x9e01e8f8; Tier1)

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions