Updating/compiling devel/llvm38 fails due to the error shown below. Host is running FreeBSD 12.0-CURRENT #10 r318970: Sat May 27 01:35:07 CEST 2017 amd64, WITH_LLD_IS_LD=yes set: [...] In file included from /usr/ports/devel/llvm38/work/compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:56: /usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] #warning "this file includes <sys/timeb.h> which is deprecated" ^ /usr/ports/devel/llvm38/work/compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1019:1: error: 'assertion_failed__1019' declared as an array with a negative size CHECK_SIZE_AND_OFFSET(dirent, d_ino);
A commit references this bug: Author: brooks Date: Tue May 30 18:14:45 UTC 2017 New revision: 442109 URL: https://svnweb.freebsd.org/changeset/ports/442109 Log: Apply ino64 patches. PR: 219601 Changes: head/devel/llvm38/Makefile head/devel/llvm38/files/compiler-rt-patch-canonical-syscalls head/devel/llvm38/files/compiler-rt-patch-ino64
The assertion looks like a wrongly sized dirent entry which the ino64 patches from kib@ addresses.