After finally being able to successfully setting up the latest ps3toolchain on my machine, I thought I would try my hand at compiling some projects to test it out. I picked Movian, which in hindsight was terrible decision. The default build script downloads and uses a separate toolchain with what appears to be PSL1GHT v1. It uses gcc 4 instead of 7, and the files are set up quite differently than current versions of the toolchain.
The build scripts themselves required a few patches. I had to fix some links that no longer worked, delete the fdiagnostic-color flag one from one of the submodules (libav) since the option isn't available in gcc4, and prevent the build script from auto-updating the submodules (which would cause the fdiagnostic flag to pop up again).
I also needed to replace some binaries from the downloaded toolchain with binaries built by the current toolchain ($(PS3DEV)/bin/) because they expected my system to have libcrypto.so.1.0.0, whereas the new binaries used libcrypto.so.1.1. Without this change, the self file was being generated incorrectly.
Now I am able to compile a pkg for movian (from the release/5.0 branch), but when I install and boot it up it just throws me back to XMB. And I have no idea how to debug this. Is it a problem with the downloaded toolchain running in my system, or is it a problem with using different binaries to make self files? Or maybe even something else in the source code?
I guess what would be appropriate in this case would be to port the ps3 build of movian to the newer toolchain/psl1ght; but alas, how to do so is currently beyond me.
Any ideas?
The build scripts themselves required a few patches. I had to fix some links that no longer worked, delete the fdiagnostic-color flag one from one of the submodules (libav) since the option isn't available in gcc4, and prevent the build script from auto-updating the submodules (which would cause the fdiagnostic flag to pop up again).
I also needed to replace some binaries from the downloaded toolchain with binaries built by the current toolchain ($(PS3DEV)/bin/) because they expected my system to have libcrypto.so.1.0.0, whereas the new binaries used libcrypto.so.1.1. Without this change, the self file was being generated incorrectly.
Now I am able to compile a pkg for movian (from the release/5.0 branch), but when I install and boot it up it just throws me back to XMB. And I have no idea how to debug this. Is it a problem with the downloaded toolchain running in my system, or is it a problem with using different binaries to make self files? Or maybe even something else in the source code?
I guess what would be appropriate in this case would be to port the ps3 build of movian to the newer toolchain/psl1ght; but alas, how to do so is currently beyond me.
Any ideas?
I went ahead, rebuilt everything under my arm64 macOS using the scripts from the 07-17 branch and everything worked as expected. For ps3libraries I used my own (current) fork. I was able to build my pkgi, apollo, the blitting examples, and all the binaries worked as expected.