Summary: | games-fps/cube fails to load on ppc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Henrique Rodrigues <henrique.rodrigues> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ppc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic-t-278774.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Henrique Rodrigues
2005-07-12 13:57:33 UTC
Run "ln -s /usr/lib/libstdc++-libc6.1-2.so.3 /usr/lib/libstdc++-libc6.2-2.so.3" and cube_client-bin should work. lib-compat should install that symlink but at the moment it does not. You will have to use cube_client-bin in order to play on online servers as the open source version will not be able to connect to them due to security reasons. As for the SDL parachute I haven't been able to reproduce that. You might want to add '-maltivec' to your CFLAGS, '-mabi=altivec' without '-maltivec' will not do anything. If you add '-mtune=G4' instruction scheduling will be optimized for your G4 as well. The SDL_Segmentation fault seems to be because of the networking code. It looks like it tries to disconnect without checking if there is a peer registered. This results in trying to resolve a null pointer and we get a segfault. I'll see if I can come up with a patch. This is still broken with the new version of cube (not yet in portage). I think my original idea as to what was wrong is wrong, but I'll keep looking into it. Okay, it was actually a simple fix, we need to use -fsigned-char on ppc. Added the fix to CVS. |