[Bug libgcc/77470] libssp may have bad includes
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 11:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77470
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The ssp headers are meant to be used together with -D_FORTIFY_SOURCE{,=2}
-isystem .../include/ssp/
They are meant to override the system stdio.h, string.h and/or unistd.h
headers, which they include as #include_next.
So this looks like a user error, or maybe NetBSD header bug.
Of course, if _FORTIFY_SOURCE support is in your C library, you don't need any
of the libssp headers.
More information about the Gcc-bugs
mailing list