Hi, I wonder whether this is a LTO linking bug or rust-related bug #942013. I installed freshly ~amd64 desktop profile with multilib as it was the default. I would have preferred desktop 64bit-only profile, btw. I had everything installed but then decided to enable USE=lto and adjusted the make.conf to have proper FLAGS. I cannot recompile firefox now. Build log with MAKEOPTS=-j1 233:26.56 gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/toolkit/library/build' 233:26.56 toolkit/library/build/libxul.so 233:26.56 rm -f ../../../dist/bin/libxul.so 233:26.57 /usr/bin/x86_64-pc-linux-gnu-g++ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-rtti -pthread -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -pipe -fPIC -pipe -march=native -ftree-vectorize -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fpermissive -O2 -fomit-frame-pointer -funwind-tables -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libxul.so -o ../../../dist/bin/libxul.so -Wl,@/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/toolkit/library/build/libxul_so.list -B /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/build/unix/elfhack -Wl,--real-linker,/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld.bfd -flto=1 -flifetime-dse=1 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,now -Wl,-z,nocopyreloc -fuse-ld=bfd -fstack-protector-strong -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/dist/bin ../../../js/src/build/libjs_static.a ../../../build/pure_virtual/libpure_virtual.a ../../../x86_64-unknown-linux-gnu/release/libgkrust.a ../../../dist/bin/libmozsandbox.so ../../../dist/bin/libgkcodecs.so ../../../dist/bin/liblgpllibs.so ../../../dist/bin/libmozsqlite3.so ../../../dist/bin/libmozgtk.so ../../../dist/bin/libmozwayland.so -Wl,--version-script,libxul.so.symbols -licui18n -licuuc -licudata -lresolv -laom -ldav1d -ldl -lrt -lX11 -lXcomposite -lXdamage -lXext -lXfixes -lXrandr -lXrender -lasound -lpthread -lc -lffi -lplds4 -lplc4 -lnspr4 -lz -lm -lssl3 -lsmime3 -lnss3 -lnssutil3 -lfreetype -lfontconfig -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgraphite2 -ljpeg -lwebp -lwebpdemux -levent -lvpx -lpixman-1 -ldbus-1 -lxcb-shm -lX11-xcb -lxcb -lXcursor -lXi 233:32.67 /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: ../../../x86_64-unknown-linux-gnu/release/libgkrust.a: error adding symbols: file format not recognized 233:32.78 collect2: error: ld returned 1 exit status 233:32.78 gmake[4]: *** [/var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3/config/rules.mk:539: ../../../dist/bin/libxul.so] Error 1 233:32.78 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/toolkit/library/build' 233:32.78 gmake[3]: *** [/var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3/config/recurse.mk:72: toolkit/library/build/target] Error 2 233:32.78 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build' 233:32.78 gmake[2]: *** [/var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3/config/recurse.mk:34: compile] Error 2 233:32.78 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build' 233:32.78 gmake[1]: *** [/var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3/config/rules.mk:359: default] Error 2 233:32.78 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build' 233:32.78 gmake: *** [client.mk:60: build] Error 2 233:32.98 W 2 compiler warnings present. * ERROR: www-client/firefox-131.0.3::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 5219: Called die * The specific snippet of code: * ${virtx_cmd} ./mach build --verbose || die * * If you need support, post the output of `emerge --info '=www-client/firefox-131.0.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/firefox-131.0.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/firefox-131.0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-131.0.3/temp/environment'. * Working directory: '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3' * S: '/var/tmp/portage/www-client/firefox-131.0.3/work/firefox-131.0.3' >>> Failed to emerge www-client/firefox-131.0.3, Log file: >>> '/var/tmp/portage/www-client/firefox-131.0.3/temp/build.log'
# emerge --info '=www-client/firefox-131.0.3::gentoo' Portage 3.0.65 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.39-r9, 6.9.10 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.9.10-x86_64-Intel-R-_Core-TM-_i7-7820HQ_CPU_@_2.90GHz-with-glibc2.39 KiB Mem: 32732496 total, 414968 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 23 Oct 2024 00:45:00 +0000 Head commit of repository gentoo: 48d21dd18d38564b018568acba34278a4624f6e4 Head commit of repository jgenco: cb57a4085d839bd6a653c1e887a1cde6da70ce6e Head commit of repository without-systemd: 93bd077d50ccca97cbe378143aa9a3302b92daad sh bash 5.2_p32-r1 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p32-r1::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.69-r5::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.29.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 2.7.18_p16-r2::gentoo, 3.10.14_p3::gentoo, 3.11.9_p2::gentoo, 3.12.3::gentoo, 3.13.0_rc1_p3::gentoo dev-lang/rust: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.39-r4::gentoo, 2.40-r6::gentoo, 2.41-r5::gentoo, 2.42-r2::gentoo, 2.43-r1::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo sys-devel/gcc: 10.3.0::gentoo, 11.3.0::gentoo, 12.2.1_p20230304::gentoo, 13.2.1_p20240210::gentoo, 14.2.1_p20240921::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 18.1.8::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 15.0.7-r6::gentoo, 16.0.6-r5::gentoo, 17.0.6-r3::gentoo, 18.1.8-r4::gentoo sys-kernel/linux-headers: 6.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r9::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: jgenco location: /var/db/repos/jgenco sync-type: git sync-uri: https://github.com/jgenco/jgenco-overlay masters: gentoo volatile: False without-systemd location: /var/db/repos/without-systemd sync-type: git sync-uri: https://github.com/KenjiBrown/without-systemd masters: gentoo volatile: False x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True layman location: /var/lib/layman masters: gentoo priority: 1 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 NPSL Nero-EULA-US AdobeFlash-10.3 AdobeFlash-11.x OPERA-2014 RAR Intel-SDP intel-ucode Skype-TOS vmware linux-firmware fasta vienna-rna unafold GRL MSttfEULA hplip-plugin meme mRNAmarkup ApE ICS ipw3945 finchtv modeller gmap master-pdf-editor abyss swiss-prot Aladdin AVASYS truecrypt-3.0 pyvcf Non-profit-OSL-3.0 estscan bcca_2010 oncotator Adobe blat staden CeCILL-1.1 phrap STRIDE cctbx-2.0 bh-luxi ARIADNE unRAR all-rights-reserved trf annovar_personal_only stampy-academic BSD-BroadInstitute UPennState freedist free-noncomm blasr sun-jlfgr FLI-Jena PSTT netperf sun-jsr67 xv vim.org OSGi-Specification-2.0 colt mod_fastcgi googleearth google-chrome ACE AFL churchill genscan no-source-code linux-fw-redistributable ISSL JSON MPEG-4 Apache-2.0 BSD MIT BSD-2 FSFAP unicode Subversion OPERA-2018 ms-teams-pre TeamViewer PSF-2.4 merlin android julius CROSSOVER-3 lha PUEL-11 supermicro microsoft-edge android OFL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fpermissive" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf /usr/share/maven-bin-3.9/conf /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer" CXXFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fpermissive" DISTDIR="/usr/portage/distfiles" 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 -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fpermissive" 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 nostrip parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fpermissive" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="en_US en_GB en cs" MAKEOPTS="-j5" 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=" -Clinker-plugin-lto" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 amr amrenc aom apache apache2 archive armadillo asm audit av1 avx avx2 berkdb blas bluetooth bluray bmp boost bz2 bzip2 cairo caps ccid cdda cdio cdr cdrom cet cgi chromium cli codec2 coin cpudetection cracklib crypt cryptlib cryptsetup cups curl cxx d3d11 d3d9 dav1d dbus device-mapper dhcp directfb directx dri dri3 drm dvbpsi dvd dvda dxf dxva2 egl elogind emboss encode eselect-ldso exif faad fax fbcon fdk ffmpeg fftw flac fontconfig foomatic fortran frei0r fuse gbm gcrypt gd gdal gdbm geoip geolocation georeferencer geos gimp gles gles1 gles2 glpk gml gmp gnutls gpm gps grass gstreamer gtk gtk3 h.264 h.265 h264 h265 hal haptic hdf5 heif hevc hpijs hwdb iconv icu id3tag imaging innodb inotify iproute2 ipv6 java javafx javascript jce jpeg jpeg2k jpg js jscript kdrive keymap kms ladspa lapack laptop las lcms libaom libdrm libkms libnotify librtmp libsodium libsoxr libtesseract libtirpc libv4l libxml2 live lm-sensors lm_sensors lto lz4 lzma lzo mad mariadb matroska mjpeg mmal mmx modemmanager mp3 mpeg mtp mysql ncurses netcdf networkmanager nfs nftables nls nptl nptlonly nscd nss ntfsprogs nvenc objc ocr odbc ogdi ogg openal opencl opengl openh264 openmp opensc openssl opus pam parport pbs pcre pcre16 pcsc pcsc-lite pdal pdf perl php png polar policykit polkit postgres ppds pppd python qemu qml qt3support qt4 qt5 rav1e rdp readline rendering resolvconf romio rubberband scanner seccomp server session sha slideshow smartcard sndfile sndio sodium spice split-usr sqlite srt sse sse2 sse3 sse4_1 sse4_2 ssh ssl sslv3 ssse3 startup-notification suexec svg svt-av1 syslog tcl tcpd test-rust threads tiff tk tkip tools truetype twolame unicode unwind upnp usb v4l v4l2 vaapi vidstab vim-syntax virtualbox vmaf vnc vorbis vp8 vp9 vpx vulkan wavpack wayland webdav webkit webp wifi x11 x264 x265 xa xattr xcb xephyr xft xls xml xmp xorg xrandr xv xvfb xvid xvmc zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hdspm usb-usx2y" APACHE2_MODULES="alias authn_core authz_core socache_shmcb authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic unixd" 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="gpsclock navcom ntrip rtcm104v2 rtcm104v3 ublox nmea0183 nmea2000 aivdm passthrough" GRUB_PLATFORMS="efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en-GB en cs" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_RM="pbs" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python2_7 python3_9 python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="vesa virtualbox vboxvideo vmware vmvga vmwgfx fbdev intel iris i915 i965 d3d12 virgl zink" 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, EMERGE_DEFAULT_OPTS, 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 ================================================================= Package Settings ================================================================= www-client/firefox-131.0.3::gentoo was built with the following: USE="X dbus gmp-autoupdate hwaccel jumbo-build openh264 pulseaudio sndio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland wifi -clang -debug -eme-free -gnome-shell -hardened -jack -libproxy -lto -pgo (-selinux) -system-png (-valgrind)" L10N="cs en-GB -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cy -da -de -dsb -el -en-CA -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 -ro -ru -sc -sco -si -sk -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="18 -17 -19" CFLAGS="-pipe -march=native -ftree-vectorize -fpermissive" CXXFLAGS="-pipe -march=native -ftree-vectorize -fpermissive" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags"
# emerge -pv www-client/firefox ... [ebuild R ] www-client/firefox-131.0.3:rapid::gentoo USE="X dbus gmp-autoupdate hwaccel jumbo-build lto* openh264 pulseaudio sndio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland wifi -clang -debug -eme-free -gnome-shell -hardened -jack -libproxy -pgo (-selinux) -system-png (-valgrind)" L10N="cs en-GB -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cy -da -de -dsb -el -en-CA -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 -ro -ru -sc -sco -si -sk -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="18 -17 -19" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Only the USE=lto is highlighted as change. I did not have the issue before. Per http://stackoverflow.com/questions/44477951/ddg#44482280 it seesms to me a 32bit object is pulled in but am not a C/C++ knowledgeable person. Coorection of what I said previously: this is a different host, here I have a 64bit only installation. Sorry, I mismatched my terminals and the machines. But then I do not inderstand why a 32bit object would be created here at all. # file /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a /var/tmp/portage/mail-client/thunderbird-128.3.2/work/thunderbird_build/x86_64-unknown-linux-gnu/release/libgkrust.a /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a: current ar archive /var/tmp/portage/mail-client/thunderbird-128.3.2/work/thunderbird_build/x86_64-unknown-linux-gnu/release/libgkrust.a: current ar archive #
# objdump -f /var/tmp/portage/mail-client/thunderbird-128.3.2/work/thunderbird_build/x86_64-unknown-linux-gnu/release/libgkrust.a | grep ^architecture objdump: gkrust-de3151a68d7a0f62.gkrust.c72b8d96fc7e6239-cgu.0.rcgu.o: file format not recognized architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: ... Is this the issue? # ls -latr /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a /var/tmp/portage/mail-client/thunderbird-128.3.2/work/thunderbird_build/x86_64-unknown-linux-gnu/release/libgkrust.a -rw-r--r-- 2 portage portage 152109008 Oct 25 14:21 /var/tmp/portage/mail-client/thunderbird-128.3.2/work/thunderbird_build/x86_64-unknown-linux-gnu/release/libgkrust.a -rw-r--r-- 2 portage portage 142260512 Oct 25 19:57 /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a # Oh yeah, also happens with thunderbird-128.3.2, right, it also failed to compile.
# objdump -f /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a | grep ^architecture objdump: gkrust-ddbc98ffedba0656.gkrust.d523c994b72a711-cgu.0.rcgu.o: file format not recognized architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: ...
It's possible there's some 32/64 bit mismatch in your system, but two things pop out: RUSTFLAGS=" -Clinker-plugin-lto" This doesn't work when using gcc to build. Try emerging firefox with +clang to have this effect, maybe it works better. CFLAGS="-pipe -march=native -ftree-vectorize -fpermissive" I have a vague memory when using -fpermissive globally it breaks firefox (and therefore thunderbird as well) so you can try to strip off excessive *FLAGS you've set. But anyway to have a better look I need full build.log - you can compress it with "xz -9" and attach as compressed.
-fpermissive in *FLAGS is a bad idea for a few reasons, not least confusing configure tests.
(In reply to Martin Mokrejš from comment #0) > Hi, > I wonder whether this is a LTO linking bug or rust-related bug #942013. I > installed freshly ~amd64 desktop profile with multilib as it was the > default. I would have preferred desktop 64bit-only profile, btw How can it be a fresh install with layman and various old slots of things installed?
Created attachment 906959 [details] build.log.txt.xz
(In reply to Joonas Niilola from comment #5) > It's possible there's some 32/64 bit mismatch in your system, but two things > pop out: Maybe time to revisit https://wiki.gentoo.org/wiki/LTO then? > RUSTFLAGS=" -Clinker-plugin-lto" > This doesn't work when using gcc to build. Try emerging firefox with +clang > to have this effect, maybe it works better. I can stick to gcc/g++ so shoudl I make RUSTFLAGS empty? > CFLAGS="-pipe -march=native -ftree-vectorize -fpermissive" > I have a vague memory when using -fpermissive globally it breaks firefox > (and therefore thunderbird as well) so you can try to strip off excessive > *FLAGS you've set. OK, I will drop -fpermissive if it causes test to fail. Sadly, I need it to compile some stuff with too strict gcc-1[34]. > But anyway to have a better look I need full build.log - you can compress it > with "xz -9" and attach as compressed. I tried initially but it wa too big. But hey, "-9" saved an extra kilobyte so it went through Bugzilla.
Yeah, try with default *FLAGS settings overall and keep adding them if it works. It's a huge complicated project. lto is also handled by the build system, not your *FLAGS coverage. Hence the use flag, for now.
I dropped only "-fpermissive" so far. Not sure what I want to do with the RUSTFLAGS thing. I assume rust failed but the error was not interpreted and the broken object made it into the libarchive. That should be isolated first IMO. I will also wait first first for your analysis of the build.log so I can eventually rerun some compile/link commands directly on the existing object files. Thank you for your helpfull guidance. Yes, it takes several hours on this laptop to build.
(In reply to Martin Mokrejš from comment #11) > > I will also wait first first for your analysis of the build.log Don't wait. My overall analysis is it's probably your FLAGS settings somewhere.
I left in the -Werror flags which of which -Werror=odr caused it to exit supposedly later on. ... CFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CXXFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FCFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" ================================================================= Package Settings ================================================================= www-client/firefox-131.0.3::gentoo was built with the following: CFLAGS="-pipe -march=native -ftree-vectorize -fpermissive" CXXFLAGS="-pipe -march=native -ftree-vectorize -fpermissive" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags" So the package itself anyway adds -fpermissive . # objdump -f /var/tmp/portage/www-client/firefox-131.0.3/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a | grep ^architecture architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: architecture: i386:x86-64, flags 0x00000011: ... Hey, rust did not fail to do its job now. RUSTFLAGS was unset.
Created attachment 907018 [details] -Werror=odr breaks the build later on anyway
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b944dd349cf4060013bcab09b6841eae9294dde1 commit b944dd349cf4060013bcab09b6841eae9294dde1 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-10-29 13:43:44 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-10-29 13:47:51 +0000 www-client/firefox: filter -Werror=lto-type-mismatch -Werror=odr on 132 - these lto-related flags are going to fail with GCC, which is now the default-enabled compiler for 132.0. Closes: https://bugs.gentoo.org/942288 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/firefox-132.0.ebuild | 3 +++ 1 file changed, 3 insertions(+)
Hi @juippis , thanks for the FLAGS filtering applied now. I got the firefox compiled and installed with USE=lto alone. I conclude it was the RUSTFLAGS=" -Clinker-plugin-lto" making one of the objects incorrect. Still I think it is worth to investigate how come it makes it into firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a . Second, I think the page https://wiki.gentoo.org/wiki/LTO should be made clear that USE=lto is just enough.
(In reply to Martin Mokrejš from comment #16) > Second, I think the page https://wiki.gentoo.org/wiki/LTO should be made > clear that USE=lto is just enough. No, that's not right, we're moving away from USE=lto in general.
(In reply to Sam James from comment #17) > (In reply to Martin Mokrejš from comment #16) > > Second, I think the page https://wiki.gentoo.org/wiki/LTO should be made > > clear that USE=lto is just enough. > > No, that's not right, we're moving away from USE=lto in general. We should make a note about Firefox/Thunderbird/Spidermonkey and USE="lto" though with them being an exception, not exemplary, to the rule.
(In reply to Joonas Niilola from comment #18) > We should make a note about Firefox/Thunderbird/Spidermonkey and USE="lto" > though with them being an exception, not exemplary, to the rule. https://wiki.gentoo.org/wiki/LTO#Exceptions_.28USE.3D.22lto.22.29
(In reply to Joonas Niilola from comment #19) > (In reply to Joonas Niilola from comment #18) > > We should make a note about Firefox/Thunderbird/Spidermonkey and USE="lto" > > though with them being an exception, not exemplary, to the rule. > > https://wiki.gentoo.org/wiki/LTO#Exceptions_.28USE.3D.22lto.22.29 One usually reads from the top to the bottom. One sets up the FLAGS according to the instructions. I bet one starts to think of LTO when compiling mozilla or chromium or libreoffice bundles. This tine section does not even state the FLAGS changes done due to the above described suggestions are totally wrong for the typical use cases (Mozilla, etc.). Please re-shuffle the text and REOPEN this bug until the RUSTFLAGS=" -Clinker-plugin-lto" is is fixed or filtered. There must have been some unnoticed error in the build.log when libgkrust.a was created. Other distros will benefit from the eventual fix too, as seen in the FreeBSD issue.
(In reply to Martin Mokrejš from comment #20) > > One usually reads from the top to the bottom. One sets up the FLAGS > according to the instructions. I bet one starts to think of LTO when > compiling mozilla or chromium or libreoffice bundles. This tine section does > not even state the FLAGS changes done due to the above described suggestions > are totally wrong for the typical use cases (Mozilla, etc.). We surely work in different ways. Of course I thought where the information fits best. I personally try to read the whole page, or at least the whole block before actually _doing_ anything - especially starting some heavy emerge operation. > > Please re-shuffle the text and REOPEN this bug until the > RUSTFLAGS=" -Clinker-plugin-lto" is > is fixed or filtered. There must have been some unnoticed error in the > build.log when libgkrust.a was created. Other distros will benefit from the > eventual fix too, as seen in the FreeBSD issue. It's a wiki. You can edit it, or make your point in the Talk page asking for feedback. I'm not opposed to the idea of reshuffling, at all, but for _me_ this layout works best. Something should be done for the RUSTFLAGS issue. It's probably easy to filter it only when gcc is being used, aka when "-clang" is being used. I don't see any value for "other distros" in it, though, since there aren't many source-based distros who can select whether to use gcc or clang, and what kind of *FLAGS to use while building. But I can imagine you aren't the only one with RUSTFLAGS=" -Clinker-plugin-lto" so there are going to be more people hitting that now that the default compiler is gcc.
Thank you for your thorough explanation. Usually I also like to have a clear overview of my road ahead but but still would the text start with a disclaimer that for Mozilla-based bundles only USE=lto is necessary than I would not bother to read further. My pointer to the community benefiting the deemed error-code propagation issue was due to the https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641 . Sure, only a few people it from sources but it seems now somewhat easy to track down.
It's not even really clear that that flag is really to blame, it needs analysis. Anyway, feel free to edit the wiki?
Created attachment 907342 [details] build.log.with-RUSTFLAGS.txt.xz I just retried and re-added RUSTFLAGS=" -Clinker-plugin-lto" to make.conf . And the problem is back. # emerge --info '=www-client/firefox-131.0.3::gentoo' Portage 3.0.65 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.39-r9, 6.9.10 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.9.10-x86_64-Intel-R-_Core-TM-_i7-7820HQ_CPU_@_2.90GHz-with-glibc2.39 KiB Mem: 32732496 total, 2564816 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 23 Oct 2024 00:45:00 +0000 Head commit of repository gentoo: 48d21dd18d38564b018568acba34278a4624f6e4 Head commit of repository jgenco: cb57a4085d839bd6a653c1e887a1cde6da70ce6e Head commit of repository without-systemd: 93bd077d50ccca97cbe378143aa9a3302b92daad sh bash 5.2_p32-r1 ld GNU ld (Gentoo 2.43 p2) 2.43.1 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p32-r1::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.69-r5::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.29.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 2.7.18_p16-r2::gentoo, 3.10.14_p3::gentoo, 3.11.9_p2::gentoo, 3.12.3::gentoo, 3.13.0_rc1_p3::gentoo dev-lang/rust: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.43-r1::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo sys-devel/gcc: 10.3.0::gentoo, 11.3.0::gentoo, 12.2.1_p20230304::gentoo, 13.2.1_p20240210::gentoo, 14.2.1_p20240921::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 18.1.8::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 15.0.7-r6::gentoo, 16.0.6-r5::gentoo, 17.0.6-r3::gentoo, 18.1.8-r4::gentoo sys-kernel/linux-headers: 6.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r9::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes jgenco location: /var/db/repos/jgenco sync-type: git sync-uri: https://github.com/jgenco/jgenco-overlay masters: gentoo volatile: False without-systemd location: /var/db/repos/without-systemd sync-type: git sync-uri: https://github.com/KenjiBrown/without-systemd masters: gentoo volatile: False x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True layman location: /var/lib/layman masters: gentoo priority: 1 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 NPSL Nero-EULA-US AdobeFlash-10.3 AdobeFlash-11.x OPERA-2014 RAR Intel-SDP intel-ucode Skype-TOS vmware linux-firmware fasta vienna-rna unafold GRL MSttfEULA hplip-plugin meme mRNAmarkup ApE ICS ipw3945 finchtv modeller gmap master-pdf-editor abyss swiss-prot Aladdin AVASYS truecrypt-3.0 pyvcf Non-profit-OSL-3.0 estscan bcca_2010 oncotator Adobe blat staden CeCILL-1.1 phrap STRIDE cctbx-2.0 bh-luxi ARIADNE unRAR all-rights-reserved trf annovar_personal_only stampy-academic BSD-BroadInstitute UPennState freedist free-noncomm blasr sun-jlfgr FLI-Jena PSTT netperf sun-jsr67 xv vim.org OSGi-Specification-2.0 colt mod_fastcgi googleearth google-chrome ACE AFL churchill genscan no-source-code linux-fw-redistributable ISSL JSON MPEG-4 Apache-2.0 BSD MIT BSD-2 FSFAP unicode Subversion OPERA-2018 ms-teams-pre TeamViewer PSF-2.4 merlin android julius CROSSOVER-3 lha PUEL-11 supermicro microsoft-edge android OFL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf /usr/share/maven-bin-3.9/conf /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer" CXXFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto" DISTDIR="/usr/portage/distfiles" 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 -march=native -ftree-vectorize -flto" 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 nostrip parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -ftree-vectorize -flto" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="en_US en_GB en cs" MAKEOPTS="-j5" 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=" -Clinker-plugin-lto" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 amr amrenc aom apache apache2 archive armadillo asm audit av1 avx avx2 berkdb blas bluetooth bluray bmp boost bz2 bzip2 cairo caps ccid cdda cdio cdr cdrom cet cgi chromium cli codec2 coin cpudetection cracklib crypt cryptlib cryptsetup cups curl cxx d3d11 d3d9 dav1d dbus device-mapper dhcp directfb directx dri dri3 drm dvbpsi dvd dvda dxf dxva2 egl elogind emboss encode eselect-ldso exif faad fax fbcon fdk ffmpeg fftw flac fontconfig foomatic fortran frei0r fuse gbm gcrypt gd gdal gdbm geoip geolocation georeferencer geos gimp gles gles1 gles2 glpk gml gmp gnutls gpm gps grass gstreamer gtk gtk3 h.264 h.265 h264 h265 hal haptic hdf5 heif hevc hpijs hwdb iconv icu id3tag imaging innodb inotify iproute2 ipv6 java javafx javascript jce jpeg jpeg2k jpg js jscript kdrive keymap kms ladspa lapack laptop las lcms libaom libdrm libkms libnotify librtmp libsodium libsoxr libtesseract libtirpc libv4l libxml2 live lm-sensors lm_sensors lto lz4 lzma lzo mad mariadb matroska mjpeg mmal mmx modemmanager mp3 mpeg mtp mysql ncurses netcdf networkmanager nfs nftables nls nptl nptlonly nscd nss ntfsprogs nvenc objc ocr odbc ogdi ogg openal opencl opengl openh264 openmp opensc openssl opus pam parport pcre pcre16 pcsc pcsc-lite pdal pdf perl php png polar policykit polkit postgres ppds pppd python qemu qml qt3support qt4 qt5 rav1e rdp readline rendering resolvconf romio rubberband scanner seccomp server session sha slideshow smartcard sndfile sndio sodium spice split-usr sqlite srt sse sse2 sse3 sse4_1 sse4_2 ssh ssl sslv3 ssse3 startup-notification suexec svg svt-av1 syslog tcl tcpd test-rust threads tiff tk tkip tools truetype twolame unicode unwind upnp usb v4l v4l2 vaapi vidstab vim-syntax virtualbox vmaf vnc vorbis vp8 vp9 vpx vulkan wavpack wayland webdav webkit webp wifi x11 x264 x265 xa xattr xcb xephyr xft xls xml xmp xorg xrandr xv xvfb xvid xvmc zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hdspm usb-usx2y" APACHE2_MODULES="alias authn_core authz_core socache_shmcb authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic unixd" 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="gpsclock navcom ntrip rtcm104v2 rtcm104v3 ublox nmea0183 nmea2000 aivdm passthrough" GRUB_PLATFORMS="efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en-GB en cs" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python2_7 python3_9 python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="vesa virtualbox vboxvideo vmware vmvga vmwgfx fbdev intel iris i915 i965 d3d12 virgl zink" 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, EMERGE_DEFAULT_OPTS, 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 ================================================================= Package Settings ================================================================= www-client/firefox-131.0.3::gentoo was built with the following: USE="X dbus gmp-autoupdate hwaccel jumbo-build lto openh264 pulseaudio sndio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland wifi -clang -debug -eme-free -gnome-shell -hardened -jack -libproxy -pgo (-selinux) -system-png (-valgrind)" L10N="cs en-GB -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cy -da -de -dsb -el -en-CA -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 -ro -ru -sc -sco -si -sk -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="18 -17 -19" CFLAGS="-pipe -march=native -ftree-vectorize" CXXFLAGS="-pipe -march=native -ftree-vectorize" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags"
What I mean is that it might be uncovering a deeper problem that just filtering it might not really be appropriate for.