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

Dimitry Andric <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #55 from Dimitry Andric <[email protected]> ---
FWIW the upstream commit that introduced this 'feature' was
<https://github.com/llvm/llvm-project/commit/llvmorg-19-init-6933-gdf54f627fad7>
("[ELF] Enhance --no-allow-shlib-undefined for non-exported definitions"), and
it landed in lld 19. This is why lld 18 'works' and lld 19 'fails'.

But there is also something strange in 15-CURRENT, as the error does _not_
occur there, even with lld 19 (from base or ports), even though the 'environ'
and '__progname' symbols are still undefined in libc.so:

$ nm -D /lib/libc.so.7 | grep -E -w 'environ|__progname'
                 U __progname
                 U environ

It would be good to get to the bottom of why that is the case, before
attempting to patch things up.

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

Reply via email to