Bug 379551 - firefox, -Os doesn't work on alpha...
Summary: firefox, -Os doesn't work on alpha...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: FF3RawhideClose
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 09:18 UTC by Oliver Falk
Modified: 2018-04-11 09:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-12-20 16:46:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 5276 0 None None None Never

Description Oliver Falk 2007-11-13 09:18:45 UTC
Please apply the following patch to the firefox.spec.
I'll try to fix the problem with upstream (gcc), as this seems to be a compiler
bug for me; First I thought it's relaxed binutils, but it wasn't...

Index: firefox.spec
===================================================================
RCS file: /cvs/pkgs/devel/firefox/firefox.spec,v
retrieving revision 1.207
diff -u -p -r1.207 firefox.spec
--- firefox.spec        5 Nov 2007 12:00:37 -0000       1.207
+++ firefox.spec        13 Nov 2007 09:16:54 -0000
@@ -196,7 +196,11 @@ removed in favor of xulrunner-devel.
 
 # Build with -Os as it helps the browser; also, don't override mozilla's warning
 # level; they use -Wall but disable a few warnings that show up _everywhere_
+%ifarch alpha
+MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-Wall//')
+%else
 MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//')
+%endif
 
 export RPM_OPT_FLAGS=$MOZ_OPT_FLAGS
 export PREFIX='%{_prefix}'

Comment 1 Christopher Aillon 2007-11-13 13:50:46 UTC
I'd like to see what the gcc folks have to say about this before I add
workarounds for broken compilers.  Is there a gcc bug filed that I can reference?

Comment 2 Oliver Falk 2007-11-13 15:01:24 UTC
I have not yet opened a bug against gcc. I only have the one against binutils.
I'll add a reference.


Comment 3 Matěj Cepl 2007-12-20 16:46:27 UTC
We just updated the Firefox version in Fedora/development from 2.0 to a 3.0
pre-release version, which improves performance, memory usage, and fixes many
bugs and crashes.

Closing as CANTFIX since we aren't fixing bugs filed against 2.0 now that 3.0 is
in.  If this bug is still present in rawhide using a Firefox 3.0 version, please
re-open this bug.

Thanks and Happy Holidays


Note You need to log in before you can comment on or make changes to this bug.