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

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


The attached is an updated version of the testsuite-hardening-
format.diff patch, to fix more gcc testcases that were failing due to
enabling -Wformat=1 by default. The 22 updated testcases are the
following:

+ src/boehm-gc/testsuite/boehm-gc.c/middle.c                   |    3 +++
+ src/gcc/testsuite/c-c++-common/torture/vector-compare-1.c    |    1 +
+ src/gcc/testsuite/g++.dg/abi/pragma-pack1.C                  |    2 ++
+ src/gcc/testsuite/g++.dg/abi/regparm1.C                      |    1 +
+ src/gcc/testsuite/g++.dg/cpp0x/constexpr-tuple.C             |    1 +
+ src/gcc/testsuite/g++.dg/torture/pr51436.C                   |    1 +
+ src/gcc/testsuite/g++.old-deja/g++.law/weak.C                |    2 +-
+ src/gcc/testsuite/g++.old-deja/g++.other/std1.C              |    1 +
+ src/gcc/testsuite/gcc.dg/ipa/ipa-sra-1.c                     |    2 +-
+ src/gcc/testsuite/gcc.dg/lto/20090218-2_0.c                  |    2 ++
+ src/gcc/testsuite/gcc.dg/pr59418.c                           |    2 +-
+ src/gcc/testsuite/gcc.dg/torture/tls/tls-test.c              |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-1.c        |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-fprintf-chk-1.c    |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-1.c         |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-printf-chk-1.c     |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vfprintf-1.c       |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vfprintf-chk-1.c   |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vprintf-1.c        |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/builtin-vprintf-chk-1.c    |    2 +-
+ src/gcc/testsuite/gcc.dg/tree-ssa/isolate-4.c                |    2 +-
+ src/gcc/testsuite/objc.dg/torture/strings/const-str-3.m      |    2 +-

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