Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75690 - mplayer + -fstack-protector + gcc 3.3.2 + x86 = qtaudio crash
Summary: mplayer + -fstack-protector + gcc 3.3.2 + x86 = qtaudio crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-26 04:38 UTC by basic
Modified: 2004-12-26 16:43 UTC (History)
0 users

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


Attachments
patch (win32.patch,274 bytes, patch)
2004-12-26 04:40 UTC, basic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description basic 2004-12-26 04:38:35 UTC
mplayer + -fstack-protector + gcc 3.3.2 + x86 = qtaudio crash

I've a patch, but I'm not sure if it should be applied. The problem goes away when -frename-registers is used. So if we allow -O3 it would go away :p. I'm not sure if -O3 still gives problems as I see in the makefiles workarounds to make -O3 work. patch coming up...

Reproducible: Always
Steps to Reproduce:
1. emerge mplayer with -fstack-protector using gcc 3.3.2 on x86
2. play a quicktime video with mplayer (say from apple's trailer site)


Actual Results:  
mplayer crash

Expected Results:  
mplayer play quicktime video
Comment 1 basic 2004-12-26 04:40:52 UTC
Created attachment 46894 [details, diff]
patch

here's the patch
Comment 2 Chris White (RETIRED) gentoo-dev 2004-12-26 16:43:43 UTC
Fixed in cvs.  Simply added -frename-registers after making sure hardened didn't suffer from it.