[Bug libstdc++/123220] Cannot build support libraries (e.g. libstdc++) with stack protection

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 19 22:20:02 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123220

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> We want to have stack protection everywhere

Then you should just use --enable-default-ssp configure option.

And it is documented too:
https://gcc.gnu.org/install/configure.html

--enable-default-ssp
Turn on -fstack-protector-strong by default.


More information about the Gcc-bugs mailing list