[Bug 203369] [patch] net-mgmt/net-snmp configure fails with world built WITHOUT_SSP

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 26 11:47:40 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203369

            Bug ID: 203369
           Summary: [patch] net-mgmt/net-snmp configure fails with world
                    built WITHOUT_SSP
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: kennethsalerno at yahoo.com
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at FreeBSD.org
          Keywords: patch

Created attachment 161419
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161419&action=edit
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 :).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list