bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-pthread-rwlock failure on Pop!_OS 22.04 LTS


From: Pádraig Brady
Subject: Re: test-pthread-rwlock failure on Pop!_OS 22.04 LTS
Date: Thu, 8 Aug 2024 18:16:16 +0100
User-agent: Mozilla Thunderbird Beta

On 07/08/2024 18:56, Bruno Haible wrote:
On 2024-07-07, I stated:
This provides enough justification for gnulib to override the glibc behaviour
here. I will therefore go ahead and override
   PTHREAD_RWLOCK_INITIALIZER
   pthread_rwlock_init
   pthread_rwlock_attr_init
to use PREFER_WRITER or PREFER_WRITER_NONRECURSIVE, which both behave in a
sane way even in glibc ≥ 2.25.

Done through these two patches:


2024-08-07  Bruno Haible  <bruno@clisp.org>

        pthread-rwlock tests: Strengthen tests.
        * tests/test-pthread-rwlock-waitqueue.c: New file.
        * modules/pthread-rwlock-tests (Files): Add it.
        (Depends-on): Add extensions, nanosleep, stdbool.
        (Makefile.am): Arrange to test test-pthread-rwlock-waitqueue.

FYI coreutils CI started failing with this on cfarm13.cfarm.net (debian 11.9) 
with:

FAIL: test-pthread-rwlock-waitqueue
===================================
test-pthread-rwlock-waitqueue.c:234: assertion 'startswith (do_test ("RRRRR"), " R1 
R2 R3 R4 R5")' failed
FAIL test-pthread-rwlock-waitqueue (exit status: 134)

cheers,
Padraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]