This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/81400] Stack smashing not caught by stack protector strong and allowing me to stack smash


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't think we should be adding -lssp automatically. 
-mstack-protector-guard=
is meant mainly for kernel or special purpose libraries, libssp.a we build in
gcc is just one of the many possible implementations of the _FORTIFY_SOURCE
etc. stuff, only if the C library doesn't provide that.  The same stuff can
come from many other spots, C libraries, kernel, ...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]