Bug 214932 - devel/llvm-devel: please install ld.lld-devel
Summary: devel/llvm-devel: please install ld.lld-devel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-29 20:00 UTC by Ed Maste
Modified: 2016-12-07 20:10 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 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 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