Building Elixir/Erlang linux/amd64 application image on Apple Silicon

This is due to a bug in qemu, see Erlang/OTP 25 JIT on AArch64 fails in user mode emulation (#1034) · Issues · QEMU / QEMU · GitLab.

Older images most likely work because they don’t provide a C++ compiler capable of compiling the JIT, making it fall back to the interpreter.

3 Likes