Re:Firefox nightly is now built with clang LTO on all platforms
by spystath on Wednesday September 12, 2018 @01:26PM
(#17971012)
Probably this refers only to the pre-compiled builds offered by Mozilla? The distribution packagers build Firefox from source before pushing them to the repository so it would make sense to use the default compiler for the distribution.
On a relevant note, is there any linux distribution that defaults to clang instead of GCC? Up until a couple of years ago the kernel would not even build with clang.
Re:Firefox nightly is now built with clang LTO on all platforms
by archi42 on Wednesday September 12, 2018 @04:14PM
(#17972749)
IIRC some article claimed OpenSUSE would now use clang with lto. That must have been about a month or two ago.
Re:Firefox nightly is now built with clang LTO on all platforms
by swsieber on Wednesday September 12, 2018 @01:46PM
(#17971167)
Do you mean which version they use (e.g. 1.28, stable, beta, nightly, etc.)? They have a dedicated page for required versions: https://wiki.mozilla.org/Rust_Update_Policy_for_Firefox
The tables are confusing, but it seems like they require the most recent stable as of 2 weeks before the firefox release.
Re:Firefox nightly is now built with clang LTO on all platforms
by abrowne on Wednesday September 12, 2018 @01:48PM
(#17971184)
This is for Mozilla's own builds. If you add a .desktop file¹, they work great, and they include a built-in updater (like the updater on Mac or Win).
Re:Firefox nightly is now built with clang LTO on all platforms
by ris on Wednesday September 12, 2018 @03:14PM
(#17972094)
> and they include a built-in updater (like the updater on Mac or Win)
Oh joy! Sign me up!
Re:Firefox nightly is now built with clang LTO on all platforms
by majewsky on Wednesday September 12, 2018 @06:25PM
(#17974040)
I guess having the app update itself may have some appeal for LTS and enterprise distros, where you cannot get the latest-greatest release from the distro vendor. On something like Arch Linux, it's pretty pointless and actually counter-productive: By the time, the package lands in the stable channel of the distro, you know that it works well with all your system libraries because someone tested it.
Re:Firefox nightly is now built with clang LTO on all platforms
by cptskippy on Wednesday September 12, 2018 @02:00PM
(#17971329)
It's all in the first 3 sentences of the article.
> You might have read that Mozilla recently switched Windows builds to clang-cl... As of next nightly (as of writing, obviously), all tier-1 platforms are now built with clang with LTO enabled.
Re:Firefox nightly is now built with clang LTO on all platforms
by ainar-g on Wednesday September 12, 2018 @02:59PM
(#17971931)
What I meant is, when did they start the switch, and which versions have already switched.
Re:Firefox nightly is now built with clang LTO on all platforms
by dblohm7 on Wednesday September 12, 2018 @03:10PM
(#17972053)
Nightly is based off of mozilla-central, our trunk.
When Nightly switches, that means that the version currently being developed (64), is the first version that has been switched.
Re:Firefox nightly is now built with clang LTO on all platforms
by rebelwebmaster on Wednesday September 12, 2018 @06:13PM
(#17973938)
Fx63 (on Beta and Developer Edition) is on track to ship with clang-cl as the Windows compiler too.
Re:Firefox nightly is now built with clang LTO on all platforms
by cptskippy on Wednesday September 12, 2018 @07:30PM
(#17974499)
Windows builds were switched to clang back in July before Linux. MacOS was already using it.
Re:Firefox nightly is now built with clang LTO on all platforms
by rebelwebmaster on Wednesday September 12, 2018 @06:18PM
(#17973982)
Developer Edition builds are based on their current Beta version (Fx63 at this point) and this change just landed on Nightly, which is tracking Fx64.
On a related note, I wish they would add the information about the Rust compiler used to compile the components written in Rust.