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

packaging mistake? aarch64 linux tarball seems to contain x86_64 binary, not aarch64 #28

Open
ghost opened this issue Dec 2, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 2, 2023

I just downloaded the aarch64 Linux tarball, and it appears that the binary packaged inside it is actually an x86_64 binary. (I think this issue is actually the problem the person is noticing in issue #24 - I think the provided executable cannot possibly run on a machine with an aarch64 CPU, barring some inline emulation trickery.)

tgpt@orangepass:~/temp$ wget -q https://github.com/KYDronePilot/hdfm/releases/download/v2.0.1/hdfm-aarch64-unknown-linux-musl.tgz
tgpt@orangepass:~/temp$ tar zxpf hdfm-aarch64-unknown-linux-musl.tgz 
tgpt@orangepass:~/temp$ ls
hdfm  hdfm-aarch64-unknown-linux-musl.tgz
tgpt@orangepass:~/temp$ file hdfm
hdfm: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=d3dab5680e41cdacc598780601cc4f32d0488434, for GNU/Linux 3.2.0, with debug_info, not stripped
tgpt@orangepass:~/temp$ ./hdfm
bash: ./hdfm: cannot execute binary file: Exec format error
tgpt@orangepass:~/temp$ arch
aarch64

@ImDroided
Copy link

I am getting the same has a solution been found? trying to run on a raspberry pi

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