diff options
author | Milan Stastny | 2021-05-31 22:16:49 +0200 |
---|---|---|
committer | Milan Stastny | 2021-05-31 22:16:49 +0200 |
commit | 7d70b88cfd7afe13c7be639ec9c3025922116e24 (patch) | |
tree | f95b30ffdf3facccb1e17cd145c348b0bcbd1a2e /0003-nptl-Do-not-build-nptl-tst-pthread-gdb-attach-as-PIE.patch | |
parent | 40cbaf3edd766c877a4a25ec052a97c06889beb6 (diff) | |
download | aur-7d70b88cfd7afe13c7be639ec9c3025922116e24.tar.gz |
Update based on upstream
Diffstat (limited to '0003-nptl-Do-not-build-nptl-tst-pthread-gdb-attach-as-PIE.patch')
-rw-r--r-- | 0003-nptl-Do-not-build-nptl-tst-pthread-gdb-attach-as-PIE.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0003-nptl-Do-not-build-nptl-tst-pthread-gdb-attach-as-PIE.patch b/0003-nptl-Do-not-build-nptl-tst-pthread-gdb-attach-as-PIE.patch new file mode 100644 index 000000000000..1ba043d0233c --- /dev/null +++ b/0003-nptl-Do-not-build-nptl-tst-pthread-gdb-attach-as-PIE.patch @@ -0,0 +1,26 @@ +From 6f3e54d404cfe1ba7d1444e6dfcfd77b102d9287 Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Thu, 22 Apr 2021 19:53:15 +0200 +Subject: [PATCH 409/576] nptl: Do not build nptl/tst-pthread-gdb-attach as PIE + +--- + nptl/Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +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) +-- +2.31.1 + |