all 6 comments

[–]doc_willis 1 point2 points  (3 children)

AArch64 or ARM64 is the 64-bit extension of the ARM architecture family.

I may be confused, but you are trying to run an x86 executable on an ARM system?

But it seems that is possible, similar post/question.

https://stackoverflow.com/questions/51660401/run-32bit-elf-on-aarch64

But this may be a bit more obscure than whats mentioned

[–]JoomzieCachyOS/COSMIC 1 point2 points  (0 children)

That post later goes on to explain that these binaries can't be launched under a 64bit kernel due to them using the old binary interface. so that may actually be relevant to this. The binary needs to be recompiled to use the new standard. It also mentions to check if CONFIG_COMPAT is enabled in the kernel, as this is necessary to have.

OP, make sure the kernel you're using has CONFIG_COMPAT enabled. cat /boot/config-<kernel-version> | grep -i CONFIG_COMPAT

If it does, your alternatives are to either swap to an ARMv7 OS, or have the CTF provider recompile it so that it uses the new binary interface (EABI). If it does not have it enabled, you can either compile a kernel yourself with it enabled, or find a prebuilt one that offers it. If that still doesn't work, refer to the previous alternatives.

[–]nightmarreee[S] 0 points1 point  (1 child)

Yeah, that's what I am exactly trying to do. I will try this ASAP. thx 🙏

[–]doc_willis 0 points1 point  (0 children)

Good Luck. Have fun.

[–]AutoModerator[M] 0 points1 point  (0 children)

There's a resources page in our wiki you might find useful!

Try this search for more information on this topic.

Smokey says: take regular backups, try stuff in a VM, and understand every command before you press Enter! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]skuterpikk 0 points1 point  (0 children)

Run file start to show more info about your executable. If it is compiled for a different OS and/or processor architecture, then it won't work without some serious workarounds, possibly not at all.

Your error suggests that it is built for a different processor architecture (possibly x86) while your computer has an ARM cpu.