Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2019 09:19:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237275] Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for USES=gssapi
Message-ID:  <bug-237275-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237275

            Bug ID: 237275
           Summary: Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for
                    USES=3Dgssapi
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
                CC: timp87@gmail.com
             Flags: maintainer-feedback?(timp87@gmail.com)
                CC: timp87@gmail.com

Created attachment 203658
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203658&action=
=3Dedit
patch

Setting GSSAPILDFLAGS for USES=3Dgssapi causes -L/usr/lib to be added to LD=
FLAGS.

This breaks compilation of some ports, like www/squid on GCC architectures =
when
new GCC from ports needs to be used.

The new GCC tries to link to libstdc++ and fails. Not setting it explicitely
causes /usr/local/lib/gcc8/libstdc++.so to be taken instead and /usr/lib is
searched for libraries anyway, just with lower priority.

Tested on powerpc64 and amd64 on www/squid.

--=20
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-237275-7788>