You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please add support to run dotnet in arm64 (userland) #48389
Copying details here from the other issue (#41421)
as discussed with @vitek-karas.
Installation is by tarring arm64.tar.gz from the dotnet arm64 site
I've investigated further and got the following observations:
TLDR:
Latest arm64 package (dotnet-sdk-5.0.103-linux-arm64.tar.gz) doesn’t cause segmentation fault anymore when dotnet new is executed. However, build is failing without giving info.
Exhibit A
dotnet-sdk-5.0.103: segmentation fault during dotnet new is gone, but build is failing w/o info
Exhibit B
Previous version of .NET 5.0 that was working
Perhaps, segmentation fault is already resolved (or might be hiding since build failure is not showing).
Anyway, let me know if you or your team need further info.
I'm really looking forward to use the latest .NET 5.0 on my arm64 device.
I was able to repro this in debian running on UserLAnd on my phone - but I don't have another ARM64 device on hand to check if it repros on a plain install without a compatibility layer. It's difficult to debug in UserLAnd since gdb/strace don't work.
In a debian 9 docker container running on my Odroid N2 arm64 device (host is Ubuntu 18.04), I've tried what was shown in the screenshots above and it worked:
dotnet50/dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.103
Commit: 72dec52dbd
Runtime Environment:
OS Name: debian
OS Version: 9
OS Platform: Linux
RID: debian.9-arm64
Base Path: /root/dotnet50/sdk/5.0.103/
Host (useful for support):
Version: 5.0.3
Commit: c636bbdc8a
.NET SDKs installed:
5.0.103 [/root/dotnet50/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.3 [/root/dotnet50/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.3 [/root/dotnet50/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
dotnet50/dotnet new console -o console_dotnet-5.0
The template "Console Application" was created successfully.
Processing post-creation actions...
Running 'dotnet restore' on console_dotnet-5.0/console_dotnet-5.0.csproj...
Determining projects to restore...
Restored /root/console_dotnet-5.0/console_dotnet-5.0.csproj (in 239 ms).
Restore succeeded.
root@fca9a3a071da:~# cd console_dotnet-5.0/
root@fca9a3a071da:~/console_dotnet-5.0# ../dotnet50/dotnet restore
Determining projects to restore...
All projects are up-to-date for restore.
root@fca9a3a071da:~/console_dotnet-5.0# ../dotnet50/dotnet build
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
console_dotnet-5.0 -> /root/console_dotnet-5.0/bin/Debug/net5.0/console_dotnet-5.0.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:04.15
root@fca9a3a071da:~/console_dotnet-5.0# ../dotnet50/dotnet run
Hello World!
No plans here — Userland would be like a new custom Linux distribution. We don’t support specific Linux distributions, just “portable” distributions based on common versions of OpenSSL and glibc. If the portable versions don’t work on userland, it would be up to the community to figure out what’s wrong with that distribution in particular.
We’d of course be happy to take any contributions from the community to enable the platform.
Activity
jeffschwMSFT commentedon Feb 17, 2021
@mangod9 @agocke can y'all take a look? This looks like a potential regression.
agocke commentedon Feb 18, 2021
@sbomer can you take a look?
jeffschwMSFT commentedon Feb 18, 2021
cc @janvorli @sdmaclea
janvorli commentedon Feb 18, 2021
Let me try it on my local arm64 linux device
sbomer commentedon Feb 18, 2021
I was able to repro this in debian running on UserLAnd on my phone - but I don't have another ARM64 device on hand to check if it repros on a plain install without a compatibility layer. It's difficult to debug in UserLAnd since gdb/strace don't work.
janvorli commentedon Feb 18, 2021
In a debian 9 docker container running on my Odroid N2 arm64 device (host is Ubuntu 18.04), I've tried what was shown in the screenshots above and it worked:
So I believe the issue is UserLAnd specific.
agocke commentedon Feb 18, 2021
Ah, I somehow missed the
userland-specific thing.whatevergeek commentedon Jan 3, 2026
Would be nice to hear an update :-)
agocke commentedon Jan 4, 2026
No plans here — Userland would be like a new custom Linux distribution. We don’t support specific Linux distributions, just “portable” distributions based on common versions of OpenSSL and glibc. If the portable versions don’t work on userland, it would be up to the community to figure out what’s wrong with that distribution in particular.
We’d of course be happy to take any contributions from the community to enable the platform.