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

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


The attached is an updated version of the testsuite-hardening-
updates.diff patch, which addresses more test failures caused by
enabling -fstack-protector and _FORTIFY_SOURCE by default. The updated
testcases are the following:

+ c-c++-common/cilk-plus/CK/spawnee_inline.c    |    2 +-
+ g++.dg/fstack-protector-strong.C              |    2 +-
+ gcc.c-torture/execute/memset-1.x              |    5 +++++
+ gcc.dg/fstack-protector-strong.c              |    2 +-
+ gcc.target/i386/sw-1.c                        |    2 +-

It includes the added testcase that was included in the patch in comment
#2.

** Patch added: "testsuite-hardening-updates.diff"
   https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1317307/+attachment/4115537/+files/testsuite-hardening-updates.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