summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDenis Kaganovich <mahatma@eu.by>2016-10-20 22:01:39 +0200
committerMike Frysinger <vapier@gentoo.org>2016-11-15 14:15:19 -0500
commitc7409aded44634411a19b0b7178b7faa237835e6 (patch)
treea3fbfec4d7a785a397fe9bb2fed98c7dbf86b855 /ChangeLog
parent001f81ad1e792dddd75aa8a6f9d1d9b0ba8dc16e (diff)
downloadglibc-c7409aded44634411a19b0b7178b7faa237835e6.tar.gz
glibc-c7409aded44634411a19b0b7178b7faa237835e6.tar.xz
glibc-c7409aded44634411a19b0b7178b7faa237835e6.zip
configure: accept __stack_chk_fail_local for ssp support too [BZ #20662]
When glibc is compiled with gcc 6.2 that has been configured with
--enable-default-pie and --enable-default-ssp, the configure script
fails to detect that the compiler has ssp turned on by default when
being built for i686-linux-gnu.

This is because gcc is emitting __stack_chk_fail_local but the
script is only looking for __stack_chk_fail.  Support both.

Example output:
checking whether x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed
implicitly enables -fstack-protector... no
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e88b7603ed..7b7c5115a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-10-20  Denis Kaganovich  <mahatma@eu.by>
+	    Magnus Granberg  <zorry@gentoo.org>
+	    Mike Frysinger  <vapier@gentoo.org>
+
+	[BZ #20662]
+	* configure.ac (libc_cv_predef_stack_protector): Also check for
+	__stack_chk_fail_local symbols.
+	* configure: Regenerated.
+
 2016-11-15  Florian Weimer  <fweimer@redhat.com>
 
 	* sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.