[Bug 220103] devel/glib20: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (WITH_LLD_IS_LD)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 5 19:59:10 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220103
--- Comment #27 from Dimitry Andric <dim at FreeBSD.org> ---
It looks like the chromium version script was introduced here:
https://chromium.googlesource.com/chromium/src.git/+/83365024efd81b5f3439d95c5560465ad2110388%5E%21/
"[Linux build] Add a linker version script to prevent symbol leaks
Bug 770264 was caused by accidentally leaking FreeType symbols from
Chrome. This CL adds a linker version script to ensure new leaks do
not happen. Any newly exported symbols must be explicitly added to
the version script."
Unfortunately the chromium issue itself,
https://bugs.chromium.org/p/chromium/issues/detail?id=770264 apparently, is not
viewable by mere mortals. So much for open source. :)
In any case, it seems that chromium has assumed the responsibility of keeping
up-to-date with all the required exported symbols to make an executable work.
So probably an upstream bug report is needed, together with a list of FreeBSD
specific symbols that must always be exported.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list