Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947337 - =www-client/firefox-128.5.1: link failure (undefined webrtc symbols)
Summary: =www-client/firefox-128.5.1: link failure (undefined webrtc symbols)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-01 22:47 UTC by Michael Orlitzky
Modified: 2025-03-18 20:40 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.42 KB, text/plain)
2025-01-01 22:47 UTC, Michael Orlitzky
Details
build.1.log.xz (build.1.log.xz,678.12 KB, application/x-xz)
2025-01-01 22:52 UTC, Michael Orlitzky
Details
build.2.log.xz (build.2.log.xz,763.35 KB, application/x-xz)
2025-01-01 22:52 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2025-01-01 22:47:56 UTC
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
Comment 1 Michael Orlitzky gentoo-dev 2025-01-01 22:52:26 UTC
Created attachment 915703 [details]
build.1.log.xz
Comment 2 Michael Orlitzky gentoo-dev 2025-01-01 22:52:50 UTC
Created attachment 915704 [details]
build.2.log.xz
Comment 3 Michael Orlitzky gentoo-dev 2025-01-03 21:14:28 UTC
To address the usual suspects: this still happens with the jumbo-build enabled, with GCC, and without LTO.
Comment 4 Michael Orlitzky gentoo-dev 2025-03-16 01:37:03 UTC
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
Comment 5 Joonas Niilola gentoo-dev 2025-03-18 17:21:41 UTC
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.
Comment 6 Michael Orlitzky gentoo-dev 2025-03-18 17:25:02 UTC
(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?
Comment 7 Larry the Git Cow gentoo-dev 2025-03-18 20:40:52 UTC
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(+)