On Wed, May 08, 2019 at 08:53:14PM +0100, Ken Moffat via blfs-dev wrote: > On Wed, May 08, 2019 at 08:07:03PM +0100, Ken Moffat wrote: > > > > I'm repeating that at the moment, hoping to watch the link to see if > > the link space is affected. > > > The variability of the build times caught me out, it had finished a > lot sonner than I was expecting. > > > > 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. > > > Forgot to add: nasm should be recommended for 67 (av1 is built be > default), and yasm is still required. > > ĸen Given that my build times are so variable (on the same system, even repeating with the exact same options : I blame the people who wrote the build systems in python), the following are not yet definite, but they appear to be beneficial in 67, so probably also in 66 :
1. Do NOT use ld.gold. I assumed mozilla changed this because they really prefer to use llvm, but it looks as I was wrong. With 67b18 and the patch, the final linkage takes several seconds (I have assumed a minute or two in the past, but maybe I was mistaken, or maybe 67 is better in some way) and running 'top' on the ld pid I saw a maximum of 3.9GB used by the linker, with a maximum of 3.8GB resident. 2. ac_add_options --disable-debug-symbols With the builds using gold, this seemed to severely extend the overall build time, and I don't think the final linkage was a major part of that. But with ld.bfd, it not only saves a *lot* of memory, it also makes the final link much quicker. The other things I'm interested in are hardening, and those are reported to make the application startup slower, so for the moment I won't be trying those. If I get time, I'll try building with gcc (8.2.0) to see if the results are better or worse. ĸ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
