[Bug target/66491] x86_64 target cross-compiler generates stack protector code unsuitable for the Linux kernel if the compiler wasn't built against a C library

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 19 11:19:00 GMT 2016


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.


More information about the Gcc-bugs mailing list