[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
Fri Jan 4 16:17:54 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220103
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #22 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Michal Meloun from comment #21)
> 935: 000000000056b8e0 8 OBJECT GLOBAL DEFAULT 27 environ@@MPLAYER_1 (2)
> 5384: 000000000056b8e0 8 OBJECT GLOBAL DEFAULT 27 environ
To be fair, typical cause of occurrence of the second unversioned symbol in the
readelf -a output is due to the presence of the static (debugging) symbol
table.
It is not used for dynamic symbol resolution, so really only one environ is
exported. That said, it is wrong for environ to be exported with any
version, as well, it must be unversioned in the dynamic symbol table. Our
rtld is forgiving but in principle we could check.
--
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