From: "Arsen Arsenović" <arsen@aarsen.me>
To: libc-alpha@sourceware.org
Cc: "Arsen Arsenović" <arsen@gentoo.org>
Subject: [PATCH] nptl: Make tst-tls3mod.so explicitly lazy
Date: Wed, 19 Jul 2023 20:45:58 +0200 [thread overview]
Message-ID: <20230719190505.2582121-1-arsen@aarsen.me> (raw)
From: Arsen Arsenović <arsen@gentoo.org>
Fixes the following test-time errors, that lead to FAILs, on toolchains
that set -z now out of the box, such as the one used on Gentoo Hardened:
.../build-x86-x86_64-pc-linux-gnu-nptl $ grep '' nptl/tst-tls3*.out
nptl/tst-tls3.out:dlopen failed
nptl/tst-tls3-malloc.out:dlopen failed
---
Hi,
I've been testing glibc in preparation for 2.38 and spotted two more
test failures caused by a lack of -z lazy, similar to those fixed by
6c7388d0b95ef9ae39fbe6f733e2c5049769c4f9.
This patch fixes those FAILs.
Have a lovely day!
nptl/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/nptl/Makefile b/nptl/Makefile
index f8365467d9..ffa5722e48 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -636,6 +636,7 @@ $(objpfx)tst-cleanup4: $(objpfx)tst-cleanup4aux.o
$(objpfx)tst-cleanupx4: $(objpfx)tst-cleanupx4aux.o
LDFLAGS-tst-tls3 = -rdynamic
+LDFLAGS-tst-tls3mod.so = -Wl,-z,lazy
$(objpfx)tst-tls3.out: $(objpfx)tst-tls3mod.so
LDFLAGS-tst-tls3-malloc = -rdynamic
--
2.41.0
next reply other threads:[~2023-07-19 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 18:45 Arsen Arsenović [this message]
2023-07-19 19:24 Arsen Arsenović
2023-07-20 7:23 ` Florian Weimer
2023-07-20 8:04 ` Arsen Arsenović
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=20230719190505.2582121-1-arsen@aarsen.me \
--to=arsen@aarsen.me \
--cc=arsen@gentoo.org \
--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).