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

Bug 900519

Summary: sys-devel/gcc-12.2.1_p20230304: ICE in ix86_print_operand_address_as when building dev-qt/qtwidgets-5.15.8-r3 and others with LTO (bitcode mismatch?)
Product: Gentoo Linux Reporter: Fabio Coatti <fabio.coatti>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal CC: eugene.shalygin, haxk612, jasmin+gentoo, luigi.mantellini+gentoo, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=900905
https://bugs.gentoo.org/show_bug.cgi?id=904271
https://bugs.gentoo.org/show_bug.cgi?id=866422
Whiteboard: Commit on 12.x branch likely changes bitcode without cranking version
Package list:
Runtime testing required: ---
Bug Depends on: 926120    
Bug Blocks: 618550    
Attachments: Build log

Description Fabio Coatti 2023-03-09 10:40:19 UTC
Wen emerging qtwidget, I get the following errors:
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-stro
ng -fstack-clash-protection -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-rpath-link,/usr/lib64 -shared -o libqgtk3.so .obj/main.o .obj/qgtk3dialoghelpers.o .obj/
qgtk3menu.o .obj/qgtk3theme.o .obj/moc_qgtk3dialoghelpers.o .obj/moc_qgtk3menu.o  /usr/lib64/libQt5ThemeSupport.a /usr/lib64/libQt5DBus.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -pthrea
d -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 -lXext -lX11 -lm
during RTL pass: final
../../../../../../../qtgui-5.15.8-r3/work/qtbase-everywhere-src-5.15.8_build/src/platformsupport/themes/.moc/moc_qdbusplatformmenu_p.cpp: In member function ‘propertiesUpdated’:
../../../../../../../qtgui-5.15.8-r3/work/qtbase-everywhere-src-5.15.8_build/src/platformsupport/themes/.moc/moc_qdbusplatformmenu_p.cpp:255:1: internal compiler error: in ix86_print_operand_address_a
s, at config/i386/i386.cc:13872
0x176e877 internal_error(char const*, ...)
        ???:0
0x622809 fancy_abort(char const*, int, char const*)
        ???:0
0x7d2508 output_operand(rtx_def*, int)
        ???:0
0x7d2fb2 output_asm_insn(char const*, rtx_def**)
        ???:0
0x7ccd4b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
{standard input}:636: Error: bad register name `%'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
make[2]: *** [/var/tmp/portage/dev-qt/qtwidgets-5.15.8-r3/temp/ccAUGhfm.mk:5: /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r3/temp/ccpLeqgM.ltrans1.ltrans.o] Error 1
make[2]: *** Waiting for unfinished jobs....
during RTL pass: final
/usr/include/qt5/QtDBus/qdbusmetatype.h: In function ‘qDBusDemarshallHelper’:
/usr/include/qt5/QtDBus/qdbusmetatype.h:72:14: internal compiler error: in ix86_print_operand_address_as, at config/i386/i386.cc:13872
   72 | { arg >> *t; }
      |              ^
0x176e877 internal_error(char const*, ...)
        ???:0
0x622809 fancy_abort(char const*, int, char const*)
        ???:0
0x7d2508 output_operand(rtx_def*, int)
        ???:0
0x7d2fb2 output_asm_insn(char const*, rtx_def**)
        ???:0
0x7ccd4b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
{standard input}:691: Error: bad register name `%'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
make[2]: *** [/var/tmp/portage/dev-qt/qtwidgets-5.15.8-r3/temp/ccAUGhfm.mk:8: /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r3/temp/ccpLeqgM.ltrans2.ltrans.o] Error 1

Please note: GCC 12.2.1_p20230304

If needed I can add more info.

Reproducible: Always




Portage 3.0.45.2 (python 3.10.10-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-12, glibc-2.36-r7, 6.2.2-cova x86_64)
=================================================================
System uname: Linux-6.2.2-cova-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-glibc2.36
KiB Mem:    65677536 total,  27872848 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 09 Mar 2023 06:47:00 +0000
Head commit of repository gentoo: e9f69f01e250b2390890aecb4f8e8c5bce1e0a01

Head commit of repository nix-guix: a0505d8bd1063b530ab600140f4f64aca348d1e8

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p3) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.8.16_p3::gentoo, 3.10.10_p2::gentoo, 3.11.2_p1::gentoo, 3.12.0_alpha6::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: True
    sync-git-verify-commit-signature: yes

cova
    location: /var/lib/layman/cova
    sync-type: laymansync
    sync-uri: https://github.com/cova-fe/cova-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

nix-guix
    location: /var/lib/layman/nix-guix
    sync-type: git
    sync-uri: https://github.com/trofi/nix-guix-gentoo.git
    masters: gentoo
    priority: 50
    volatile: True

local
    location: /usr/overlay
    masters: gentoo
    priority: 51
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_IE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O3 -fgraphite-identity -floop-nest-optimize -ftree-loop-distribution -flto=4 -fuse-linker-plugin -pipe -fpie -fpic -fstack-protector-strong -fstack-clash-protection -Wl,--as-needed -Wl,--hash-style=gnu"
LEX="flex"
LINGUAS="en it de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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=native"
SHELL="/bin/bash"
USE="3dnow 3dnowext 3dnowprefetch X \ a52 aac aalib acl acpi activities aim alsa amd64 apng appstream ares asf ati audio audiofile avahi bash-completion bidi bl bluetooth branding bri bzip2 cairo caps cdda cdr cjk cli crypt cups curl dba dbus declarative device-mapper dga divx divx4linux dri dts dv dvb dvd dvdr dvdread eap-sim edl egl encode ethereal evdev exif expat faad fam fame fbcon ffmpeg fftw fish-completion flac force-cgi-redirect fortran ftp gallium garmin gd gdbm gif gimp gmedia gmp gnutls gphoto2 gpm gps gsm gtk gui h264 h323 iconv icq icu idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber java javascript joystick jpeg kde kontact kvm kwallet lastfm lcms libglvnd libnotify libtirpc libvirtd live lm_sensors lua lvm lxc lzma lzo mad maildir matroska mbox mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng mozdevelop mozilla mp3 mp4 mpeg msn mtp multilib mysql ncurses network networkmanager new-hpcups nfsv4 njb nls nptl nptlonly offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf phonon php plasma plotutils png policykit ppds pulseaudio qemu qml qt5 readline real rtc ruby samba sasl screencast sdl seccomp semantic-desktop semantic-destkop sha512 sip slang slp smartcard sndfile snmp sound sox speex spell srt sse sse2 ssh ssl ssse3 startup-notification svg systemd tcltk telepathy test-rust theora threads tiff tk touchpad tremor truetype udev udisks unicode upower usb utempter v4l v4l2 vcd vde vhosts video videos vim-syntax virt-network virtualbox vorbis vulkan wav wayland widgets wifi wmf wmp wps wxwidgets wxwindows x264 xanim xattr xcb xface xft xine xinerama xml xosd xpm xscreensaver xsl xv xvid zeroconf zlib zpm" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en it de en_IE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby30 ruby31 ruby32" USERLAND="GNU" VIDEO_CARDS="i965 intel nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Fabio Coatti 2023-03-09 10:40:50 UTC
Created attachment 856923 [details]
Build log
Comment 2 Johannes Penßel 2023-03-09 16:27:41 UTC
I am running into the same issue as well, with qtwayland:5 and linguist-tools being also affected. Previous versions of these packages fail to build as well. All other qt5 packages on my system still build fine. 

My last successful build of qtwayland:5 was on March 5, which makes me think that the most recent revbump of gcc to version 12.2.1_p20230304 (installed on March 6) may be the culprit here.

Portage 3.0.45.2 (python 3.10.10-final-0, default/linux/amd64/17.1/no-multilib/systemd/merged-usr, gcc-12, glibc-2.37, 6.2.2-gentoo x86_64)
=================================================================
System uname: Linux-6.2.2-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i5-1240P-with-glibc2.37
KiB Mem:    16218944 total,   3219284 free
KiB Swap:    8388604 total,   8383996 free
Timestamp of repository gentoo: Thu, 09 Mar 2023 15:32:01 +0000
Head commit of repository gentoo: 44e73b6d5d088e94c0ad7bf591d49c7d1b204420

Timestamp of repository guru: Wed, 08 Mar 2023 09:16:54 +0000
Head commit of repository guru: edb4bd0a7f10931e2972541f56af04583deacc19

Timestamp of repository wayland-desktop: Wed, 08 Mar 2023 14:16:55 +0000
Head commit of repository wayland-desktop: 841129e65367baaab479acba380cac199cd418d1

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p3) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p2::gentoo, 3.11.2_p1::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37::local
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

local
    location: /usr/local/portage/overlay
    masters: gentoo
    priority: 10
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -g -Wall -fno-omit-frame-pointer -flto=auto"
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="-O2 -pipe -march=native -g -Wall -fno-omit-frame-pointer -flto=auto"
DISTDIR="/var/cache/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"
F77FLAGS="-O2 -pipe -march=native -g -Wall -fno-omit-frame-pointer -flto=auto"
FCFLAGS="-O2 -pipe -march=native -g -Wall -fno-omit-frame-pointer -flto=auto"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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 -g -Wall -fno-omit-frame-pointer -flto=auto"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -g -Wall -fno-omit-frame-pointer -flto=auto -Wl,-z,pack-relative-relocs -Wl,--build-id=sha1"
LEX="flex"
MAKEOPTS="-j16"
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=native"
SHELL="/bin/zsh"
USE="X acl activities afp aio alsa amd64 amr apng apparmor appstream archive argon2 audit bcrypt blake2 bluetooth boost brotli bs2b btrfs bzip2 cairo caps cet chromium cjk cli cloudproviders colord connection-sharing crypt cryptsetup cups curl cxx dbus device-mapper djvu dracut dri drm duktape eds egl eglfs evolution-data-server exif fat fdk ffmpeg firewalld flatpak fontconfig fonts fortran freetype fribidi gbm gdbm geolocation gif gles2 glib gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnuefi gsettings gssapi gstreamer gtk gtk3 gtk4 harfbuzz highlight hpn hsts ibus iconv icu idn idn2 introspection io-uring ios ipv6 jit jpeg jpeg2k jpegxl kbd kerberos ktls ladspa layers lcms libaom libcanberra libdrm libevent libglvnd libidn2 libmount libnotify libproxy libssh2 libtirpc libv4l libxml2 lmdb lto lv2 lzma minizip modemmanager mp3 mpc mpfr mtp natspec nautilus ncurses networkmanager nfs nftables nls nptl numa oauth ogg openal openconnect opengl openh264 openmp opus pam pango pcre pcre2 pdf perl pgo pie pipewire pkcs11 png policykit postproc postscript psl pulseaudio qml qsv qt6 readline rubberband samba sasl scanner screencast sdjournal seccomp semantic-desktop speex sqlite ssl sssd startup-notification stemmer sudo svg sysprof system-info systemd systemtap taglib tdb test-rust theora threads thunderbolt tiff tpm tracker truetype udev udisks unicode unwind upower uuid v4l vaapi vala valgrind verify-sig vfat vorbis vpx vulkan wayland weather webengine webp widgets wifi wnck woff2 x264 x265 xattr xcsecurity xft xinerama xml xscreensaver xv xvid xwidgets xxhash zeroconf zlib zram zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc coreboot" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31 ruby32" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, 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, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 Johannes Penßel 2023-03-10 12:25:19 UTC
Thanks for linking that bug thread. Rebuilding all of qtwayland's dependencies that install static libraries fixed the issue for me.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-11 15:11:39 UTC
*** Bug 900461 has been marked as a duplicate of this bug. ***
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-21 07:46:10 UTC
*** Bug 904738 has been marked as a duplicate of this bug. ***
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-21 07:47:17 UTC
We really need to just strip LTO bitcode from static libraries.

Quoting myself from a dupe:
"""
This is unfortunately probably "the LTO bitcode thing" where some commit >changes internal representation enough that the bitcode is incompatible when >loaded into a newer GCC.

You can use lto-rebuild from the LTO overlay which you seem to be using, or just manually rebuild all the static libraries being linked here.
"""