[PATCH 0/3] Fixes for the parallel make/make check support

Adhemerval Zanella <[email protected]> Mon, 27 Jul 2026 18:28:27 +0000
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
This series fixes three fallouts from the parallel subdirectory
recursion and parallel 'make check' changes that went into 2.44
(7cac99621e96 and related commits).

The first patch fixes gen-as-const-headers races where a generated
header is consumed by a different subdirectory than the one that
generates it (BZ 34438).  The serial recursion hid the missing
dependency because the sorted subdirectory order always ran the
generating subdirectory first; the parallel fan-out does not provide
that ordering.  The headers are moved to the subdirectories that
consume them.

The second patch fixes a parallel 'make install' failure where
install-others-nosubdir adds the ABI lib-names header as a
prerequisite in subdirectories without $(headers), where no install
rule for it exists (BZ 34439).  This also only worked because
.NOTPARALLEL previously guaranteed the top level installed the header
first.

The third patch fixes the two-pass 'make check' so the static checks
(check-abi, conformtest, installed headers) run in the first
build-only pass no longer abort the check before any built test runs,
and the test summary is only merged and printed once at the end of
the second pass, restoring the single complete summary.

Tested with builds and 'make check' on x86_64-linux-gnu, and builds
for sh4-linux-gnu, i686-gnu, and x86_64-gnu.

Adhemerval Zanella (2):
  Fix gen-as-const-headers races with the parallel subdir recursion (BZ
    34438)
  Makefile: Only print the test summary in the second pass of 'make
    check'

Rudi Heitbaum (1):
  Makerules: Only install the ABI lib-names header from the top level
    (BZ 34439)

 Makefile                                |  6 ++++++
 Makerules                               | 25 ++++++++++++++++++++++---
 sysdeps/mach/hurd/x86/Makefile          |  6 +-----
 sysdeps/unix/sysv/linux/sh/Makefile     |  4 +++-
 sysdeps/unix/sysv/linux/x86_64/Makefile |  4 +++-
 sysdeps/x86/Makefile                    | 10 ++++++++--
 6 files changed, 43 insertions(+), 12 deletions(-)

-- 
2.43.0