* [hurd,commited] malloc: Fix tst-memalign-3 link against threads
@ 2023-05-02 19:26 Samuel Thibault
2023-05-02 19:26 ` [hurd,commited] malloc: Really fix " Samuel Thibault
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Thibault @ 2023-05-02 19:26 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault, commit-hurd
---
malloc/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/malloc/Makefile b/malloc/Makefile
index f4cae2538c..41c4f33c2a 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -190,6 +190,7 @@ $(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
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [hurd,commited] malloc: Really fix tst-memalign-3 link against threads
2023-05-02 19:26 [hurd,commited] malloc: Fix tst-memalign-3 link against threads Samuel Thibault
@ 2023-05-02 19:26 ` Samuel Thibault
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2023-05-02 19:26 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault, commit-hurd
All the tst malloc variants need the thread linking flags.
---
malloc/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-02 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02 19:26 [hurd,commited] malloc: Fix tst-memalign-3 link against threads Samuel Thibault
2023-05-02 19:26 ` [hurd,commited] malloc: Really fix " Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).