Faster Linux builds
After two failed attempts last year, and a few glitches yesterday, we finally managed to get our Linux (and, obviously, Linux64) builds to use GCC 4.5, with aggressive optimization (-O3) and profile guided optimization enabled. This means we are finally using a more modern toolchain, opening opportunities for things such as static analysis. This also means we are now producing a faster Firefox, now much closer to the Windows builds on the same hardware on various performance tests.
A nice side effect of some of the work I have done to make the switch possible is that these builds will also work on older Linux platforms such as RedHat/CentOS 5, or possibly older (as long as they come with libstdc++ from GCC 4.1).
The first Firefox release to benefit these new settings should be Firefox 6.
A few branches other than mozilla-central have also been switched, most notably Try, for which there is a known issue if you push something too old. Please make sure to read the corresponding information on wiki.m.o for a workaround. A Mercurial hook is going to be put in place to issue a warning if there are chances your build will fail (it will, however, not prevent the push).
Thanks to Chris Atlee, Rail Aliiev, Taras Glek, Justin Lebar and all those I forgot or am not aware of for their assistance and/or past involvement in the previous attempts.
2011-04-29 11:31:18+0900
You can leave a response, or trackback from your own site.
2011-05-05 01:22:46+0900
[…] Mike Hommey, member au développement du navigateur Firefox au sein de l’équipe de Mozilla, annonce en effet avoir finalement réussi à compiler une build de l’application avec le compilateur […]
2011-05-05 11:43:27+0900
[…] de referencia: Glandium. – Publicidad […]
2011-05-05 16:51:18+0900
[…] Mozilla Firefox bientôt plus rapide sous linux ? Ce serait pas un mal… Mais le plus intéressant, c’est le moteur Javascript et dont la nouvelle génération s’appellera IonMonkey. Qui ne sera pas disponible avant Mozilla Firefox 6, à mon très humble avis d’utilisateur des logiciels de la Fondation Mozilla depuis… 11 ans environ […]
2011-05-10 05:02:25+0900
[…] palabra de Mike Hommey, desarrollador de Mozilla: Por fin nos las hemos arreglado para conseguir que nuestras versiones […]
2011-05-13 23:05:03+0900
[…] Hommey, participant au développement du navigateur Firefox au sein de l’équipe de Mozilla, annonce en effet avoir finalement réussi à compiler une build de l’application avec le compilateur […]
2011-05-14 07:49:41+0900
[…] distro also features FireFox 4.01, which is claimed to run much faster on Linux than it did previously. The Mozilla team announced in late April it had finally managed to […]
2011-08-14 14:00:33+0900
[…] lässt sich auf das Wechseln des Compilers auf GCC 4.5 zurückführen. Der Firefox-Entwickler Mike Hommey schreibt dazu: After two failed attempts last year, and a few glitches yesterday, we finally managed to get […]
2011-08-17 11:49:26+0900
[…] und mit aktivierter “profile guided optimization”, wie die Entwickler bereits im April in einem Blog-Eintrag verrieten. Nebeneffekt: Firefox 6 sollte nun auch auf älteren Linux-Plattformen, wie […]
2011-09-03 16:25:09+0900
[…] Compiler umzusteigen, doch erst mit Firefox 6 ist dies nun gelungen. Mozilla-Entwickler Mike Hommey schreibt in seinem Blog: We finally managed to get our Linux (and, obviously, Linux64) builds to use GCC 4.5, with […]
2013-06-05 05:45:08+0900
[…] Hommey在åšå®¢ä¸Šå®£å¸ƒï¼Œä»–的团队æˆåŠŸåˆ©ç”¨æ•´åˆé…置文件导引优化(Profile-Guided […]
2015-06-10 11:20:02+0900
Hey very nice blog!! Man .. Excellent .. Amazing .. I will bookmark your site and take the feeds alsoI’m satisfied to find a lot of useful info right here within the post, we’d like develop extra strategies in this regard, thanks for sharing.