Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 2021 13:51:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 257639] www/firefox: broken mic in WebRTC in 91.0
Message-ID:  <bug-257639-21738-0kkwGt8GK0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257639-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257639-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257639

--- Comment #20 from Evgeniy Khramtsov <evgeniy@khramtsov.org> ---
(In reply to VVD from comment #19)

> Don't think so

Passing non-versioned OS target triple results in Clang targeting older Fre=
eBSD
for Rust crates, so questioning whether the omitted patch helped is relevan=
t.

www/firefox is not reproducible (embeds build date), so the only way to che=
ck
is to either
compare binaries with sysutils/py-diffoscope (tedious) or do a runtime test
without ports dcc587e70 again.

Some notes about "quiet build failures":

1. bsd.gecko.mk starting with ports 912a7b12e4e passes
"LDFLAGS+=3D-Wl,--as-needed", which is not the upstream default and remains
disabled for e.g. Mozilla widget wrapper:
https://github.com/mozilla/gecko-dev/blob/FIREFOX_ESR_91_0_X_RELBRANCH/widg=
et/gtk/mozgtk/moz.build#L13

I use locally patched Firefox to build without X11, and the use of
"-Wl,--as-needed" in ports exposed runtime linking issues with Mozilla wrap=
per
for me:

https://github.com/mozilla/gecko-dev/blob/FIREFOX_ESR_91_0_X_RELBRANCH/widg=
et/gtk/mozwayland/mozwayland.c#L17
LD_DEBUG=3Dlibs firefox
[...]
calling init function for /usr/local/lib/firefox/libxul.so at 0x1e1432bb82c0
dlopen_object name "<null>" fd -1 refobj "/usr/local/bin/firefox" lo_flags =
0x2
mode 0x1
[...]

Vanilla Firefox in ports also has linking issues that are not immediately
exposed via build failure:=20

$ rg 'undefined symbol' firefox-93.0,2.log
28966:ld: warning: undefined symbol: environ
28975:ld: warning: undefined symbol: epoll_shim_write
28983:ld: warning: undefined symbol: eventfd
28987:ld: warning: undefined symbol: epoll_shim_read
28995:ld: warning: undefined symbol: epoll_shim_close

$SOMEONE yet to check if ports dcc587e70 is related to this issue.

> Do you want to keep this PR open till www/firefox-esr moved to 91 and fix=
ed?

Yes, 91 including the next ESR 91 is still affected.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257639-21738-0kkwGt8GK0>