[hurd,commited] malloc: Really fix tst-memalign-3 link against threads

Message ID 20230502192655.1342645-2-samuel.thibault@ens-lyon.org
State Committed, archived
Headers
Series [hurd,commited] malloc: Really fix tst-memalign-3 link against threads |

Checks

Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to apply

Commit Message

Samuel Thibault May 2, 2023, 7:26 p.m. UTC
  All the tst malloc variants need the thread linking flags.
---
 malloc/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/malloc/Makefile b/malloc/Makefile
index 41c4f33c2a..21c5a7c0d7 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -190,7 +190,6 @@  $(objpfx)tst-mallocfork2-malloc-hugetlb2: $(shared-thread-library)
 $(objpfx)tst-mallocfork3-malloc-hugetlb2: $(shared-thread-library)
 $(objpfx)tst-malloc-fork-deadlock-malloc-hugetlb2: $(shared-thread-library)
 $(objpfx)tst-malloc-stats-cancellation-malloc-hugetlb2: $(shared-thread-library)
-$(objpfx)tst-memalign-3: $(shared-thread-library)
 
 # These should be removed by `make clean'.
 extra-objs = mcheck-init.o libmcheck.a
@@ -354,6 +353,8 @@  $(objpfx)tst-malloc-tcache-leak-malloc-hugetlb2: $(shared-thread-library)
 $(objpfx)tst-malloc_info-malloc-hugetlb1: $(shared-thread-library)
 $(objpfx)tst-malloc_info-malloc-hugetlb2: $(shared-thread-library)
 $(objpfx)tst-memalign-3: $(shared-thread-library)
+$(objpfx)tst-memalign-3-malloc-hugetlb1: $(shared-thread-library)
+$(objpfx)tst-memalign-3-malloc-hugetlb2: $(shared-thread-library)
 
 tst-compathooks-on-ENV = LD_PRELOAD=$(objpfx)libc_malloc_debug.so
 tst-compathooks-on-mcheck-ENV = LD_PRELOAD=$(objpfx)libc_malloc_debug.so