[Bug 220103] devel/glib20: Undefined symbol "environ" (WITH_LLD_IS_LD)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 2 02:59:07 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220103

--- Comment #5 from Max <maxsteciuk at gmail.com> ---
Somehow 'environ' definition is not in the glib-2.0.so binary in contrast to a
simple printenv test binary, even after full clean  rebuild of devel/glib20

>[~]$ objdump -T /usr/local/lib/libglib-2.0.so |grep env
>0000000000000000      DF *UND*  0000000000000000  FBSD_1.0    getenv
>0000000000000000      D  *UND*  0000000000000000  Base        environ
>0000000000000000      DF *UND*  0000000000000000  FBSD_1.0    setenv
>>0000000000000000      DF *UND*  0000000000000000  FBSD_1.0    unsetenv
>00000000000b9640 g    DF .text  00000000000000d0  Base        g_environ_getenv
>00000000000b9a00 g    DF .text  000000000000009a  Base        g_setenv
>00000000000b9b10 g    DF .text  00000000000000b4  Base        g_listenv
>00000000000b99d0 g    DF .text  000000000000002c  Base        g_getenv
>00000000000b98c0 g    DF .text  0000000000000108  Base        g_environ_unsetenv
>00000000000b9bd0 g    DF .text  0000000000000014  Base        g_get_environ
>00000000000b9aa0 g    DF .text  0000000000000062  Base        g_unsetenv
>00000000000b9710 g    DF .text  00000000000001af  Base        g_environ_setenv
>[~]$ objdump -T ~/a.out |grep env
>0000000000204000 g    DO .bss   0000000000000008  Base        environ

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


More information about the freebsd-gnome mailing list