https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296825
Bug ID: 296825
Summary: www/firefox: regression of bug 277021 –
libgkcodecs.so: Undefined symbol "sin" (153.0,2)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277021
After a fresh git pull of the ports tree, www/firefox was updated from
152.0.6,2 to 153.0,2. After the update, Firefox fails to start with:
XPCOMGlueLoad error for file /usr/local/lib/firefox/libgkcodecs.so:
/usr/local/lib/firefox/libgkcodecs.so: Undefined symbol "sin"
Couldn't load XPCOM.
This is identical to the issue previously reported and fixed in bug 277021.
It appears to have regressed with the 153.0,2 update, likely due to the
av1/dav1d codec libraries linked into libgkcodecs.so again missing an
explicit -lm dependency for the lld linker.
Workaround: LD_PRELOAD=/lib/libm.so.5 firefox starts fine, confirming the
same root cause as 277021.
System: FreeBSD 15.1-CURRENT/STABLE (uname -a: <hier einfügen>)
Ports tree: fresh git pull as of 2026-07-16
Steps to reproduce:
1. csup/git pull ports tree
2. make -C /usr/ports/www/firefox clean install
3. Run firefox
4. Observe XPCOMGlueLoad error
Workaround that resolves the issue:
Adding LDFLAGS+= -lm for www/firefox in make.conf and rebuilding fixes it,
same as noted in comment #103 of bug 277021.
--
You are receiving this mail because:
You are the assignee for the bug.