From 201f88a749e81ef1932e3f2a2ac2743c9ddfb517 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Wed, 15 Dec 2021 13:20:14 +0100 Subject: [PATCH] Do not use --enable-static-pie configure flag Since upstream commit 23645707f12f, --enable-static-pie is ignored by the build system and static PIE is enabled by default on architectures that support it. --- glibc.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/glibc.spec b/glibc.spec index d800859..80ea367 100644 --- a/glibc.spec +++ b/glibc.spec @@ -69,9 +69,6 @@ %undefine with_valgrind %endif -# Only some architectures have static PIE support. -%define pie_arches %{ix86} x86_64 - # The annobin annotations cause binutils to produce broken ARM EABI # unwinding information. Symptom is a hang/test failure for # malloc/tst-malloc-stats-cancellation. See @@ -151,7 +148,7 @@ end \ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 31%{?dist} +Release: 32%{?dist} # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -1151,9 +1148,6 @@ build() --enable-bind-now \ --build=%{target} \ --enable-stack-protector=strong \ -%ifarch %{pie_arches} - --enable-static-pie \ -%endif --enable-tunables \ --enable-systemtap \ ${core_with_options} \ @@ -2159,6 +2153,9 @@ update_gconv_modules_cache () %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %changelog +* Wed Dec 15 2021 Arjun Shankar - 2.34.9000-32 +- Do not use --enable-static-pie configure flag since it is now ignored + * Wed Dec 15 2021 Florian Weimer - 2.34.9000-31 - Drop glibc-fedora-revert-PT_LOAD-segment-align.patch; fix applied upstream - Auto-sync with upstream branch master,