On 01/23/2016 02:52 PM, Thomas Klausner wrote:
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.
Thanks.
If I understand the history SSP first appeared in NetBSD 4.0, so this
code really ought to be conditional on NetBSD 4.0 or newer to be
strictly correct.
Unfortunately we don't have much interaction with NetBSD anymore -- so
we have no clue if supporting building on anything before NetBSD 4.0 is
even reasonable or feasible anymore.
Jeff