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

[email protected] Mon, 16 Mar 2026 21:59:30 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293859

--- Comment #6 from Matthias Andree <[email protected]> ---
OpenEXR decided to continue using the pthread_once on FreeBSD,
https://github.com/AcademySoftwareFoundation/openexr/pull/2300/changes#diff-1a999aa1a2e0b7513130f7c8202604b6a8ce40d14d978d16c26bdcf5e7ecae74
and for the 3.4.7 port I am adding -lstdthreads through LDFLAGS,
https://gitlab.com/mandree/freebsd-ports/-/commit/bc9ab266767f771814a41992559ccf81aec3e8e3#line_248fb2f95_A73

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