Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148781 - StepMania 3.9 Loops Songs Forever if using GCC 4 with >= -O2 optimizations
Summary: StepMania 3.9 Loops Songs Forever if using GCC 4 with >= -O2 optimizations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 153728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-23 07:46 UTC by Charles Christie
Modified: 2006-12-12 09:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stepmania-amd64-gcc41-loopfix.patch (stepmania-amd64-gcc41-loopfix.patch,636 bytes, patch)
2006-11-03 15:34 UTC, UncleOwen
Details | Diff
a patch to fix mostly all of the strict alias issues (stepmania-3.9-gcc41-fixstrictalias-1.patch,5.05 KB, patch)
2006-11-27 18:31 UTC, Charles Christie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Christie 2006-09-23 07:46:56 UTC
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.
Comment 1 SpanKY gentoo-dev 2006-09-23 07:55:45 UTC
no, figure out the real bug, dont force flags
Comment 2 Charles Christie 2006-09-23 16:13:24 UTC
I'm no programmer, I can't find bugs. I did, however, inform the StepMania developers.
Comment 3 Joel Cunningham 2006-11-01 11:31:23 UTC
*** Bug 153728 has been marked as a duplicate of this bug. ***
Comment 4 UncleOwen 2006-11-03 15:34:10 UTC
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.
Comment 6 Joel Cunningham 2006-11-05 20:53:56 UTC
I am running the latest stepmania-cvs snapshot and this problem isn't present.
Comment 7 Charles Christie 2006-11-27 18:31:33 UTC
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...
Comment 8 UncleOwen 2006-11-28 08:49:13 UTC
Great. The patch works :)
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2006-11-29 14:54:04 UTC
This patch is applied atop all the others, correct?
Comment 10 UncleOwen 2006-12-01 11:35:01 UTC
Correct.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-12 09:50:08 UTC
FIXED in CVS...