Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41562 - Enable -Os flag with Firefox in 32-bit archs
Summary: Enable -Os flag with Firefox in 32-bit archs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-14 08:18 UTC by Ville Leskinen
Modified: 2004-06-18 08:23 UTC (History)
0 users

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


Attachments
patch against current firefox ebuild (firefox-Os.diff,427 bytes, patch)
2004-02-14 08:20 UTC, Ville Leskinen
Details | Diff
firefox-Os.diff (firefox-Os.diff,428 bytes, patch)
2004-02-14 08:25 UTC, Ville Leskinen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ville Leskinen 2004-02-14 08:18:54 UTC
Current mozilla-firefox ebuild enables gcc optimization levels up to -O2 in 32-bit archs. I think this should also include -Os, as it is below -O2 and also quite popular in Gentoo community.

I have been running Firefox compiled with -Os since it was released and haven't had any stability problems or segfaults yet.
Comment 1 Ville Leskinen 2004-02-14 08:20:27 UTC
Created attachment 25600 [details, diff]
patch against current firefox ebuild

Patch that enables -Os optimizations in firefox ebuild
Comment 2 Ville Leskinen 2004-02-14 08:25:29 UTC
Created attachment 25601 [details, diff]
firefox-Os.diff

there was a syntax error in first patch
Comment 3 Simon Cooper 2004-06-06 07:56:15 UTC
to be tested this could be put into ~x86 with a quick warning at the top, saying that its unlikely to go wrong but heres what to do if it does...

however they might have cut out -Os for a reason, need to wait and see what the moz ppl say
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-06-18 08:23:46 UTC
Thanks for the suggestion guys.  At this point I'm not willing to enable -Os for mozilla, firefox, thunderbird.  The reason is simply that when we allow optimization other than the ones we know work for those ebuilds, then we get into trouble with lots of bug reports about them not working.  We've been burned by this in the past.

If you want to enable -Os in your ebuilds, please go ahead in your own overlay, but don't report any bugs about it. ;-)  I don't really see the point personally.