Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2022 17:11:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 265008] 'undefined symbol: environ' when a shared library is built which shouldn't happen according to environ(7)
Message-ID:  <bug-265008-29464-D5bwX0vuIW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265008-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265008-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265008

--- 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 particu=
lar
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265008-29464-D5bwX0vuIW>