Created attachment 174293 [details]
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.
A commit references this bug:
Date: Thu Sep 1 22:06:32 UTC 2016
New revision: 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).
I've started a test build to check if it's fixed.
devel/llvm-devel, devel/llvm38, and devel/llvm39 now build as expected.