Created attachment 883319 [details] build log compressed with xz Firefox's build fails during the profiling phase if zink is enabled in mesa, the build finishes if media-libs/mesa is built with USE=-zink started SP3 server on port 8000 00:21:40.403 [types/wlr_compositor.c:692] New wlr_surface 0x556779c8faa0 (res 0x556779c8cbe0) 00:21:40.403 [types/wlr_compositor.c:692] New wlr_surface 0x556779c8fe50 (res 0x556779c8e4b0) console.warn: services.settings: Ignoring preference override of remote settings server console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment 00:21:40.729 [types/wlr_compositor.c:692] New wlr_surface 0x556779c90ba0 (res 0x556779c90f50) 00:21:40.729 [types/wlr_compositor.c:692] New wlr_surface 0x556779c90f50 (res 0x556779c91300) 00:21:40.864 [types/wlr_compositor.c:692] New wlr_surface 0x556779c91770 (res 0x556779c91b20) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) 00:21:41.042 [types/wlr_compositor.c:692] New wlr_surface 0x556779c92840 (res 0x556779c92bf0) 00:21:41.042 [types/wlr_compositor.c:692] New wlr_surface 0x556779c92c80 (res 0x556779c93030) 00:21:41.082 [types/wlr_compositor.c:692] New wlr_surface 0x556779c93470 (res 0x556779c93820) 00:21:41.082 [types/wlr_compositor.c:692] New wlr_surface 0x556779c938b0 (res 0x556779c91b20) 00:21:41.091 [types/wlr_compositor.c:692] New wlr_surface 0x556779c946d0 (res 0x556779c94a80) 00:21:41.091 [types/wlr_compositor.c:692] New wlr_surface 0x556779c9cfb0 (res 0x556779c94ba0) 00:21:41.102 [types/wlr_compositor.c:692] New wlr_surface 0x556779c9d360 (res 0x556779c94c30) 00:21:41.149 [types/xdg_shell/wlr_xdg_surface.c:388] new xdg_surface 0x556779c9d710 (res 0x556779c9d830) 00:21:41.149 [types/wlr_compositor.c:692] New wlr_surface 0x556779c9e0c0 (res 0x556779c9e470) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) MESA: error: zink: could not create swapchain console.error: ({}) 00:21:41.311 [types/wlr_compositor.c:692] New wlr_surface 0x556779c9f7c0 (res 0x556779c9e8a0) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 236)) 00:21:41.710 [types/wlr_compositor.c:692] New wlr_surface 0x556779ca4770 (res 0x556779ca4b20) 00:21:41.710 [types/wlr_compositor.c:692] New wlr_surface 0x556779ca4c40 (res 0x556779ca4ff0) 00:21:41.954 [types/wlr_compositor.c:692] New wlr_surface 0x556779ca5170 (res 0x556779c9d830) MESA: error: zink: could not create swapchain LLVM Profile Error: Failed to write file "default_24437_random_5256848434440365314_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_7386420086373065007_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_1971472868441924494_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_15725578585081851058_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_15499253829504269602_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_7975645164380870881_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_8966605819263749327_0.profraw": Broken pipe LLVM Profile Error: Failed to write file "default_24437_random_5690289791782023402_0.profraw": Broken pipe Firefox exited with code -11 during profile initialization Error running mach: mach build --verbose The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke ``./mach busted`` to check if this issue is already on file. If it isn't, please use ``./mach busted file build`` to report it. If ``./mach busted`` is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: subprocess.CalledProcessError: Command '['/var/tmp/portage/www-client/firefox-122.0/work/firefox_build/srcdirs/firefox-122.0-f2f704489059/_virtualenvs/build/bin/python', '/var/tmp/portage/www-client/firefox-122.0/work/firefox-122.0/build/pgo/profileserver.py']' returned non-zero exit status 245. File "/var/tmp/portage/www-client/firefox-122.0/work/firefox-122.0/python/mozbuild/mozbuild/build_commands.py", line 215, in build subprocess.check_call(pgo_cmd, cwd=instr.topobjdir, env=pgo_env) File "/usr/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd)
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.38-r9, 6.7.2-gentoo-r1+ x86_64) ================================================================= System uname: Linux-6.7.2-gentoo-r1+-x86_64-13th_Gen_Intel-R-_Core-TM-_i5-13600KF-with-glibc2.38 KiB Mem: 16232476 total, 4298580 free KiB Swap: 16232444 total, 15737084 free Timestamp of repository gentoo: Sat, 27 Jan 2024 14:48:11 +0000 Head commit of repository gentoo: 6c9df36f7d66ab072dc0e3f3e6b23f2f91cdc865 Timestamp of repository guru: Fri, 26 Jan 2024 10:48:04 +0000 Head commit of repository guru: cff4176fd6b57304896429274663b34e5dc93ec4 Timestamp of repository kde: Wed, 24 Jan 2024 11:48:07 +0000 Head commit of repository kde: 5a3bdbe353892d51a47859bbfa47420fe97ac354 Timestamp of repository steam-overlay: Wed, 17 Jan 2024 23:18:13 +0000 Head commit of repository steam-overlay: 1b2ecf815a1503215214a4a8fd21c09610c46991 sh bash 5.2_p26 ld GNU ld (Gentoo 2.41 p4) 2.41.0 ccache version 4.9 [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r1::gentoo dev-build/cmake: 3.28.1-r1::gentoo dev-build/libtool: 2.4.7-r2::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.1-r1::gentoo dev-lang/perl: 5.38.2-r1::gentoo dev-lang/python: 3.11.7::gentoo dev-lang/rust: 1.74.1::gentoo dev-util/ccache: 4.9::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 254.7-r1::gentoo sys-devel/binutils: 2.41-r4::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240113-r1::gentoo, 14.0.1.9999::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r9::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 eclass-overrides: local volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo eclass-overrides: local volatile: False kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo eclass-overrides: local volatile: False local location: /var/db/repos/local masters: gentoo eclass-overrides: local volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo eclass-overrides: local volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=x86-64-v3 -O2 -pipe -fno-plt -flto=auto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-march=x86-64-v3 -O2 -pipe -fno-plt -flto=auto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing " DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS=" --buildpkg-exclude acct-* --buildpkg-exclude */*-bin" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=x86-64-v3 -O2 -pipe -fno-plt -flto=auto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing " FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=x86-64-v3 -O2 -pipe -fno-plt -flto=auto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing " GENTOO_MIRRORS=" https://mirror.telepoint.bg/gentoo http://tux.rainside.sk/gentoo/ http://gentoo.mirror.root.lu/ ftp://tux.rainside.sk/gentoo/ http://ftp.vectranet.pl/gentoo/ " LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -flto=auto -ffat-lto-objects -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" LEX="flex" MAKEOPTS="-j20" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-C target-cpu=x86-64-v3 -C opt-level=3 -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now -C link-arg=-Wl,-z,pack-relative-relocs -C link-arg=-fuse-ld=mold" SHELL="/bin/bash" USE="X aac acl acpi activities amd64 branding bzip2 cairo cdr crypt dbus declarative dri dvdr encode exif flac flatpak gdbm gif gtk gui hardened iconv icu jpeg kde kf6compat kwallet lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp sound ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby33" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
An additional note, this was working with previous versions of mesa. Downgrading to =media-libs/mesa-23.3.1, the build works (I think it was working also with 23.3.2). But with 23.3.3 and current 23.3.4 this build failure happens
I was noticing the same. 23.3.2 was the last one that worked. Possibly related: After rebuilding mesa-23.3.4 with USE="-zink" and then verifying Firefox builds fine, no one can see me in Google Meet calls (they only see my avatar as if my video was muted) even though I can see myself in the corner just fine. I feel like this started happening with this change, so I'll downgrade mesa to 23.3.1, with and without zink, and update here in case anyone's also affected by this weirdness.
Looks like the runtime Meet issues are unrelated, apologies for the noise.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=852d4ce6b426717d107849d8151b3dc2f1104d95 commit 852d4ce6b426717d107849d8151b3dc2f1104d95 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2024-01-29 19:27:03 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2024-01-29 19:31:08 +0000 package.use.mask: Mask USE=zink on media-libs/mesa Bug: https://bugs.gentoo.org/919858 Bug: https://bugs.gentoo.org/923054 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/default/linux/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)
(In reply to Petr Šabata from comment #4) > Looks like the runtime Meet issues are unrelated, apologies for the noise. https://bugzilla.mozilla.org/show_bug.cgi?id=1875201#c16 check this bug, it may help you.
(In reply to Joonas Niilola from comment #6) > (In reply to Petr Šabata from comment #4) > > Looks like the runtime Meet issues are unrelated, apologies for the noise. > > https://bugzilla.mozilla.org/show_bug.cgi?id=1875201#c16 check this bug, it > may help you. Thank you; it seems like that could be culprit indeed.
I seem to be hitting this out of nowhere with USE=-zink on mesa (it's still masked)....
Created attachment 892962 [details] Build log of firefox-115.11.0 failing with zink error I too am hitting this issue whilst attempting to upgrade to firefox-115.11.0, despite the fact that zink is still disabled and masked. Final lines of build.log (full build.log is attached) 15:57.68 gmake[2]: Entering directory '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox_build/instrumented/browser/installer' 15:57.68 gmake[2]: Nothing to be done for 'tools'. 15:57.68 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox_build/instrumented/browser/installer' 15:57.68 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox_build/instrumented/browser/installer' 15:57.68 gmake: Leaving directory '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox_build/instrumented' MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) console.warn: services.settings: Ignoring preference override of remote settings server console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) console.error: ({}) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) jarlog: /var/tmp/portage/www-client/firefox-115.11.0/work/firefox_build/jarlog/en-US.log console.warn: services.settings: Ignoring preference override of remote settings server console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) libEGL warning: MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri) console.error: ({}) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) console.error: (new TypeError("NetworkError: Network request failed", "resource://services-settings/Utils.sys.mjs", 229)) JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Firefox exited with code -11 during profiling Error running mach: ['build', '--verbose'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke ``./mach busted`` to check if this issue is already on file. If it isn't, please use ``./mach busted file build`` to report it. If ``./mach busted`` is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: subprocess.CalledProcessError: Command '['/var/tmp/portage/www-client/firefox-115.11.0/work/firefox_build/_virtualenvs/build/bin/python', '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox-115.11.0/build/pgo/profileserver.py']' returned non-zero exit status 245. File "/var/tmp/portage/www-client/firefox-115.11.0/work/firefox-115.11.0/python/mozbuild/mozbuild/build_commands.py", line 215, in build subprocess.check_call(pgo_cmd, cwd=instr.topobjdir, env=pgo_env) File "/usr/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) * ERROR: www-client/firefox-115.11.0::gentoo failed (compile phase): * Failed to run './mach build --verbose' * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 5523: Called virtx './mach' 'build' '--verbose' * environment, line 6965: Called die * The specific snippet of code: * [[ ${retval} -ne 0 ]] && die "Failed to run '$@'"; * * If you need support, post the output of `emerge --info '=www-client/firefox-115.11.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/firefox-115.11.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/firefox-115.11.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-115.11.0/temp/environment'. * Working directory: '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox-115.11.0' * S: '/var/tmp/portage/www-client/firefox-115.11.0/work/firefox-115.11.0' emerge --info Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.38-r13, 6.6.30-gentoo-dist x86_64) ================================================================= System uname: Linux-6.6.30-gentoo-dist-x86_64-AMD_Ryzen_7_5700X_8-Core_Processor-with-glibc2.38 KiB Mem: 65766768 total, 50500276 free KiB Swap: 25165820 total, 25165820 free Timestamp of repository gentoo: Wed, 15 May 2024 11:03:48 +0000 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo dev-lang/rust-bin: 1.77.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240210::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r13::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync1.uk.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: Installed sets: @system ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=znver3 -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirror.bytemark.co.uk/gentoo/ http://mirrors.gethosted.online/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="en en_GB" MAKEOPTS="-j17 -l17" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-C target-cpu=znver3 -C opt-level=3" SHELL="/bin/bash" USE="X a52 aac aacs acl acpi activities alsa amd64 bluray bzip2 cdda cdparanoia cdr cet chm cjk crypt css cups dbus declarative dga dri dts dv dvd dvdr elogind encode exif extras faac faad fdk ffmpeg flac fontconfig g3dvl gif gimp graphite gtk gui heif iconv icu ipv6 joystick jpeg kde kwallet lame lcms libass libnotify libtirpc lirc live lto lvm lzo mad matroska mng mp3 mp4 mpeg multilib musicbrainz ncurses nepomuk network nls ogg opengl openh264 openmp opus pam pango pcre pdf pgo pipewire plasma png policykit ppds pulseaudio pvr qml qt5 readline rss rtc rtmp screencast sdl seccomp semantic-desktop sndfile sound speex spell split-usr ssl startup-notification svg test-rust theora threads truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vlc vnc vorbis vulkan wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xft xinerama xml xv xvid yahoo zlib zvbi" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeon radeonsi v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
If you drop this patch onto /etc/portage/patches: https://raw.githubusercontent.com/lissyx/firefox-snap/7af7aa87f39e5f2a9d7286ad5413b25527085a27/patches/pgo-with-software-webrender.patch does it fix it for you?
(In reply to Joonas Niilola from comment #10) > If you drop this patch onto /etc/portage/patches: > https://raw.githubusercontent.com/lissyx/firefox-snap/ > 7af7aa87f39e5f2a9d7286ad5413b25527085a27/patches/pgo-with-software-webrender. > patch > > does it fix it for you? Yes it does fix it indeed. Thank you.