NetBSD has SSP included in libc: http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/ssp/?only_with_tag=MAIN
gcc/configure does not know about this. The attached patch (against SVN checkout from today) fixes this. I've previously reported this as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68380 but was told that patches should be sent here. Thomas
Index: gcc/configure.ac =================================================================== --- gcc/configure.ac (revision 232768) +++ gcc/configure.ac (working copy) @@ -5480,7 +5480,7 @@ AC_CACHE_CHECK(__stack_chk_fail in target C librar # realistically usable GNU/Hurd configurations. # All supported versions of musl provide it as well gcc_cv_libc_provides_ssp=yes;; - *-*-darwin* | *-*-freebsd*) + *-*-darwin* | *-*-freebsd* | *-*-netbsd*) AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes], [echo "no __stack_chk_fail on this target"]) ;;