Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 675064

Summary: www-client/firefox - enable PGO build
Product: Gentoo Linux Reporter: doodydexter
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description doodydexter 2019-01-10 09:22:03 UTC
what's the status of PGO enabled builds? 

i've had success with this ebuild using clang 7.0.1: https://github.com/perfect7gentleman/pg_overlay/blob/master/www-client/firefox/firefox-64.0.ebuild


Installed versions:  64.0^d{tbz2}[?](10:04:12 AM 01/08/2019)(clang dbus eme-free jit lto pgo pulseaudio screenshot startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-libvpx -bindist -custom-cflags -custom-optimization -debug -geckodriver -gmp-autoupdate -hardened -hwaccel -jack -kde -neon -selinux -system-sqlite -test -wifi L10N="-ru")
Comment 1 Ionen Wolkens gentoo-dev 2019-01-29 03:45:36 UTC
Seems this got enabled again with 65.0's ebuild.

But, correct me if I'm wrong, does it really still need xvfb? (currently enforced on xorg-server through virtualx)

I've been building clang+lto+pgo for some time now and I didn't have it. Firefox has a real headless mode now, it shouldn't need xvfb anymore to do profiling.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-03-18 22:16:02 UTC
Like said, USE=pgo is available for since 2019.

(In reply to Ionen Wolkens from comment #1)
> But, correct me if I'm wrong, does it really still need xvfb? (currently
> enforced on xorg-server through virtualx)

Up to my knowledge, it is: If you would run in headless mode, you wouldn't optimize GUI parts.