Since people are likely to be rebuilding firefox for the
certificates, based on Douglas's findings, I'll mention that I'm
looking at 67beta (67.0 is due out next week) and - slowly -
starting to look at some of the options SuSe are using.

As always with firefox, my repeated builds take varying amounts of
time and use slightly different amounts of space (a minimal
difference in the install, bigger differences in the build
directory).  This is all with clang, and for the moment I'm
installing to /opt/firefox and blowing that away after each build.

First, a build using the current instructions, and the patch which
is now in my space at higgs:
 http://www.linuxfromscratch.org/~ken/dev-patches

For this, the build space was all-but 10GB, but I paid attention
while ld.gold was doing the linking and that seemed to max out at
6.6 GB (a bit over 5 GB resident) - with 4 cores, 7.8 GB of RAM, and
only six rxvt-unicode terms open (I'd killed the installed firefox
and falkon after hitting severe amounts of swap on an earlier
attempt) this did not swap.

The first change I wanted to try was:

 ac_add_options --disable-debug-symbols

Since I have no use for debug symbols, and the build defaults to
stripping (when I last investigated), this sounded like a
no-brainer.  Unfortunately, although it saved a *lot* of space
(build space just over 4GB, or less than half), the time went up
significantly, something like 30-35% slower.

I'm repeating that at the moment, hoping to watch the link to see if
the link space is affected.

There are other things I'd like to try, but I'm not sure I'll manage
them all (sitting waiting for the link, with no browsers open, is
not very useful for doing anything else, and deathly boring).

So far, I have one initial conclusion: what works for a (binary)
distro - build once, then ship it out - has different tradeoffs from
building from source.  However, if building on a machine with
limited available real memory (at a guess, towards 2GB per core is a
good starting point), the options to save space at the expense of
time might be useful.

Also, please be aware that firefox-67 is going to create a new
profile, so you may wish to keep a note of any URLs you frequently
visit but have not bookmarked.

ĸen
-- 
Before the universe began, there was a sound. It went: "One, two, ONE,
two, three, four" [...] The cataclysmic power chord that followed was
the creation of time and space and matter and it does Not Fade Away.
 - wiki.lspace.org/mediawiki/Music_With_Rocks_In


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to