[Bug 226972] devel/libds: fails to link with lld as /usr/bin/ld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 27 21:25:37 UTC 2018


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

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Mar 27 21:24:51 UTC 2018
New revision: 465760
URL: https://svnweb.freebsd.org/changeset/ports/465760

Log:
  devel/libds: use BINARY_ALIAS to ensure linker is ld.bfd

  lld has no built-in search paths (/lib, /usr/lib).  Normally the linker
  is invoked from the compiler driver, and the search paths are added by
  the compiler. If lld is invoked directly library search paths must be
  specified explicitly, with -L/lib -L/usr/lib.

  This port does not honour LD or -fuse-ld in CFLAGS via LLD_UNSAFE, but
  BINARY_ALIAS can be used to ensure we use the BFD linker.

  PR:           226972
  Approved by:  portmgr (LLD_UNSAFE blanket)
  Sponsored by: The FreeBSD Foundation

Changes:
  head/devel/libds/Makefile

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


More information about the freebsd-ports-bugs mailing list