@bittin: Check that you don't have -flto
enabled in your CFLAGS/CXXFLAGS. The compilation failed pretty early with that enabled (because this package enables thin LTO, and -flto conflicts with that).
Otherwise, again, I just tested to compile 77b2 (with PGO), it works. Try to compile it in a clean chroot, otherwise the issue might be elsewhere.
Pinned Comments
Anthony25 commented on 2020-05-10 01:04
I enabled LTO and PGO (using a profile generated by running the test suite). They are also used by Mozilla to compile the official firefox-beta binaries they provide, as they allow some performance boost, therefore it is synced in this package.
It is possible to keep the compilation options of the old versions of this package, by setting the options at the top the PKGBUILD (they are documented) to
enable_pgo=n
andenable_lto=n
, or by building it with:env enable_pgo=n enable_lto=n makepkg
However, if running out of memory is an issue, before disabling LTO, try:
env enable_no_keep_memory=y makepkg
It should tell LD to be less aggressive on the cache utilization during the compilation. It does not change anything on the generated binary, it should slow down a bit the compilation, but at least you can still enjoy a compilation with LTO.