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.
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 Log: 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 Changes: head/devel/llvm-devel/Makefile head/devel/llvm38/Makefile head/devel/llvm39/Makefile
I've started a test build to check if it's fixed.
devel/llvm-devel, devel/llvm38, and devel/llvm39 now build as expected.