subj; $ FEATURES="-ccache" emerge -1pv firefox These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 16.57 s (backtrack: 0/20). [ebuild U ] www-client/firefox-128.4.0:esr::gentoo [128.3.1:esr::gentoo] USE="X dbus eme-free gmp-autoupdate hwaccel jumbo-build libproxy lto openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland -clang* -debug -gnome-shell -hardened -jack -pgo -pulseaudio (-selinux) -sndio -system-png -wifi" L10N="fr ru -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -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 -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 upgrade), Size of downloads: 0 KiB Reproducible: Always
Created attachment 907602 [details] emerge --info '=www-client/firefox-128.4.0::gentoo'
Created attachment 907603 [details] build.log.xz
The build failere is caused by USE="-clang"; with USE=clang it builds fine
``` 151:56.49 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `nsGloba lWindowInner::GetGlobalJSObjectPreserveColor() const [clone .lto_priv.0]': 151:56.49 <artificial>:(.text._ZNK19nsGlobalWindowInner30GetGlobalJSObjectPreserveColorEv.lto_priv.0+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>( JSObject**)' 151:56.50 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `non-vir tual thunk to nsGlobalWindowInner::GetGlobalJSObjectPreserveColor() const': 151:56.50 <artificial>:(.text._ZThn256_NK19nsGlobalWindowInner30GetGlobalJSObjectPreserveColorEv+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSOb ject**)' 151:56.50 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `nsGloba lWindowOuter::GetGlobalJSObjectPreserveColor() const [clone .lto_priv.0]': 151:56.50 <artificial>:(.text._ZNK19nsGlobalWindowOuter30GetGlobalJSObjectPreserveColorEv.lto_priv.0+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>( JSObject**)' 151:56.50 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `non-virtual thunk to nsGlobalWindowOuter::GetGlobalJSObjectPreserveColor() const': 151:56.51 <artificial>:(.text._ZThn160_NK19nsGlobalWindowOuter30GetGlobalJSObjectPreserveColorEv+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)' 151:56.51 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `mozilla::dom::ShadowRealmGlobalScope::GetGlobalJSObjectPreserveColor() const': 151:56.51 <artificial>:(.text._ZNK7mozilla3dom22ShadowRealmGlobalScope30GetGlobalJSObjectPreserveColorEv+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)' 151:56.51 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o:<artificial>:(.text._ZNK17TraceCallbackFunc5TraceEP14nsWrapperCachePKcPv+0x91): more undefined references to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)' follow 151:56.52 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `ClearJSHolder::Trace(JS::Heap<JSObject*>*, char const*, void*) const': 151:56.52 <artificial>:(.text._ZNK13ClearJSHolder5TraceEPN2JS4HeapIP8JSObjectEEPKcPv+0x14): undefined reference to `JS::HeapObjectPostWriteBarrier(JSObject**, JSObject*, JSObject*)' 151:56.52 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `mozilla::CycleCollectedJSContext::saveJobQueue(JSContext*) [clone .cold]': 151:56.52 <artificial>:(.text.unlikely._ZN7mozilla23CycleCollectedJSContext12saveJobQueueEP9JSContext+0x4): undefined reference to `JS_ReportOutOfMemory(JSContext*)' 151:56.53 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `mozilla::CycleCollectedJSContext::saveJobQueue(JSContext*)': 151:56.53 <artificial>:(.text._ZN7mozilla23CycleCollectedJSContext12saveJobQueueEP9JSContext+0x20): undefined reference to `js::MallocArena' 151:56.53 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined hidden symbol `_ZN2js11MallocArenaE' can not be used when making a shared object 151:56.53 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: final link failed: bad value 151:56.87 collect2: error: ld returned 1 exit status ```
* Does non-ESR work? * Does latest (newly-stabled) GCC work?
(In reply to Sam James from comment #5) > * Does non-ESR work? www-client/firefox-132.0::esr - the same thing > * Does latest (newly-stabled) GCC work? www-client/firefox-128.4.0 with sys-devel/gcc-13.3.1_p20241025 - the same thing