Created attachment 161419 [details] patch to remove -lssp_nonshared Makefile for port net-snmp unnecessarily enforces inclusion of -lssp_nonshared which 1) is always included by default via /usr/lib/libc.so (see below), and 2) /usr/lib/libssp_nonshared.a is not present on worlds built WITHOUT_SSP causing configure to fail with "cc cannot build binaries". If you examine your /usr/lib/libc.so: > cat /usr/lib/libc.so /* $FreeBSD: releng/10.1/lib/libc/libc.ldscript 258398 2013-11-20 20:24:59Z peter $ */ GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonshared.a ) -lssp_nonshared will always be included during linking unless a user, such as myself, has removed it from libc.so for their own reasons so please do not force it back in :).
A commit references this bug: Author: zi Date: Sat Sep 26 14:21:40 UTC 2015 New revision: 397981 URL: https://svnweb.freebsd.org/changeset/ports/397981 Log: - Honor WITHOUT_SSP PR: 203369 Submitted by: Kenneth Salerno <kennethsalerno@yahoo.com> Changes: head/net-mgmt/net-snmp/Makefile