New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac: fix arm64 build #11730
Mac: fix arm64 build #11730
Conversation
This patch will allow rpcs3 to actually load the GUI, but ofc nothing runs successfully. |
Adds arm64 branches to some x86 specific code and modifies some casting logic to make Clang happy
@Nekotekina @Megamouse fixed @kd-11 On Apple Silicon you have to invalidate the icache after toggling permissions, also in the future if we want to distribute Mac binaries then we need to sign the binary -> we need to pass |
I know all of that, honestly I'm hoping someone else handles it. This isn't a mac-first product afterall, the design needs to not break the other 3 operating systems. Do not read too much into hacky "get me something working quickly" code on the repo, I was merely pointing out why it doesn't get to the GUI, in case you want to verify that the build works. |
Ah, I thought you were saying to integrate that patch, my bad. I was planning on incrementally putting up PRs for each issue I ran into as I fixed stuff so I expected the gui to fail to start. |
Fixes the build to compile for arm64, but obviously nothing works yet. Current next step is to implement W^X which Apple enforces on arm64, then dealing with the virtual memory situation.
Build (make sure your brew is arm64):