[Bug 218399] print/gl2ps: LLD linker update to Makefile.lib

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 5 13:54:31 UTC 2017


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

            Bug ID: 218399
           Summary: print/gl2ps: LLD linker update to Makefile.lib
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: araujo at FreeBSD.org
          Reporter: emaste at freebsd.org
            Blocks: 214864
             Flags: maintainer-feedback?(araujo at FreeBSD.org)
          Assignee: araujo at FreeBSD.org

Created attachment 181507
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181507&action=edit
patch to add /usr/lib to link commandline

Makefile.lib sets LDFLAGS like so:

LDFLAGS=       -shared -E -lGL -L${LOCALBASE}/lib -lX11 -lXi -lXmu -lm -lz

The LLD linker does not include default search paths, so /usr/lib has to be
explicitly specified, in addition to /usr/local/lib, as in the attached patch.

This will unblock 101 skipped ports in the LLD exp-run (PR 214864).


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list