-
Notifications
You must be signed in to change notification settings - Fork 63
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
Compilation failing on ARM (both macOS and Debian container) #80
Comments
Same here. On my MacBook Air M1 and in an Ubuntu Arm VM compiling fails. |
For M1, there's nothing for you right now. But for Linux based AARCH64/ARM64 systems, there is a fork with ARM support here. It's been a while, but the problem is this is entirely a self-hosted autobuild runner, so it cannot be merged into VitaSDK right now until public ARM runners are added to actions. |
same here. |
@iamcco I've encountered a similar issue before. For ARM Mac, the problem arises because some executable files like arm-vita-eabi-gcc were compiled for Intel Mac, and they have dependencies on x86 libraries. On an ARM Mac, only the ARM libraries are available, so they cannot execute properly. The solution is either to distribute these dependencies along with the files or locally compile these executable files. |
@xfangfang Thanks, I'll look into it. |
I'm currently experiencing the same issue, except that I'm actually on an Intel Mac and not M1... |
Fresh MacBook Air M1 user here. Currently compiling my Vita project using x86 emulator version of Lima as described in here. Compilation feels like 5x slower. But hey, it gets the job done! |
Oh, probably I had to try that first with normal version of Lima (which emulates normal Ubuntu with ARM). |
@hammerill I am using using https://orbstack.dev, running a Docker image of vitasdk to compile for vita, compared to Docker Desktop, OrbStack supports rosetta to run Docker images or Linux, which makes the running speed almost similar to x86_64. |
@xfangfang thank you for suggesting that! But still I've decided to stay with Lima. By the way, @SonicMastr , I've merged the upstream branch in my fork in order to compile the project I've worked on with latest VDPM version. Your version was kind of stale and complained about In general, I find this Lima + Arm64 VDPM technique a viable solution for developing Vita homebrew on Macs. |
Looks like I can install VitaSDK using all the provided scripts and following the instructions.
But every time I try a "cmake ." it fails to compile the test program.
I'm on M1, is it possible to have a release on autobuild for arm macOS?
(not sure if it would solve the problem though)
I also tried on a debian container and it fails compiling the test program.
The text was updated successfully, but these errors were encountered: