[Bug 293859] C11's call_once requires nonstandard library -lstdthreads for linking

[email protected] Mon, 30 Mar 2026 17:02:06 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293859

--- Comment #12 from Konstantin Belousov <[email protected]> ---
(In reply to Tijl Coosemans from comment #11)
Formally it only implies the behaviour for the c17(1) command (which we do =
not
have of course, same as any other OS in existence).  And then, it only requ=
ires
that -lpthread switch provides the access to the functions, which does not =
mean
that real libpthread.{a,so} should.

We could move the functions to libthr and make libstdthread a filter, but I
prefer we
do not.  It is significant complication in the runtime, which should be only
used
for significant cases.

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