-
Notifications
You must be signed in to change notification settings - Fork 1
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
building ps4 toolchain on mac M1 (arm64) #1
Comments
Are you sure that you are not mixing architecture libraries? Check that you are linking with arm libraries. I am using macport but with compiled packages in local for arm with no issues. |
Yes, I'm pretty sure that the libraries are arm libraries. I was using those same libs to build the ps3-toolchain so I know they worked fine. |
I had some free time to look again into this issue on my mac M1 (bigSur 11.6, using Brew as package manager), and I'm sharing this feedback in case it's helpful to other devs. In the
So, I ended up downloading the branch directly (just download & unzip): https://github.com/bminor/binutils-gdb/archive/refs/tags/binutils-2_36_1.zip Then, I edited - TARG_XTRA_OPTS=""
+ TARG_XTRA_OPTS="LDFLAGS=-L/opt/homebrew/lib" after that, I was able to run Edit: small note about PkgTool; I had to install the 6.0 SDK (macos arm64), then I updated the - <TargetFramework>netcoreapp3.0</TargetFramework>
+ <TargetFramework>netcoreapp6.0</TargetFramework> |
Hello @bucanero, About the flags you added to the Finally, about Thanks |
Hi @fjtrujy, I assume that the added flags are only required if the user installs I had no idea about the specific netcore requirement. I'll try again then. Also, I'd like to know how can I properly test this build and toolchain. I tried cloning orbisdev-sample, I was able to build and make a .pkg . I then installed the .pkg on my PS4 (6.72 running goldhen) , but when I tried to open the sample app the screen shows the "ORBISLINK" logo and stays there. Nothing else shows up, but I can press the PS button and go back to the main XMB. If you could provide some information on how to build and execute a simple "sample" app that would be great. Thanks again for the feedback! |
@bucanero , @fjtrujy could you please provide more detailed how to fix problem on my mac with M1 Goal: to make riscv-gnu-toolchain
__ |
So I tried to build the toolchain on my macbook M1, but I'm finding some issues when building
gdb
First
configure
couldn't find GMP (configure: error: GMP is missing or unusable
), but I had it installed with Homebrew.I did manage to force configure to detect libgmp using
./configure LDFLAGS=-L/opt/homebrew/lib
but, then I'm getting this error when trying to link gdb:
I built the PS3 toolchain
PSL1GHT
recently and had to do some patches to compile gcc 7.2 on arm64, due to missing symbols on too.The text was updated successfully, but these errors were encountered: