Created attachment 915702 [details] emerge-info.txt After patching bug 947336, I get a lot farther on riscv/musl, but still ultimately get a link failure with a bunch of 194:37.09 ld.lld: error: undefined symbol: webrtc::DesktopCapturer::~DesktopCapturer() and similar errors. $ emerge -pv1 =www-client/firefox-128.5.1 ... [ebuild N ] www-client/firefox-128.5.1:esr::gentoo USE="clang dbus hardened system-av1 system-harfbuzz system-icu system-jpeg (system-libevent) system-libvpx system-png system-webp wayland -X -debug (-eme-free) -gmp-autoupdate -gnome-shell -hwaccel -jack -jumbo-build -libproxy -openh264 (-pgo) -pulseaudio (-selinux) -sndio -telemetry (-wasm) -wifi" L10N="-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 -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="19 -17 -18" 0 KiB
Created attachment 915703 [details] build.1.log.xz
Created attachment 915704 [details] build.2.log.xz
To address the usual suspects: this still happens with the jumbo-build enabled, with GCC, and without LTO.
In contrast with the :rapid slot, --enable-jit does build with the :esr slot. But --disable-webrtc is still required, and -flto=thin still also breaks the build. To summarize (on riscv): * --enable-webrtc bad * -flto=thin bad * --enable-jit bad but only on :rapid
Would you be able to say if this is riscv-musl -related, or simply riscv-related? I forgot this was originally on musl. With 136.0.2 out I wanted to get this fix in.
(In reply to Joonas Niilola from comment #5) > Would you be able to say if this is riscv-musl -related, or simply > riscv-related? I forgot this was originally on musl. With 136.0.2 out I > wanted to get this fix in. I've only got the one (musl) riscv box, but maybe someone else on riscv@ can try with glibc?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034d028b5bf519611374f8b5edd741808c2d62cd commit 034d028b5bf519611374f8b5edd741808c2d62cd Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2025-03-18 20:37:13 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2025-03-18 20:37:13 +0000 www-client/firefox: add 136.0.2 - riscv fixes for jit and webrtc (thinlto not handled). Bug: https://bugs.gentoo.org/947337 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 101 +++ www-client/firefox/firefox-136.0.2.ebuild | 1371 +++++++++++++++++++++++++++++ 2 files changed, 1472 insertions(+)