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

Encountered upstream issues #1

Open
archanox opened this issue Aug 31, 2024 · 3 comments
Open

Encountered upstream issues #1

archanox opened this issue Aug 31, 2024 · 3 comments

Comments

@archanox
Copy link

archanox commented Aug 31, 2024

As the risc-v port is in progress by Samsung which doesn't appear to have a visible roadmap to the public, I don't think it's fair to start lodging tickets on the main repo. Historically I've suggested making a "meta" post in the dotnet/dotnet repo, but it was closed by mods in favour of the WIP runtime issue, albeit being specifically just for the runtime repo and again, missing a channel to users for the visibility of the progress behind closed doors.

So consider this issue just a list of issues that may eventually get resolved once dotnet9 for risc-v is shipped. But until then, I believe it's good to track what users are encountering in the real world.

No AoT support

/home/debian/.dotnet/sdk/9.0.100-preview.7.24407.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1204: Ahead-of-time compilation is not supported on the current platform 'linux-riscv64'.

Missing Application Host?

Not sure what is the cause for this one.
/home/debian/.dotnet/sdk/9.0.100-preview.7.24407.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(158,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-riscv64'.

@archanox
Copy link
Author

Okay, I might have done a dumb. The projects need to targeting the dotnet 9 preview. Building projects may possibly unsupported forever?

@filipnavara
Copy link
Owner

filipnavara commented Aug 31, 2024

NativeAOT support for RV64 is tracked upstream at dotnet/runtime#106223.

The application host packages are built during the SDK build, but I am not exactly sure how they are supposed to be distributed for source builds. I think in the regular .NET scenarios they are available on NuGet but that's not really an option here. (There are some upstream issues for this but I don't have the links at hand.)

@archanox
Copy link
Author

archanox commented Sep 4, 2024

The application host packages are built during the SDK build, but I am not exactly sure how they are supposed to be distributed for source builds. I think in the regular .NET scenarios they are available on NuGet but that's not really an option here.

Yeah I think my understanding here is limited, but I'm guessing because I was trying to build a project that was targeting net8 and I was using your net9 preview build, it couldn't get the dependencies from the SDK, so either it failed there, or tried to download them from NuGet and then failed as you said. So I doubt targeting anything other than net9 will be supported. Which is fine by me.

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

2 participants