The ebuild needs a patch that forces -O1 in StepMania 3.9 using GCC 4.* I've tested it and confirmed that it works with -O1 but not with anything higher.
no, figure out the real bug, dont force flags
I'm no programmer, I can't find bugs. I did, however, inform the StepMania developers.
*** Bug 153728 has been marked as a duplicate of this bug. ***
Created attachment 101172 [details, diff] stepmania-amd64-gcc41-loopfix.patch I have taken a closer look at what compiler options are included in -O2. This is what I found. @Charles: How did you inform them? I did not find a bugtracker, nor did I find a post from you on the stepmania forums.
https://sourceforge.net/tracker/?func=detail&aid=1559774&group_id=37892&atid=421366
I am running the latest stepmania-cvs snapshot and this problem isn't present.
Created attachment 102883 [details, diff] a patch to fix mostly all of the strict alias issues StepMania-CVS != StepMania 3.9. Some people prefer 3.9 over 4.0 due to theme and song compatibility issues. Oh, and someone made a real patch for this...
Great. The patch works :)
This patch is applied atop all the others, correct?
Correct.
FIXED in CVS...