[Bug 1317307] Re: Make -fstack-protector-strong the default in gcc 4.9

Steve Beattie sbeattie at ubuntu.com
Mon May 19 17:19:46 UTC 2014


The attached is an additional patch to fix a couple of gcc testcases
caused by glibc annotating functions to warn if the result is not
checked. This will require the following change to debian/rules.patch to
apply it during builds:

diff -u gcc-4.9-4.9.0/debian/rules.patch gcc-4.9-4.9.0/debian/rules.patch
--- gcc-4.9-4.9.0/debian/rules.patch
+++ gcc-4.9-4.9.0/debian/rules.patch
@@ -102,7 +102,8 @@
        gcc-default-relro \
        testsuite-hardening-format \
        testsuite-hardening-printf-types \
-       testsuite-hardening-updates
+       testsuite-hardening-updates \
+       testsuite-glibc-warnings
   endif
 endif


** Patch added: "testsuite-glibc-warnings.diff"
   https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1317307/+attachment/4115547/+files/testsuite-glibc-warnings.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.9 in Ubuntu.
https://bugs.launchpad.net/bugs/1317307

Title:
  Make -fstack-protector-strong the default in gcc 4.9

Status in “gcc-4.9” package in Ubuntu:
  In Progress

Bug description:
  In gcc 4.9, the new option -fstack-protector-strong is supported. The
  advantages of using this option over -fstack-protector and -fstacke-
  protector-all are covered in
  http://www.outflux.net/blog/archives/2014/01/27/fstack-protector-
  strong/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1317307/+subscriptions



More information about the foundations-bugs mailing list