Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23833 - mozilla-firebird and mozilla-firebird-cvs don't remember options if compiled with too aggressive CFLAGS
Summary: mozilla-firebird and mozilla-firebird-cvs don't remember options if compiled ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://bugzilla.mozilla.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-01 14:38 UTC by tomgo
Modified: 2003-11-16 09:53 UTC (History)
1 user (show)

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


Attachments
replaces 'filter-flags -fomit-frame-pointer' with 'filter-flags "-fomit-frame-pointer -ffast-math"' (mozilla-firebird.patch,408 bytes, patch)
2003-07-02 12:31 UTC, Sebastian B. Otaegui
Details | Diff
replaces 'filter-flags -fomit-frame-pointer' with 'filter-flags "-fomit-frame-pointer -ffast-math"' (mozilla-firebird.patch,408 bytes, application/octet-stream)
2003-07-02 12:32 UTC, Sebastian B. Otaegui
Details
replaces 'filter-flags -fomit-frame-pointer' with 'filter-flags "-fomit-frame-pointer -ffast-math"' (mozilla-firebird.patch,408 bytes, text/plain)
2003-07-02 12:32 UTC, Sebastian B. Otaegui
Details
the ebuild (mozilla-firebird-0.6-r6.ebuild,4.90 KB, application/text-plain)
2003-07-02 12:42 UTC, Julien Allanos (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomgo 2003-07-01 14:38:34 UTC
i emerged mozilla-firebird and mozilla-firebird-cvs with these CFLAGS: 
CFLAGS="-march=athlon-xp -O2 -pipe -fprefetch-loop-arrays -ffast-math 
-fmerge-all-constants -frerun-cse-after-loop -frerun-loop-opt -mfpmath=sse 
-fforce-addr"
both compile fine, but when i open the options dilog, all buttons seems to be 
checked. i can press them, they stay cghecked, i press them again, they get 
unchecked. when i re-open the options-dialog, all my settings are gone.
this doesn't happen with mozilla-firebird-bin.
so i think this has either to do with gcc-3.2.3 or with my CFLAGS. as someone in 
the link mentioned, this doesn't appear if you unset the CFLAGS.
so it is likely that one of them causes this to fail and should be filtered.
i'll try and rebuild mozilla-firebird with unset CFLAGS and add them one-by-one 
to check this out.
if someone could point me in the right direction, this could save a lot of time 
:-)


Reproducible: Always
Steps to Reproduce:
1.emerge mozilla-firebird-cvs
2.open options-dialog, change settings
3. re-open options-dialog



Expected Results:  
mozilla-firebird should remember the settings
Comment 1 tomgo 2003-07-01 21:58:52 UTC
ah, well it seems the solution is rather easy: -ffast-math has to be filtered out of CFLAGS, then it works for me. there are several threads on bugzilla.mozilla.org mentioning this, too.
so the ebuild of both mozilla-firebird-cvs and mozilla-firebird need to filter this one out.
-fomit-frame-pointer should be filtered, too, as mozilla-firebird-cvs compiled fine with it but segfaulted at start.
Comment 2 konsti 2003-07-02 00:01:56 UTC
OK, I will try to reproduce this -ffast-math thing this evening. Then it should be solved...
Comment 3 konsti 2003-07-02 09:35:45 UTC
-ffast-math solves the problem... good to know!
I kept my CFLAGS and removed only the -ffast-math
Comment 4 tomgo 2003-07-02 10:01:20 UTC
ok then. 
sorry, but i am too stupid to provide an ebuild which fixes the problem.
Comment 5 Sebastian B. Otaegui 2003-07-02 12:31:31 UTC
Created attachment 14115 [details, diff]
replaces 'filter-flags -fomit-frame-pointer' with 'filter-flags "-fomit-frame-pointer -ffast-math"'

i hope this is enough
Comment 6 Sebastian B. Otaegui 2003-07-02 12:32:00 UTC
Created attachment 14116 [details]
replaces 'filter-flags -fomit-frame-pointer' with 'filter-flags "-fomit-frame-pointer -ffast-math"'

i hope this is enough
Comment 7 Sebastian B. Otaegui 2003-07-02 12:32:44 UTC
Created attachment 14117 [details]
replaces 'filter-flags -fomit-frame-pointer' with 'filter-flags "-fomit-frame-pointer -ffast-math"'

i hope this is enough
Comment 8 Julien Allanos (RETIRED) gentoo-dev 2003-07-02 12:42:06 UTC
Created attachment 14118 [details]
the ebuild
Comment 9 Julien Allanos (RETIRED) gentoo-dev 2003-07-02 12:43:42 UTC
Comment on attachment 14118 [details]
the ebuild

new ebuild with -ffast-math filtered out. tested and working.
Comment 10 Brad Laue (RETIRED) gentoo-dev 2003-07-03 10:58:48 UTC
Thanks, all; please test mozilla-firebird -r6, it includes this filter.

Be sure to reply to this bug on its success.
Comment 11 FieldySnuts 2003-07-04 08:12:44 UTC
Works For Me. Thanks! 
Comment 12 tomgo 2003-07-04 09:19:10 UTC
well, i've tested mozilla-firebird-cvs-0.6-r2 which works for me.
thanks!
Comment 13 Brad Laue (RETIRED) gentoo-dev 2003-07-05 00:13:11 UTC
Good to hear, closing this one down. ;)
Comment 14 tomgo 2003-07-05 05:01:28 UTC
hm, maybe i was a little too fast. maybe this isn't the same bug, maybe it isn't a bug at all.
when i access the options via Tools-->Options, fb remembers them. when i acces them via  chrome://communicator/content/pref/pref.xul, it doesn't remember them.
maybe you can close this bug again, as i am not sure that it is the same problem.
Comment 15 Radoslaw Szkodzinski 2003-11-16 01:47:51 UTC
Pref.xul is Mozilla Suite old preferences page.
You shouldn't expect it to work properly, as many files on which it depends got removed or changed.

Use about:config or different extensions from http://texturizer.net/firebird/
Comment 16 Brad Laue (RETIRED) gentoo-dev 2003-11-16 09:53:10 UTC
Re-closing