On Sun, Sep 15, 2024 at 12:15:17PM -0600, Jeremie Courreges-Anglas wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   j...@cvs.openbsd.org    2024/09/15 12:15:17
> 
> Modified files:
>       infrastructure/mk: gnu.port.mk 
>       math/octave    : Makefile 
>       math/pspp      : Makefile 
> Added files:
>       infrastructure/db: config.no-stdthreads 
> 
> Log message:
> Poison the threads.h header by default in gnu.port.mk
> 
> This will avoid threads.h from devel/libstdthreads being picked up by
> gnulib's threadlib.m4, potentially breaking due to dpb junking in bulk
> builds. The header is included and some weak symbol magic is performed,
> but it doesn't bring any useful feature as it doesn't even link against
> libstdthreads.so. That gnulib module already falls back to
> a pthreads-based implementation anyway.
> 
> Ultimately it probably makes sense for C11 threads support to go into
> the base system, as already discussed several times by matthieu@ and
> others.  But now isn't the right time as we're approaching release.
> 
> ok ajacoutot@ sthen@

Also ok matthieu@

-- 
jca

Reply via email to