From: Adam Yi <ayi@janestreet.com>
To: libc-alpha@sourceware.org
Cc: adhemerval.zanella@linaro.org, joseph@codesourcery.com,
i@adamyi.com, ayi@janestreet.com
Subject: [PATCH] hurd: fix build of tst-system.c
Date: Wed, 8 Mar 2023 03:11:47 -0500 [thread overview]
Message-ID: <E1pZp2P-008d3c-06@igm-qws-u21165a.delacy.com> (raw)
We made tst-system.c depend on pthread, but that requires linking with
$(shared-thread-library). It does not fail under Linux because the
variable expands to nothing under Linux, but it fails for Hurd.
I tested verified via cross-compiling that "make check" now works
for Hurd.
Signed-off-by: Adam Yi <ayi@janestreet.com>
---
stdlib/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/stdlib/Makefile b/stdlib/Makefile
index cd32f53b56..5e38f0e6a2 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -281,6 +281,7 @@ LDLIBS-test-on_exit-race = $(shared-thread-library)
LDLIBS-tst-canon-bz26341 = $(shared-thread-library)
LDLIBS-tst-arc4random-fork = $(shared-thread-library)
LDLIBS-tst-arc4random-thread = $(shared-thread-library)
+LDLIBS-tst-system = $(shared-thread-library)
LDLIBS-test-dlclose-exit-race = $(shared-thread-library)
LDFLAGS-test-dlclose-exit-race = $(LDFLAGS-rdynamic)
--
2.31.1
next reply other threads:[~2023-03-08 8:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 8:11 Adam Yi [this message]
2023-03-08 11:48 ` Adhemerval Zanella Netto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1pZp2P-008d3c-06@igm-qws-u21165a.delacy.com \
--to=ayi@janestreet.com \
--cc=adhemerval.zanella@linaro.org \
--cc=i@adamyi.com \
--cc=joseph@codesourcery.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).