You are not logged in.

#1 2018-09-12 15:33:51

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Firefox will be built with Clang upstream, what about arch?

I was just reading this:
https://www.phoronix.com/scan.php?page= … -Platforms
...so i was wondering how arch will pick that up.
By now it is limited to nightly builds, but since firefox 64 that change will be expanded to stable releases too.

So the question is: do we have to expect "arch's firefox" to be built the way upstream does or it will continue to use gcc?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2018-09-12 20:26:58

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Firefox will be built with Clang upstream, what about arch?

It's hardly surprising I guess, that it looks like Mozilla never bothered to figure out the comparative improvements when using PGO with *modern* gcc, vs. clang... due to not bothering to figure out how to actually make it compile that way in the first place.

Anyway, which compiler toolchain to use is kind of a subjective thing. If it lets us compile successfully with PGO I guess we might do it.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2018-09-12 21:10:41

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Firefox will be built with Clang upstream, what about arch?

Using clang seems logical since llvm is necessary for the included rust code anyways.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2018-09-12 21:45:31

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Firefox will be built with Clang upstream, what about arch?

Seen on IRC:

03:00 PM <Jesin> heftig: https://glandium.org/blog/?p=3888 may be relevant for us
03:00 PM <@phrik> Title:glandium.org » Blog Archive » Firefox is now built with clang LTO on all* platforms (at glandium.org)
03:01 PM <heftig> Jesin: already applied to firefox-nightly
03:01 PM <Jesin> yay
03:03 PM <Jesin> heftig: does that include the profile-guided optimizations?
03:03 PM <heftig> yes


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2018-09-12 23:06:22

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Firefox will be built with Clang upstream, what about arch?

Will the PGO data be added to the sources as well for reproducibility?

Offline

Board footer

Powered by FluxBB