Thunderbird 102.10.1 fails to build with GCC 13.1.0, with a similar message as #892465. Reproducible: Always Steps to Reproduce: Emerge latest thunderbird (accepting ~amd64) with gcc-13 as the default gcc on your system: [ebuild R ~] mail-client/thunderbird-102.10.1::gentoo USE="dbus hwaccel openh264 wayland -clang -debug -eme-free -hardened -jack -libproxy -lto (-pgo) -pulseaudio (-selinux) -sndio -system-av1* -system-harfbuzz* -system-icu* -system-jpeg* -system-libevent* -system-librnp* -system-libvpx* -system-png (-system-python-libs) -system-webp* -wifi" L10N="-af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW" 0 KiB Actual Results: Build failure Expected Results: Thunderbird 13 emerged successfully [root@juno ~]# emerge --info Portage 3.0.47 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.37-r2, 6.3.1-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.3.1-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v2_@_2.60GHz-with-glibc2.37 KiB Mem: 131968748 total, 98920688 free KiB Swap: 33554428 total, 33554428 free Timestamp of repository gentoo: Wed, 03 May 2023 15:18:06 +0000 Head commit of repository gentoo: dac58353b280d0945487c83aac4aaf36d40bf4cd sh bash 5.2_p15-r2 ld GNU ld (Gentoo 2.39 p6) 2.39.0 ccache version 4.7.4 [disabled] 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: 2.7.18_p16-r1::gentoo, 3.10.10_p3::gentoo, 3.11.2_p2::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/ccache: 4.7.4::gentoo dev-util/cmake: 3.25.3::gentoo dev-util/meson: 1.1.0::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.46::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.39-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo, 16.0.3::gentoo sys-devel/gcc: 12.2.1_p20230304::gentoo, 13.1.0-r1::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, 16.0.3::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r2::gentoo 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 localrepo location: /var/db/repos/localrepo masters: gentoo priority: 10 volatile: False Installed sets: @qt6, @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/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" CXXFLAGS="-march=native -O2 -pipe" 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" FCFLAGS="-march=native -O2 -pipe" 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 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=native -O2 -pipe" GENTOO_MIRRORS=" http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://gentoo.c3sl.ufpr.br/" LANG="en_US.UTF-8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j24" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode eselect-ldso exif flac fortran gdbm gif gpm grub2 gtk3 gui hwaccel iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nptl numa offensive ogg opencl opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseadio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg synaptics test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland webengine webp widgets wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib" 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 http2 proxy remoteip session auth_digest" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt rdrand 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX WebAssembly X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres14 postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, 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, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 861088 [details] build.log of building thunderbird 102.10.1 with gcc 13.1.0-r1
First error message (full build log is attached): 8 0:36.55 In file included from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadState.h:14, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerLabels.h:14, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/AutoEntryScript.h:16, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/CallbackObject.h:34, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/CallbackFunction.h:20, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/dom/WebExtensionPolicyBinding.h:11, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/extensions/WebExtensionPolicy.h:12, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ContentPrincipal.h:15, 8 0:36.55 from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird-102.10.1/caps/tests/gtest/TestPrincipalSerialization.cpp:6, 8 0:36.55 from Unified_cpp_caps_tests_gtest0.cpp:29: 8 0:36.55 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistration.h:217:38: error: declaration of 'mozilla::profiler::ThreadRegistration::OnThreadRef::RWOnThreadWithLock mozilla::profiler::ThreadRegistrati on::OnThreadRef::LockedRWOnThread()' changes meaning of 'LockedRWOnThread' [-Wchanges-meaning] 8 0:36.55 217 | [[nodiscard]] RWOnThreadWithLock LockedRWOnThread() { 8 0:36.55 | ^~~~~~~~~~~~~~~~ 8 0:36.55 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistration.h:213:7: note: used here to mean 'using mozilla::profiler::ThreadRegistration::LockedRWOnThread = class mozilla::profiler::ThreadRegistrationLockedRWOnThread' 8 0:36.55 213 | LockedRWOnThread& mLockedRWOnThread; 8 0:36.55 | ^~~~~~~~~~~~~~~~ 8 0:36.55 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistration.h:63:9: note: declared here 8 0:36.55 63 | using LockedRWOnThread = ThreadRegistrationLockedRWOnThread; 8 0:36.55 | ^~~~~~~~~~~~~~~~ 8 0:36.56 In file included from /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadState.h:15: 8 0:36.56 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistry.h:180:43: error: declaration of 'mozilla::profiler::ThreadRegistry::OffThreadRef::RWFromAnyThreadWithLock mozilla::profiler::ThreadRegistry::OffThreadRef::LockedRWFromAnyThread()' changes meaning of 'LockedRWFromAnyThread' [-Wchanges-meaning] 8 0:36.56 180 | [[nodiscard]] RWFromAnyThreadWithLock LockedRWFromAnyThread() { 8 0:36.56 | ^~~~~~~~~~~~~~~~~~~~~ 8 0:36.56 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistry.h:176:7: note: used here to mean 'using mozilla::profiler::ThreadRegistry::LockedRWFromAnyThread = class mozilla::profiler::ThreadRegistrationLockedRWFromAnyThread' 8 0:36.56 176 | LockedRWFromAnyThread& mLockedRWFromAnyThread; 8 0:36.56 | ^~~~~~~~~~~~~~~~~~~~~ 8 0:36.56 /var/tmp/portage/mail-client/thunderbird-102.10.1/work/thunderbird_build/dist/include/mozilla/ProfilerThreadRegistry.h:33:9: note: declared here 8 0:36.56 33 | using LockedRWFromAnyThread = ThreadRegistrationLockedRWFromAnyThread; 8 0:36.56 | ^~~~~~~~~~~~~~~~~~~~~
I would strongly discourage using a stable system with ~arch gcc.
(In reply to Sam James from comment #3) > I would strongly discourage using a stable system with ~arch gcc. My system isn't all that stable... I have, among many, many other things, this on my accept_keywords: dev-qt/* ~amd64 kde-frameworks/* ~amd64 kde-plasma/* ~amd64 kde-apps/* ~amd64 Thanks for the hint anyway :)
I understand, but my point is, you'll end up hitting various versions of these bugs where we just fixed it with the new compiler last week, but we haven't yet stabled some fix for it. But it's fine with me as long as you check ~arch first before filing bugs just in this period when it's still quite new.
Indeed could reproduce. I wonder when it broke down. Took https://build.opensuse.org/package/view_file/openSUSE:Factory/MozillaThunderbird/gcc13-fix.patch?expand=1 which seems to work again.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748e760c8f426c2dae07b1eb2535cc1f5563fd27 commit 748e760c8f426c2dae07b1eb2535cc1f5563fd27 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-05-04 07:05:08 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-05-04 07:05:08 +0000 mail-client/thunderbird: update gcc-13 fix Closes: https://bugs.gentoo.org/905657 Signed-off-by: Joonas Niilola <juippis@gentoo.org> mail-client/thunderbird/Manifest | 1 + mail-client/thunderbird/thunderbird-102.10.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)