Mac: Kernel rejects the execution of compiled binaries on arm64 #6

Open
opened 2025-08-07 13:54:37 +00:00 by ed · 1 comment
Owner

Everything works on Intel macs, but the arm64 binaries don't run on Apple Silicon, exiting with signal: killed (9).
The arm64 assembly instructions analyzed with objdump are equal between as/ld and q produced binaries.
The most likely cause is incorrect Mach-O headers for this platform.

Everything works on Intel macs, but the arm64 binaries don't run on Apple Silicon, exiting with `signal: killed (9)`. The arm64 assembly instructions analyzed with `objdump` are equal between `as/ld` and `q` produced binaries. The most likely cause is incorrect Mach-O headers for this platform.
Author
Owner

Relevant changes that had no success so far:

Relevant changes that had no success so far: - https://git.urbach.dev/cli/q/commit/6e7b60f7bf1bb8ffd08b8ee476cad7946f02c301 - https://git.urbach.dev/cli/q/commit/9a3e14bacb75982535d7c5d44ebbc2b0a4cb4f00 - https://git.urbach.dev/cli/q/commit/d657ef04df6b9a99866cd1905e1d1576e0f075a3
ed self-assigned this 2025-08-07 17:30:14 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cli/q#6
No description provided.