Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251265

Summary: games-emulation/sdlmame-0.127 doesn't compile on PPC with GCC 4.3 and Altivec support
Product: Gentoo Linux Reporter: Henrique Rodrigues <henrique.rodrigues>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    

Description Henrique Rodrigues 2008-12-16 23:58:14 UTC
Sorry, i'll just quote the bug I put on MAMEtesters:
http://mametesters.org/mantis/view.php?id=2732

----

Hi,

I'm a Gentoo Linux user on PPC and I'm not able to compile SDLMAME under certain circumstances. I've tried SDLMAME 0.127, SDLMAME 0.128 and SDLMAME 0.128u5 with the same results.

My CFLAGS are the following:
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

If I use GCC 4.1.2, I can compile SDLMAME with no problems. If I use GCC 4.3.2, SDLMAME fails to build. To build SDLMAME with GCC 4.3.2, I have to change "-maltivec" to "-mno-altivec" in my CFLAGS.

----

I've submitted a bug upstream (*) and it has been accepted to sdlmame-0.128u6, that was released a few days ago. Since this version is still considered unstable, I suggest that we wait until 0.129 is released and then bump the version in Portage.

(*) 
http://www.bannister.org/forums/ubbthreads.php?ubb=showflat&Number=46816#Post46816

Reproducible: Always
Comment 1 Henrique Rodrigues 2009-01-05 16:55:14 UTC
SDLMAME 0.129 has been released. We just have to bump the version in Portage (simple ebuild renaming works fine) and this bug can be closed.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-01-06 07:58:49 UTC
0.129 is in portage.