[GH-ISSUE #417] Error when attempting to build on ARM64 Linux #74

Closed
opened 2026-02-27 21:04:26 +03:00 by kerem · 4 comments
Owner

Originally created by @lacamar on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/417

I followed the build instructions for Linux but it ended in errors before the build could complete.
Here is the log of the build process:
error-log.txt

This is my output from uname -a
Linux hostname 6.9.12-401.asahi.fc40.aarch64+16k #1 SMP PREEMPT_DYNAMIC Sat Aug 3 22:26:24 UTC 2024 aarch64 GNU/Linux

Originally created by @lacamar on GitHub (Aug 12, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/417 I followed the build instructions for Linux but it ended in errors before the build could complete. Here is the log of the build process: [error-log.txt](https://github.com/user-attachments/files/16590979/error-log.txt) This is my output from `uname -a` `Linux hostname 6.9.12-401.asahi.fc40.aarch64+16k #1 SMP PREEMPT_DYNAMIC Sat Aug 3 22:26:24 UTC 2024 aarch64 GNU/Linux`
kerem closed this issue 2026-02-27 21:04:26 +03:00
Author
Owner

@squidbus commented on GitHub (Aug 12, 2024):

There's no support for ARM64 builds, only x86_64. You would need to build for x86_64 and run under a translation layer.

<!-- gh-comment-id:2285085871 --> @squidbus commented on GitHub (Aug 12, 2024): There's no support for ARM64 builds, only x86_64. You would need to build for x86_64 and run under a translation layer.
Author
Owner

@lacamar commented on GitHub (Aug 14, 2024):

Okay. Is this from a fundamental constraint of how the emulator is designed or just not supported for now?

<!-- gh-comment-id:2290061515 --> @lacamar commented on GitHub (Aug 14, 2024): Okay. Is this from a fundamental constraint of how the emulator is designed or just not supported for now?
Author
Owner

@squidbus commented on GitHub (Aug 15, 2024):

Currently the emulator runs the x86_64 PS4 code directly, to run on ARM there would need to be a CPU recompiler.

<!-- gh-comment-id:2290758521 --> @squidbus commented on GitHub (Aug 15, 2024): Currently the emulator runs the x86_64 PS4 code directly, to run on ARM there would need to be a CPU recompiler.
Author
Owner

@lacamar commented on GitHub (Aug 15, 2024):

Okay, sounds like running it under FEXemu or some other fast x86 emulator would be the most practical solution rather than making a CPU recompiler for this.

<!-- gh-comment-id:2291114168 --> @lacamar commented on GitHub (Aug 15, 2024): Okay, sounds like running it under FEXemu or some other fast x86 emulator would be the most practical solution rather than making a CPU recompiler for this.
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
starred/shadPS4#74
No description provided.