[buildd-tools-devel] Bug#789155: schroot: FTBFS: g++-4.8: error: unrecognized command line option '-fstack-protector-strong'

Jakub Wilk jwilk at debian.org
Sun Jul 26 20:28:17 UTC 2015


* Roger Leigh <rleigh at codelibre.net>, 2015-07-26, 17:22:
>I assume that some other package is providing the 
>-fstack-protector-strong argument

This is dpkg-buildflags:

dpkg (1.17.11) unstable; urgency=low
  [...]
  * Add support for new hardening build flag stackprotectorstrong in Debian
    and derivatives, enabled by default. It will fallback to stackprotector
    when the former is not functional or disabled by the user.
    Thanks to Romain Francoise <rfrancoise at debian.org>.

>and that GCC 4.8 doesn't support it. But I'm not sure that it's an 
>schroot problem

I didn't look at the code, but the changelog says:

schroot (1.7.2-1) experimental; urgency=medium
  [...]
  * debian/rules:
    - Build using g++-4.8, needed for C++11 compatibility until the
      default compiler for all architectures supports C++11.

Now that GCC 4.9 is the default compiler, I guess this change should be 
reverted.

-- 
Jakub Wilk



More information about the Buildd-tools-devel mailing list