.NET 9 container SIGILL for `rdvl` (a normal SVE instruction) on Apple M4
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
### Description
This is a proxy issue for https://github.com/orbstack/orbstack/issues/2670. Once this issue is closed, the OrbStack issue should be closed in a short amount of time following the closure of this issue. Refer to title.
### Reproduction Steps
Refer to https://github.com/orbstack/orbstack/issues/2670.
### Expected behavior
Refer to https://github.com/orbstack/orbstack/issues/2670.
### Actual behavior
Refer to https://github.com/orbstack/orbstack/issues/2670.
### Regression?
This is a similar regression to users of .NET Core 10 in Linux containers and VMs on Apple M4 and M5-series systems.
### Known Workarounds
Users have worked around by downgrading their OrbStack version from 2.2.3 or higher to 2.2.2. This masked away SME support from CPUID and feature ID MSRs in OrbStack containers, causing the problem to disappear.
### Configuration
- .NET 9.0
- MacOS Tahoe host
- ARM64
- Very specific to Apple M4 and M5 systems running ARM64 .NET Core in Linux containers and VMs
### Other information
https://github.com/ARM-software/ComputeLibrary/issues/1306 is a closely related issue. I wrote a comment there about why Apple's ARM SME is different from the real ARM SME.
Contributor guide
Research direction
Start with the linked OrbStack issue for the reproduction and expected behavior, then read the related ARM-software/ComputeLibrary issue and its discussion about Apple ARM SME. The issue is done when the .NET 9 ARM64 container SIGILL is resolved and the linked proxy can be closed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100