https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66491
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is how I build my gcc that is not building against a libc: # glibc will provide ssp as it is new enough gcc_cv_libc_provides_ssp=yes ${PMAKE} configure-gcc || return 1 This is after doing configure too.