Gentoo Archives: gentoo-amd64

From: Simon Strandman <simon.strandman@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Compiling mozilla/firefox with -O2
Date: Tue, 08 Nov 2005 20:08:04
Message-Id: 4371053A.4020600@telia.com
In Reply to: Re: [gentoo-amd64] Compiling mozilla/firefox with -O2 by Richard Freeman
1 Richard Freeman skrev:
2
3 >-----BEGIN PGP SIGNED MESSAGE-----
4 >Hash: SHA1
5 >
6 >
7 >
8 >I edited the eclass to hard code in -Os and firefox built fine, and so
9 >far appears to run fine. I confirmed that -Os was used in the actual
10 >emerge log so it didn't get filtered out. So, that is a good sign.
11 >Perhaps we can be a little more liberal with the flags in the future.
12 >I'll have to try it out with thunderbird. Too bad I don't have memory
13 >usage stats on firefox before the upgrade. I'll have to generate those
14 >for thunderbird. I love -Os since RAM tends to be more limiting than
15 >CPU for most applications.
16 >
17 >
18 Yes, -Os seems indeed to be a good flag to compile firefox with. I
19 remember reading a pdf created by some redhat guys about various
20 optimizations on mozilla and they came to the conclusion that -Os what
21 pretty optimal. So the mozilla/firefox/thunderbird rpms in RHEL/fedora
22 are built with -Os, and so are the official mozilla.org builds. Actually
23 I opened a bug report about that to:
24 https://bugs.gentoo.org/show_bug.cgi?id=107584
25
26 --
27 Simon Strandman <simon.strandman@×××××.com>
28
29 --
30 gentoo-amd64@g.o mailing list