[PATCH 0/2] nptl: Fix issues with tst-sem11 and tst-sem12 tests

Maciej W. Rozycki macro@orcam.me.uk
Thu Jul 11 13:17:09 GMT 2024


Hi,

 In the course of verifying changes for the BZ #27650 test case, posted 
separately, I have come across a couple of tests hanging forever that 
cause `mips-linux-gnu' (o32 ABI) testing to never complete unless the 
offending tests are killed by hand.

 This mini patch series addresses this issue for the tst-sem11 and 
tst-sem12 tests, by converting them to use the test driver.  As there's 
also an issue with a missing copyright notice with these tests this is 
addressed with 1/2, followed by the actual code fix in 2/2.  It is perhaps 
worth noting that these tests were committed along with tst-sem10, which 
hasn't suffered from either of these issues ever since the beginning.

 This has been verified with the `powerpc64le-linux-gnu' (IBM POWER9) 
native target and then the same host and the `riscv64-linux-gnu' (SiFive 
FU740) and `mips-linux-gnu' (o32 ABI) (MIPS 74Kf) targets.  The tests 
still hang with the latter target, but they are killed automatically by 
the test driver and therefore fail gracefully.

 NB these tests also fail with the `alpha-linux-gnu' (DEC 21064A, EV45) 
target, but in this case they both segfault instead, so the failure is 
harmless to the remaining testing.

 I'll commit 1/2 as obviously correct unless I hear objections in the next 
couple of days.  OK for 2/2 (either now or past the freeze period)?

  Maciej


More information about the Libc-alpha mailing list