* [PATCH COMMITTED 2.33] nptl: Do not build nptl/tst-pthread-gdb-attach as PIE
@ 2021-04-30 7:21 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-04-30 7:21 UTC (permalink / raw)
To: libc-stable
(cherry picked from commit 6f3e54d404cfe1ba7d1444e6dfcfd77b102d9287)
---
nptl/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/nptl/Makefile b/nptl/Makefile
index 1ca23385d4..a1a8ef254b 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -353,6 +353,9 @@ endif
CFLAGS-tst-pthread-gdb-attach-static.c := $(CFLAGS-printers-tests)
CPPFLAGS-tst-pthread-gdb-attach-static.c := \
$(CFLAGS-printers-tests) -DDO_ADD_SYMBOL_FILE=0
+# As of version 9.2, GDB cannot attach properly to PIE programs that
+# were launched with an explicit ld.so invocation.
+tst-pthread-gdb-attach-no-pie = yes
ifeq ($(build-shared),yes)
tests-printers-libs := $(shared-thread-library)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-30 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 7:21 [PATCH COMMITTED 2.33] nptl: Do not build nptl/tst-pthread-gdb-attach as PIE Florian Weimer
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).