ARM32 3.0.100-preview3 SDK includes x86-64 "apphost" binary
See original GitHub issue@ShonkyCH commented on Tue Mar 12 2019
/sdk/3.0.100-preview3-010431/AppHostTemplate/apphost
is an x86-64 binary:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=94bfae5d6580d203c7d9b4aa776ff09954453fff, stripped
@dagood commented on Tue Mar 12 2019
I can repro by downloading the ARM SDK from https://dotnet.microsoft.com/download/dotnet-core/3.0, then running file
on the apphost
inside.
Downloading the runtime.linux-arm.Microsoft.NETCore.DotNetAppHost/3.0.0-preview3-27503-5 package Core-Setup produced, I see arm:
#> file apphost
apphost: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically
linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32,
BuildID[sha1]=d5b39d5d3f8fbee48b739d60a68b9b47fbe450b2, stripped
It seems something went wrong when Core-SDK consumed this package. Moving this issue there. (Unfortunately I don’t have admin powers for the smooth GitHub-supported move.)
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top GitHub Comments
@ShonkyCH I’ve confirmed that the latest nightly .NET Core 3.0 SDK builds available from the links on https://github.com/dotnet/core-sdk for both ARM and ARM64 have the correct apphosts now.
Additionally, the
.version
file in the sdk directory now shows the correct RID.Please let me know if you run into any problems. Thanks!
Given the order of the options passed to
build.sh
, I think we can set_RuntimeIdentifier
tolinux-arm
andlinux-arm64
to override. A few other builds do so.