Summary: | www-client/firefox and thunderbird could benefit from lld/bfd parallelism | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cănărău Constantin <canarauc> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | canarauc, herrtimson, ionen, kocelfc, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Cănărău Constantin
2021-02-11 11:55:47 UTC
GCC and bfd can also do -lto=N This is definitely something to look at. I wonder if there's a need to detect whether a user has set linker parallelism and only then apply it here too. The "problem" is that LTO is enabled via build system options and not via *FLAGS, I'll have to see if/how they're modifiable. I transformed my Pi 4 to a headless local server long time ago, so Firefox wasn't compiled on it recently. But on Raspberry Pi 5 compiling Firefox does not have the same issue. At the final linking stage, lld use all four cores. Sorry for delay, I put Vivaldi on Pi 5 and, somehow, get used with it. Firefox require clang, nodejs and, of course, itself - three packages with long time required for compile. pi5 ~ # emerge -pvO firefox These are the packages that would be merged, in order: [ebuild R ] www-client/firefox-121.0.1:rapid::gentoo USE="X clang dbus gmp-autoupdate jumbo-build lto system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -debug (-eme-free) -geckodriver (-hardened) -hwaccel -jack -libproxy -openh264 -pgo -pulseaudio -screencast (-selinux) -sndio -system-png (-system-python-libs) -telemetry (-valgrind) -wayland -wifi" CPU_FLAGS_ARM="(-neon)" L10N="ro -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fur -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ru -sc -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB It's not clear to me why the user shouldn't just set this. |