-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[arm64] Crash in Roslyn #7017
Comments
Investigated this issue, submitted issue to roslyn team. |
Looks like this also happens with |
Add support for FreeBSD/aarch64 (I also needed the #7017 workaround and a boringssl patch for auxval stuff, but this is the important part.)
The memory model still. |
For those who encountered this problem on MSBuild, I found a workaround.
with
in |
also reported on Ampere eMAG (32 core armv8), work-around above is perfect. Not clear what the impact of appending |
It means that Roslyn will run single-threaded and will not trigger any problems related to the memory ordering model dismatch between x86(Total store order) and ARM(Weak memory order). So the compiling will be slower, but it will not crash. |
On Tue, 1 Feb 2022, at 10:22, Ianus Inferus wrote:
> also reported on Ampere eMAG (32 core armv8), work-around above is perfect. Not clear what the impact of appending `;/parallel-` is though?
>
It means that Roslyn will run single-threaded and will not trigger any
problems related to the memory ordering model dismatch between
x86(Total store order) and ARM(Weak memory order). So the compiling
will be slower, but it will not crash.
thank-you! I assume this is only a compile-time issue, then, and not latet at runtime.
|
Yes. |
This shouldn't really be an issue since #17136. I'm assuming you are using an older version of mono. |
The Roslyn C# compiler has a concurrency problem on aarch64: mono/mono#7017 (not FreeBSD specific) so the workaround is to disable parallelism… so the .NET libraries are built very very slowly PR: 229710 Approved by: portmgr (build fix blanket)
The Roslyn C# compiler has a concurrency problem on aarch64: mono/mono#7017 (not FreeBSD specific) so the workaround is to disable parallelism… so the .NET libraries are built very very slowly PR: 229710 Approved by: portmgr (build fix blanket)
Steps to Reproduce
same workaround as mentioned in a potentially related bug applies: https://bugzilla.xamarin.com/show_bug.cgi?id=56546#c2
Current Behavior
Thread 1 throws an unhandled exception:
managed stack trace (cut off):
Expected Behavior
do not crash.
On which platforms did you notice this
[ ] macOS
[x] Linux, arm64
[ ] Windows
Version Used:
recent master, 06b836e
Ask @akoeplinger in order to get access to that machine.
The text was updated successfully, but these errors were encountered: