about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-22 19:53:15 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-22 19:54:29 +0200
commit6f3e54d404cfe1ba7d1444e6dfcfd77b102d9287 (patch)
treecefa107e5f4f03f2e25d712f9d99f299eeed26df
parente4f1c0de9c7d3fd2e569551b2619d2eb34fd09c6 (diff)
downloadglibc-6f3e54d404cfe1ba7d1444e6dfcfd77b102d9287.tar.gz
glibc-6f3e54d404cfe1ba7d1444e6dfcfd77b102d9287.tar.xz
glibc-6f3e54d404cfe1ba7d1444e6dfcfd77b102d9287.zip
nptl: Do not build nptl/tst-pthread-gdb-attach as PIE
-rw-r--r--nptl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index a3d1ef8d66..294bb2faa4 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -377,6 +377,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)