Skip to content
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

WSL2 Arm64 not supported - The architecture name is detected incorrectly #1850

Open
carlossanlop opened this issue Jul 8, 2020 · 7 comments

Comments

@carlossanlop
Copy link

I have an ARM64 laptop where I installed WSL2 running Ubuntu 18.04. I made sure to install vsdbg in Ubuntu, as well as dotnet, from a PPA. So all the requirements are met - I can also build the dotnet/runtime repo without problems.

But when I try to install the OmniSharp extension inside WSL2, I get this error dialog:

image

Notice the architecture name. It was detected as "aarch64". I suspect the architecture may be considered "unknown", even though the WSL2 architecture is actually "aarch64" when running inside an ARM64 machine. Here's the output of "uname":

carlos@armlaptop:~$ uname -a
Linux armlaptop 4.19.121-microsoft-standard #1 SMP Fri Jun 19 21:03:36 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

This error is also preventing me from debugging. I have a configuration in launch.json, which works in another laptop (it's x64), but in my ARM64 laptop I get this error:

image

Let me know if you need more information.

cc @pgovind

@filipw
Copy link
Member

filipw commented Jul 9, 2020

ARM64 is not supported yet see #1706

@carlossanlop
Copy link
Author

Thanks for letting us know, @filipw.
I'll close this issue in favor of #1706. cc @JoeRobich.

@carlossanlop
Copy link
Author

Reopening because PR #1706 was only exploratory and won't address this.

@carlossanlop carlossanlop reopened this Jul 31, 2020
@AngelMunoz
Copy link

I was exploring the viability of doing .Net in a Raspberry Pi 4 (8bg model) and while you can deploy .Net without any issues, developing/debugging is out of reach at the momtent
image

@modul8com
Copy link

I received the same error when trying to write C# using my Pi400. Since VS Code AND .net 5 runs perfectly and out of the box on the RaspberryPi now, it's time to port OmniSharp to a linux ARM64 architecture, so we can use the Raspberry Pi 400 (and others) for teaching purposes and fooling around in .NET 5 (and above).

@carlossanlop
Copy link
Author

Agreed. @filipw what needs to be done to increase the priority of this issue?

@Cyber1000
Copy link

Cyber1000 commented Nov 8, 2021

To be fully functional I would neeed this project working with arm64/aarch64 too. Any idea where to start?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants