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

Unable to execute any binary built for NetCore5.0 with previews 6 or later #13054

Closed
pgrawehr opened this issue Aug 22, 2020 · 2 comments
Closed

Comments

@pgrawehr
Copy link

pgrawehr commented Aug 22, 2020

See dotnet/iot#1099 for a lot of extra information and how to reproduce.

Basically, every attempt to run an application with dotnet 5.0 preview 6 or later on my Raspberry Pi (ARM32), results in this error:

Failed to create CoreCLR, HRESULT: 0x80070057

This seems to be irrespective on where the application was built (even if built with the very same SDK on the Pi itself). The preview 4-version works fine.

I'm trying to investigate the cause, but building the SDK fails on the Pi:

pi@raspberrypi:~/projects/sdk $ ./build.sh
... many messages, ending with:
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Runtime/1.0.5/dotnet-runtime-1.0.5-linux-arm.tar.gz
curl: (22) The requested URL returned error: 404 
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Runtime/1.0.5/dotnet-runtime-1.0.5-linux-arm.tar.gz
dotnet_install: Error: Could not find/download: `.NET Core Runtime` with version = 1.0.5
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
pi@raspberrypi:~/projects/sdk $ 
@pgrawehr
Copy link
Author

The .NET Core Runtime Version 1.0.5 was never released for ARM32, it seems. So there's something fishy here.

@pgrawehr
Copy link
Author

Closing this here, as the original problem has been resolved. I'll prepare a PR on improving the docs on how to build for arm32, though.

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

1 participant