Re: git: af60084978a4 - main - Add description for WITH_PTHREADS_ASSERTIONS

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Fri, 05 Sep 2025 21:57:24 UTC
Hello Colin,

For people that turn off debug on main, should WITH_PTHREADS_ASSERTIONS be
turned off?

e.g.
/etc/src.conf:
WITH_MALLOC_PRODUCTION=yes
WITHOUT_LLVM_ASSERTIONS=yes

Thanks,

Colin Percival <cperciva@freebsd.org> escreveu (sexta, 5/09/2025 à(s)
22:36):

> The branch main has been updated by cperciva:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=af60084978a43632c5ab2d6e3aca41be7a658d8c
>
> commit af60084978a43632c5ab2d6e3aca41be7a658d8c
> Author:     Colin Percival <cperciva@FreeBSD.org>
> AuthorDate: 2025-09-05 21:29:51 +0000
> Commit:     Colin Percival <cperciva@FreeBSD.org>
> CommitDate: 2025-09-05 21:35:53 +0000
>
>     Add description for WITH_PTHREADS_ASSERTIONS
>
>     This option is turned on by default in -CURRENT but will be turned off
>     in 15-STABLE; this description will land in the src.conf(5) man page
>     in that branch.
>
>     MFC after:      1 minute
> ---
>  tools/build/options/WITH_PTHREADS_ASSERTIONS | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tools/build/options/WITH_PTHREADS_ASSERTIONS
> b/tools/build/options/WITH_PTHREADS_ASSERTIONS
> new file mode 100644
> index 000000000000..03c15b76fb85
> --- /dev/null
> +++ b/tools/build/options/WITH_PTHREADS_ASSERTIONS
> @@ -0,0 +1 @@
> +Enable debugging assertions in pthreads library.
>
>

-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org