[Bug 265008] 'undefined symbol: environ' when a shared library is built which shouldn't happen according to environ(7)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Jul 2022 17:11:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265008

--- Comment #3 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Mark Millard from comment #2)

Hi Mark,

Every symbol should be resolvable in some way, either through some library or
it should "just exist".

environ(7) suggests that it just exists, w/out the need for any libraries. And
it does just exists, except when one links some shared library with particular
flags.

The provided example is a valid use case of environ, yet it fails without an
obvious workaround that doesn't alter link flags.


Yuri

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