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

Roger Leigh rleigh at codelibre.net
Sun Jul 26 17:22:37 UTC 2015


On 18/06/2015 11:30, Jakub Wilk wrote:
> Source: schroot
> Version: 1.7.2-2
> Severity: serious
> Justification: fails to build from source
>
> schroot FTBFS:
> | cd debian/build/gtest/ ; \
> |   CXX="g++-4.8 -std=c++11" cmake /usr/src/gtest ; \
> |   /usr/bin/make VERBOSE=1
> | -- The CXX compiler identification is unknown
> | -- The C compiler identification is GNU 4.9.2
> | -- Check for working CXX compiler: /usr/bin/g++-4.8
> | -- Check for working CXX compiler: /usr/bin/g++-4.8 -- broken
[...]
> |   g++-4.8: error: unrecognized command line option
> '-fstack-protector-strong'

Was this a historical issue on the buildds e.g. still using GCC 4.8 with 
a newer hardening-wrapper?  I can't reproduce in current unstable.

I assume that some other package is providing the 
-fstack-protector-strong argument and that GCC 4.8 doesn't support it. 
But I'm not sure that it's an schroot problem unless there is some 
versioned build dependency that needs correcting?  Or is it a dependency 
problem is some part of build-essential?


Regards,
Roger



More information about the Buildd-tools-devel mailing list