[PATCH] Add tst-thp-size-mod.so dependency to strace THP tests
"H.J. Lu" <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <CAMe9rOoVfjD8n+Mf5QCAWefu5Q4yuy9baga_yoYuhSddUyC0mg@mail.gmail.com> |
After 7cac99621e Makefile: Run the subdirectory recursion in parallel tests under elf may run in parallel. "make check -jN" reports FAIL: elf/strace-tst-thp-align-default FAIL: elf/strace-tst-thp-align-disabled FAIL: elf/strace-tst-thp-align-enabled at random since they use tst-thp-align which dlopens tst-thp-size-mod.so, but tst-thp-size-mod.so dependency is missing. Add the missing dependency to fix BZ #34351. -- H.J.
0001-Add-tst-thp-size-mod.so-dependency-to-strace-THP-tes.patch
(text/x-patch, 2.1 KB)
From 2393bde7b399e75a5d305151474982c4c33f7a42 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <[email protected]> Date: Sun, 5 Jul 2026 15:59:43 +0800 Subject: [PATCH] Add tst-thp-size-mod.so dependency to strace THP tests After 7cac99621e Makefile: Run the subdirectory recursion in parallel tests under elf may run in parallel. "make check -jN" reports FAIL: elf/strace-tst-thp-align-default FAIL: elf/strace-tst-thp-align-disabled FAIL: elf/strace-tst-thp-align-enabled at random since they use tst-thp-align which dlopens tst-thp-size-mod.so, but tst-thp-size-mod.so dependency is missing. Add the missing dependency to fix BZ #34351. Signed-off-by: H.J. Lu <[email protected]> --- sysdeps/unix/sysv/linux/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 1efeac5213..56b160e253 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -887,7 +887,7 @@ $(objpfx)strace-tst-thp-1-static-disabled.out: \ $(objpfx)strace-tst-thp-align-default.out: \ $(..)sysdeps/unix/sysv/linux/strace-tst-thp.sh $(objpfx)ld.so \ - $(objpfx)tst-thp-align + $(objpfx)tst-thp-align $(objpfx)tst-thp-size-mod.so $(SHELL) $< '$(strace-test-via-rtld-prefix)' \ '$(test-wrapper-env)' '$(run-program-env)' \ $(objpfx)tst-thp-align > $@; \ @@ -895,7 +895,7 @@ $(objpfx)strace-tst-thp-align-default.out: \ $(objpfx)strace-tst-thp-align-enabled.out: \ $(..)sysdeps/unix/sysv/linux/strace-tst-thp.sh $(objpfx)ld.so \ - $(objpfx)tst-thp-align + $(objpfx)tst-thp-align $(objpfx)tst-thp-size-mod.so $(SHELL) $< '$(strace-test-via-rtld-prefix)' \ '$(test-wrapper-env)' \ '$(run-program-env) GLIBC_TUNABLES=glibc.elf.thp=1' \ @@ -904,7 +904,7 @@ $(objpfx)strace-tst-thp-align-enabled.out: \ $(objpfx)strace-tst-thp-align-disabled.out: \ $(..)sysdeps/unix/sysv/linux/strace-tst-thp.sh $(objpfx)ld.so \ - $(objpfx)tst-thp-align + $(objpfx)tst-thp-align $(objpfx)tst-thp-size-mod.so $(SHELL) $< '$(strace-test-via-rtld-prefix)' \ '$(test-wrapper-env)' \ '$(run-program-env) GLIBC_TUNABLES=glibc.elf.thp=0' \ -- 2.55.0