[Bug 691722] Re: -fstack-protector-all ignored due to -fstack-protector default

Launchpad Bug Tracker 691722 at bugs.launchpad.net
Mon Jul 4 03:28:28 UTC 2011


** Branch linked: lp:debian/gnat-4.6

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

Title:
  -fstack-protector-all ignored due to -fstack-protector default

Status in “gcc-4.4” package in Ubuntu:
  Fix Released
Status in “gcc-4.5” package in Ubuntu:
  Fix Released
Status in “gcc-4.4” source package in Lucid:
  Triaged
Status in “gcc-4.5” source package in Lucid:
  Triaged
Status in “gcc-4.4” source package in Maverick:
  Triaged
Status in “gcc-4.5” source package in Maverick:
  Triaged
Status in “gcc-4.4” source package in Natty:
  Fix Released
Status in “gcc-4.5” source package in Natty:
  Fix Released
Status in “gcc-4.4” source package in Karmic:
  Triaged
Status in “gcc-4.5” source package in Karmic:
  Triaged

Bug description:
  Binary package hint: gcc-4.5

  Looks like the spec file modifications need to be tweaked:

  $ gcc -o test test.c
  $ hardening-check test
  ...
   Stack protected: no, not found!
  ...
  $ gcc -o test test.c -fstack-protector-all
  $ hardening-check test
  ...
   Stack protected: no, not found!
  ...
  $ gcc -o test test.c -fno-stack-protector -fstack-protector-all
  $ hardening-check test
  ...
   Stack protected: yes
  ...

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




More information about the foundations-bugs mailing list