Cross compile Zig fails on target with illegal instruction

Instead of guessing, you should use the disasm command in gdb to find out which instruction is causing Illegal Instruction. It will point right at it.

1 Like