Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902025 - www-client/firefox-102.9.0: build fail with gcc-13
Summary: www-client/firefox-102.9.0: build fail with gcc-13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-03-18 11:02 UTC by LABBE Corentin
Modified: 2023-04-14 09:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.gz,392.18 KB, application/gzip)
2023-03-20 08:40 UTC, LABBE Corentin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LABBE Corentin 2023-03-18 11:02:37 UTC
Hello

The firefox build fail, but no clear error are displayed.
 6:51.23 warning: `webrender` (lib) generated 1 warning
 6:51.23    Compiling gkrust v0.1.0 (/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/toolkit/library/rust)
 6:51.23      Running `CARGO=/usr/lib/rust/1.66.1/bin/cargo-1.66.1 CARGO_CRATE_NAME=gkrust CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/toolkit/library/rust CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_DESCRIPTION='Rust code for libxul' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gkrust CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/release/deps:/usr/lib/rust/1.66.1/lib' /usr/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type staticlib --emit=dep-info,link -C opt-level=2 -C panic=abort -C embed-bitcode=no --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="glean_with_gecko"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="simd-accel"' --cfg 'feature="webmidi_midir_impl"' --cfg 'feature="webrtc"' --cfg 'feature="with_dbus"' -C metadata=c8361f448b40fb56 -C extra-filename=-c8361f448b40fb56 --out-dir /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/build/cargo-linker -L dependency=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/release/deps --extern gkrust_shared=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-82e3fdf078bdeda5.rlib --extern lmdb_sys=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/liblmdb_sys-f18f6501397f443a.rlib --extern mozglue_static=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libmozglue_static-c601fbf7e0be73ae.rlib --extern mozilla_central_workspace_hack=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-7756664c6b6aeb5f.rlib --extern swgl=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/deps/libswgl-eb14c922e90947cd.rlib --cap-lints warn -C codegen-units=1 -L native=/usr/lib64 -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/audioipc-498751d044d61794/out -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/audioipc2-5bc5889dfc14f849/out -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-147bf14fb50dca96/out -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/mozglue-static-077485ad776eaef8/out -L native=/usr/lib64 -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/bin -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/security/nss/lib/nss/nss_nss3 -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/security/nss/lib/ssl/ssl_ssl3 -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/config/external/nspr/pr -L native=/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/x86_64-unknown-linux-gnu/release/build/swgl-0c7a5274b6798fa4/out`
 6:51.43     Finished release [optimized] target(s) in 6m 29s
 6:51.66 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/toolkit/library/rust'
 6:51.66 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build'
 6:51.66 gmake[2]: *** [/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/config/recurse.mk:34: compile] Error 2
 6:51.66 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build'
 6:51.66 gmake[1]: *** [/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/config/rules.mk:361: default] Error 2
 6:51.66 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build'
 6:51.66 gmake: *** [client.mk:63: build] Error 2

This is reproduced on 2 different amd64 machine.

Reproducible: Always

Steps to Reproduce:
1. emerge firefox
2.
3.



Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.36-r7, 5.15.71-dirty x86_64)
=================================================================
System uname: Linux-5.15.71-dirty-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.36
KiB Mem:    32798040 total,   5374676 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 18 Mar 2023 07:30:01 +0000
Head commit of repository gentoo: 4e8d44d0b31bc9c32ffa268c4df44516542caa4f
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.8.16_p4::gentoo, 3.9.16_p3::gentoo, 3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.69-r5::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r2::gentoo, 2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r1::gentoo
sys-devel/gcc:             10.4.1_p20230119-r1::gentoo, 11.3.1_p20230120-r1::gentoo, 12.2.1_p20230121-r1::gentoo, 13.0.0_pre20221002::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
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="-O2 -pipe -march=znver2"
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 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j11"
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"
SHELL="/bin/bash"
USE="X a52 aac aalib acpi alsa amd64 audit bzip2 caps cdda cli crypt dbus device-mapper dri dvd egl encode exif gif gtk iconv ipv6 jpeg libcaca libglvnd libkms libnotify libtirpc lm-sensors lto lzma mad mikmod mmx mmxext mod modplug mp3 mpeg mudflap multilib mysqli nautilus ncurses nls nptl ogg opengl openvg osmesa pam pcre pgo png pulseaudio readline real sdl seccomp sid spell split-usr sse sse2 sse3 ssl ssse3 svg test-rust threads tiff unicode v4l v4l2 vaapi vdpau verify-sig vorbis wmf x264 x265 xattr xcb xext xulrunner xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user cgi cgid dav dav_fs dav_lock deflate dir env expires filter headers include log_config mime proxy proxy_http rewrite socache_shmcb status unixd version" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="apache cpu cpufreq df disk hddtemp interface iptables irq load memory network ntpd processes rrdtool sensors syslog uptime users" CPU_FLAGS_X86="mmx sse mmxext sse2 mmxext sse3 ssse3 fma sse4_1 sse4_2 aes avx f16c sse4a avx2 popcnt sha" CURL_SSL="openssl" 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="pc ieee-1275 efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 ARM BPF NVPTX" 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" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm armeb aarch64 ppc ppc64 sparc sparc64 m68k mips64 mips mips64el mipsel s390x alpha xtensa microblaze nios2 or1k riscv32 riscv64 microblazeel sh4 cris hppa cris nios2" QEMU_USER_TARGETS="x86_64 i386 arm aarch64 ppc ppc64 sparc sparc64 sparc32plus" RUBY_TARGETS="ruby27 ruby30" SANE_BACKENDS="snapscan canon" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia" 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, 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-20 07:55:10 UTC
Please always attach the full build.log.
Comment 2 LABBE Corentin 2023-03-20 08:40:12 UTC
Created attachment 858429 [details]
build.log
Comment 3 Joonas Niilola gentoo-dev 2023-03-20 12:07:09 UTC
Is this with gcc-13?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-20 12:10:25 UTC
(In reply to Joonas Niilola from comment #3)
> Is this with gcc-13?

Bleh, I'd missed that. I think you're spot on - dupe of bug 891643 I guess, although we may want to beg upstream to backport the fixes to ESR.

GCC 13 will be released in a month or so so we have a bit of time to squeeze it in.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-20 12:15:43 UTC
oh, and please don't use gcc 13 on stable right now. The priority is on getting things fixed at all right now, not ensuring stable is ready for it. We're a long way off GCC 13 being stable, and it's not even out yet.
Comment 6 LABBE Corentin 2023-03-20 12:45:09 UTC
yes it is gcc 13, I just found that my laptop was building fine and found that it was with gcc 12. So I restart with gcc 12 on box that failed, and it works now.
Comment 7 Adrien Dessemond 2023-04-13 14:03:34 UTC
Logs are sometimes tedious to read, but giving attention to this one, the fail occurs near the line 2291:

8 0:23.79 /usr/bin/x86_64-pc-linux-gnu-g++ -o ApplicationAccessibleWrap.o -c -flto -flifetime-dse=1 -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefo
x_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ
_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/atk -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/accessible/atk -
I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/base -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/generic -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/acces
sible/html -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/ipc -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/ipc/other -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-
102.9.0/accessible/xpcom -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/xul -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/layout/generic -I/var/tmp/portage/www-client/firefox-102.9.0/work/
firefox-102.9.0/other-licenses/atk-1.0 -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/widget -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/widget/gtk -I/var/tmp/portage/www-client/firefox-102.9.0/wor
k/firefox_build/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -
I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/mozilla-config.h -Wall -We
mpty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -
Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -fno-sized-dealloc
ation -fno-aligned-new -pipe -fno-tree-loop-vectorize -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -I/usr/include/gtk-3.0 -I/usr/
include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I
/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/
dbus-1.0/include -I/usr/include/gtk-3.0/unix-print -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wno-error=unused-function -Wno-unused-local-typedefs -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/ApplicationAcc
essibleWrap.o.pp  -fdiagnostics-color  /var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/atk/ApplicationAccessibleWrap.cpp
8 0:24.60 In file included from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/ProfilerThreadState.h:14,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/ProfilerLabels.h:14,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/AutoEntryScript.h:16,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/CallbackObject.h:34,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/CallbackFunction.h:20,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/AnimationFrameProviderBinding.h:10,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/AnimationFrameProvider.h:10,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/Document.h:49,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/AsyncEventDispatcher.h:15,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/HTMLDetailsElement.h:10,
8 0:24.60                  from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/html/HTMLElementAccessibles.cpp:17,
8 0:24.60                  from Unified_cpp_accessible_html0.cpp:11:
8 0:24.60 /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/ProfilerThreadRegistration.h:217:38: error: declaration of 'mozilla::profiler::ThreadRegistration::OnThreadRef::RWOnThreadWithLock mozilla::profil
er::ThreadRegistration::OnThreadRef::LockedRWOnThread()' changes meaning of 'LockedRWOnThread' [-fpermissive]
(...)

I am unable to reproduce it on my machine with GCC 13.0.1_pre20230409-r3 as of this morning. However I do have another issue related to types/namespaces which is also present in 102.10.0 (ESR), see bug #904268
Comment 8 Joonas Niilola gentoo-dev 2023-04-14 05:33:22 UTC
Hmm I thought I added a gcc-13 patch to ESR, but looks like it's only applied for Thunderbird currently. Guess my thinking was ~unstable users can still use TB which follows the ESR release cycle.
Comment 9 Larry the Git Cow gentoo-dev 2023-04-14 09:17:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b5c3433426186756fa317139510d84275fdeab

commit 60b5c3433426186756fa317139510d84275fdeab
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-04-14 09:16:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-04-14 09:17:43 +0000

    www-client/firefox: add gcc-13 patch to 102esr
    
    Closes: https://bugs.gentoo.org/902025
    Closes: https://bugs.gentoo.org/904268
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest                | 1 +
 www-client/firefox/firefox-102.10.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)