Skip to content

clr build fails on Windows ARM64 #74375

@AndyAyersMS

Description

@AndyAyersMS

Windows arm box. Synced to bd7e60a

.\build.cmd -subset clr -c Release

...

 ILCompiler -> C:\repos\runtime0\artifacts\bin\coreclr\windows.arm64.Release\ilc\ilc.dll
  Optimizing assemblies for size. This process might take a while.
C:\repos\runtime0\.dotnet\sdk\7.0.100-preview.7.22377.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(465,5): error : Process terminated. Access Violation:
 Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The application will be terminated since this platform does not sup
port throwing an AccessViolationException. [C:\repos\runtime0\src\coreclr\tools\aot\ILCompiler\ILCompiler.csproj]
C:\repos\runtime0\.dotnet\sdk\7.0.100-preview.7.22377.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(353,5): error NETSDK1096: Optimizing assemblies for p
erformance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. [C:\repos\runtime0\src\coreclr\tools
\aot\ILCompiler\ILCompiler.csproj]

Check also fails, and the same thing happens at 06350b7

VS isn't working on my box for some reason, will try and debug when I get the chance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions