Bug 214932

Summary: devel/llvm-devel: please install ld.lld-devel
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (brooks)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ed Maste freebsd_committer freebsd_triage 2016-11-29 20:00:34 UTC
lld uses argv[0] to determine the operating mode, and expects ld.lld[suffix] to operate in GNU ld mode, for Clang's -fuse-ld= arg.

For example,

% sudo cp /usr/local/bin/lld-devel /usr/local/bin/ld.lld-devel
% cc -fuse-ld=lld-devel hello.c   
% ./a.out
Hello, world.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-12-07 20:03:59 UTC
A commit references this bug:

Author: brooks
Date: Wed Dec  7 20:03:42 UTC 2016
New revision: 428083
URL: https://svnweb.freebsd.org/changeset/ports/428083

Log:
  Update to a fresh snapshot.

  Install bin/ld.lld-devel.

  PR:		214932
  Sponsored by:	DARPA, AFRL

Changes:
  head/devel/llvm-devel/Makefile
  head/devel/llvm-devel/Makefile.snapshot
  head/devel/llvm-devel/distinfo
  head/devel/llvm-devel/pkg-plist