Bug 212312

Summary: devel/llvm38 and later fail on arm64
Product: Ports & Packages Reporter: Andrew Turner <Andrew>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Some People CC: Andrew, emaste
Priority: --- Flags: bugzilla: maintainer-feedback? (brooks)
Version: Latest   
Hardware: arm64   
OS: Any   
Bug Depends on:    
Bug Blocks: 201763    
Description Flags
Build log none

Description Andrew Turner freebsd_committer 2016-09-01 16:52:38 UTC
Created attachment 174293 [details]
Build log

llvm later than 3.8 fail to package on arm64 with failures similar to the following:
pkg-static: Unable to access file /wrkdirs/usr/ports/devel/llvm38/work/stage/usr/local/%%COMPILER_RT%%llvm38/asan_blacklist.txt: No such file or directory

I think we need to define COMPILER_RT to @comment in PLIST_SUB similar to how OPENMP is already done.

This is also an issue in devel/llvm39 and devel/llvm-devel.
Comment 1 commit-hook freebsd_committer 2016-09-01 22:07:04 UTC
A commit references this bug:

Author: brooks
Date: Thu Sep  1 22:06:32 UTC 2016
New revision: 421246
URL: https://svnweb.freebsd.org/changeset/ports/421246

  Attempt to fix build on platforms that don't support COMPILER_RT.

  Make GOLD an amd64-only option (not belived to be a functional change).

  PR:		212312

Comment 2 Andrew Turner freebsd_committer 2016-09-01 23:10:47 UTC
I've started a test build to check if it's fixed.
Comment 3 Andrew Turner freebsd_committer 2016-09-02 15:04:19 UTC
devel/llvm-devel, devel/llvm38, and devel/llvm39 now build as expected.