You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question] Would it be possible to update gcc? #118
I'm new to the playstation 3 development scene, I started using the toolset not too long ago. But I noticed some interesting things that got in the way of development for the platform. For some reason I have problems compiling projects with -O2 levels, it compiles more does not run, always returns to xmb (I did Code Review, this ok). In search of an answer the idea came to my mind that the flags that -O2 levels add could be the problem, so I decided to test one by one until I get to the -fcode-hoisting flag, for some reason this flag does not allow me to compile with -O2 levels. Searching around a bit, I found a small update from gcc 7.2.0 to gcc 7.5.0, but it seems to be very unstable. But when compiling my project with this update it worked perfectly. The point here is, Would it be possible to update gcc or fix the problem?
Built the toolchain on Ubuntu focal and then built a couple of tiny3d samples. Loaded it via ps3loadx. Same like thing like gcc 10.2.0, I just get black screen and have to poweroff the ps3.
Built the toolchain on Ubuntu focal and then built a couple of tiny3d samples. Loaded it via ps3loadx. Same like thing like gcc 10.2.0, I just get black screen and have to poweroff the ps3.
I'm also facing the black screen using c++ with iostream.h and I'm still investigating the reason.
On the hand pure c it's working. @DarkBattle0000 try out to generated the pkg and tell me if still fails
@humbertodias Testing on console only. I can try downloading your prebuilt toolchain and try building. What Ubuntu version are you on? I tried running in Focal and I'm getting this error.
./powerpc64-ps3-elf-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
Activity
zeldin commentedon Jan 25, 2024
Hi! You might want to try out #110 which contains an update to gcc 10. Would be nice to get some more feedback on how that works out for people.
humbertodias commentedon Mar 6, 2024
@DarkBattle0000
Try out #121
cy33hc commentedon Mar 13, 2024
Built couple of tiny3d samples, but get a black screen and have to power off the ps3 when trying to load from ps3loadx.
cy33hc commentedon Mar 13, 2024
Built the toolchain on Ubuntu focal and then built a couple of tiny3d samples. Loaded it via ps3loadx. Same like thing like gcc 10.2.0, I just get black screen and have to poweroff the ps3.
humbertodias commentedon Mar 13, 2024
I'm also facing the black screen using c++ with iostream.h and I'm still investigating the reason.
On the hand pure c it's working.
@DarkBattle0000 try out to generated the pkg and tell me if still fails
cy33hc commentedon Mar 14, 2024
@humbertodias Blacks screen with pkg also.
humbertodias commentedon Mar 14, 2024
Weird! I have tested successfully it on rpcs3 today.
is the black screen only on console or also on rpcs3?
cy33hc commentedon Mar 14, 2024
@humbertodias Testing on console only. I can try downloading your prebuilt toolchain and try building. What Ubuntu version are you on? I tried running in Focal and I'm getting this error.
./powerpc64-ps3-elf-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
humbertodias commentedon Mar 14, 2024
I'm using ubuntu 24.04 amd64 the same used to publish at releases
You could also use the docker version of toolchain
docker run -it -v`pwd`:/build hldtux/ps3devcy33hc commentedon Mar 14, 2024
Tested with the prebuilt toolchain. Testing on console only.
humbertodias commentedon Mar 14, 2024
Unfortunately, I don't have a ps3 for testing.
But, I have successfully tested on rpcs3
How I did to compile sprites 2D and generate the pkg
Then outside the container grab the tiny3D/samples/sprites2D/sprites2D.pkg and drop on rpcs3
humbertodias commentedon Mar 14, 2024
I found out the problem and fix here humbertodias@bc0c04b
Basically, the app ps3loadx uses the library tiny3D that wasn't on https://github.com/ps3dev/ps3libraries
Therefore, I had pointed to mine https://github.com/humbertodias/ps3libraries that already have the script to install it.
Try to use the latest release of https://github.com/humbertodias/ps3loadx/releases and it should work now.