From 29bd4db4f52040dbe082ed11a8fc7cc0245d70ca Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 13 Dec 2017 12:03:19 +0100 Subject: [PATCH] armhfp: Disable -fstack-clash-protection due to GCC bug (#1522678) --- glibc.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/glibc.spec b/glibc.spec index 2ce6493..7c12039 100644 --- a/glibc.spec +++ b/glibc.spec @@ -927,7 +927,10 @@ build() rm -rf $builddir mkdir $builddir pushd $builddir - build_CFLAGS="$BuildFlags -g -O2 -fstack-clash-protection $*" + build_CFLAGS="$BuildFlags -g -O2 $*" +%ifnarch %{arm} + build_CFLAGS="$build_CFLAGS -fstack-clash-protection" +%endif # Some configure checks can spuriously fail for some architectures if # unwind info is present configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables" @@ -2109,6 +2112,7 @@ fi %changelog * Wed Dec 13 2017 Florian Weimer - 2.26.9000-32 +- armhfp: Disable -fstack-clash-protection due to GCC bug (#1522678) - ppc64: Disable power6 multilib due to GCC bug (#1522675) - Auto-sync with upstream branch master, commit 243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad: