infra icon indicating copy to clipboard operation
infra copied to clipboard

Add .NET 10

Open hez2010 opened this issue 4 weeks ago • 7 comments

Adding new compilers for .NET.

hez2010 avatar Dec 03 '25 15:12 hez2010

Build Required

The following additions require CE to build artifacts before deployment:

  • [ ] dotnet.yaml: compilers/dotnet/newer v10.0.0 (type: s3tarballs)
  • [ ] dotnet.yaml: compilers/dotnet/newer v9.0.11 (type: s3tarballs)
  • [ ] dotnet.yaml: compilers/dotnet/newer v8.0.22 (type: s3tarballs)

Please ensure these have been built and uploaded to S3 before merging, or coordinate with the CE team.

Build Commands

gh workflow run bespoke-build.yaml -f image=dotnet -f version=v10.0.0 -f command=build.sh
gh workflow run bespoke-build.yaml -f image=dotnet -f version=v9.0.11 -f command=build.sh
gh workflow run bespoke-build.yaml -f image=dotnet -f version=v8.0.22 -f command=build.sh

github-actions[bot] avatar Dec 03 '25 15:12 github-actions[bot]

Running builds...

mattgodbolt avatar Dec 10 '25 03:12 mattgodbolt

Builds are failing due to:

    Restored /root/dotnet/runtime/src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj (in 15.56 sec).
  
  Build FAILED.
  
  /root/dotnet/runtime/src/coreclr/tools/r2rtest/R2RTest.csproj : error NU1903: Warning As Error: Package 'Microsoft.Build' 17.8.3 has a known high severity vulnerability, https://github.com/advisories/GHSA-w3q9-fxm7-j8fq [/root/dotnet/runtime/Build.proj]
  /root/dotnet/runtime/src/coreclr/tools/aot/ILCompiler.Build.Tasks/ILCompiler.Build.Tasks.csproj : error NU1903: Warning As Error: Package 'Microsoft.Build.Utilities.Core' 17.8.3 has a known high severity vulnerability, https://github.com/advisories/GHSA-w3q9-fxm7-j8fq [/root/dotnet/runtime/Build.proj]
      0 Warning(s)
      2 Error(s)

:(

mattgodbolt avatar Dec 10 '25 03:12 mattgodbolt

It seems that we need to switch to 10.0.1 instead, as 10.0.0 has dependencies that have security vulnerabilities. I don't have a PC to work on this right now, if you would like, could you help me bump the version v10.0.0 to v10.0.1?

hez2010 avatar Dec 10 '25 04:12 hez2010

Sorry, seems that v10.0.1 has the same issue. We will have to wait for the next patch release of .NET 10.

hez2010 avatar Dec 10 '25 04:12 hez2010

I'm not sure it's just that - 8.0.22 and 9.0.11 also failed too

mattgodbolt avatar Dec 12 '25 13:12 mattgodbolt

  • https://github.com/compiler-explorer/infra/actions/runs/20085938372
  • https://github.com/compiler-explorer/infra/actions/runs/20085938240
  • https://github.com/compiler-explorer/infra/actions/runs/20085938055

mattgodbolt avatar Dec 12 '25 13:12 mattgodbolt