Skip to content

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

Open
@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions