-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 9 Preview 7 often fails to build on arm64 #4555
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
This is the tracking issue for that: dotnet/dnceng#3305. We had previously encountered it in our VMR builds: #4451. But it went away. Other builds are still seeing it apparently. It's not limited to the VMR. |
@omajid - Can you clarify what SDK you are using to build? Are you using the version prep retrieves (e.g. 9.0.100-preview.7.24380.2)? |
Yes. All the build logs show:
|
Ah, I didn't see that. Shall I close this issue in source-build, then? |
My preference would be for you to add a comment to dotnet/dnceng#3305 and then close this one. |
Okay, comment added there. |
Describe the Bug
I have been trying to build the .NET 9 Preview 7 release on a number of OS/architecture combinations. I have noticed that VMR builds often fail on arm64.
arm64 + CentOS Stream 10 fails with
Analyzer 'Microsoft.Interop.Analyzers.CustomMarshallerAttributeAnalyzer' threw an exception of type 'System.InvalidProgramException' with message 'Common Language Runtime detected an invalid program
.arm64 + RHEL 9 failed with
CSC : error AD0001: Analyzer 'Microsoft.NetCore.CSharp.Analyzers.Runtime.CSharpDetectPreviewFeatureAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'
arm64 + Fedora ELN and arm64 + Fedora Rawhide failed with a crash:
error MSB6006: "csc.dll" exited with code 139
.This doesn't seem to affect every build or every arm64 platform. As an example, an attempt on arm64 + Fedora 39 worked, as did arm64 + RHEL 8.
Steps to Reproduce
On an arm64 machine, the following sequence of steps can fail:
Other Information
The text was updated successfully, but these errors were encountered: