Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 11:47:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203369] [patch] net-mgmt/net-snmp configure fails with world built WITHOUT_SSP
Message-ID:  <bug-203369-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: kennethsalerno@yahoo.com
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203369-13>