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

Warn when downloading x86_64 build on arm64 machine #176

Open
pzmarzly opened this issue Aug 10, 2022 · 0 comments
Open

Warn when downloading x86_64 build on arm64 machine #176

pzmarzly opened this issue Aug 10, 2022 · 0 comments

Comments

@pzmarzly
Copy link

pzmarzly commented Aug 10, 2022

lix supports arm64 machines (e.g. Raspberry Pi, M1 Macs running VMs or Asahi Linux) since 5ba8ac5, but you need to run lix install haxe nightly first. Without it you get very confusing errors. It would be nice if lix refused to download non-compatible releases or at least complained very loudly about it.

pzmarzly@lima-default:~/tink_web$ uname -a
Linux lima-default 5.15.0-43-generic #46-Ubuntu SMP Wed Jul 13 06:42:04 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

pzmarzly@lima-default:~/tink_web$ file /home/pzmarzly.linux/haxe/versions/4.2.0/haxelib
/home/pzmarzly.linux/haxe/versions/4.2.0/haxelib: 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]=dfe0110198f11b56ddff62d8224e54c2024aa4e6, with debug_info, not stripped

pzmarzly@lima-default:~/tink_web$ /home/pzmarzly.linux/haxe/versions/4.2.0/haxelib
bash: /home/pzmarzly.linux/haxe/versions/4.2.0/haxelib: cannot execute binary file: Exec format error

Though the nicest solution would be to get stable arm64 releases 😄

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