question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
peterhuenecommented, Mar 14, 2019

@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!

0reactions
peterhuenecommented, Mar 14, 2019

Given the order of the options passed to build.sh, I think we can set _RuntimeIdentifier to linux-arm and linux-arm64 to override. A few other builds do so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ARM32 3.0.100-preview3 SDK includes x86-64 "apphost" ...
sdk /3.0.100-preview3-010431/AppHostTemplate/apphost is an x86-64 binary: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found