[32/351] Building CXX object lib/sanit...r/sanitizer_platform_limits_posix.cc.o FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cc.o /usr/bin/c++ -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -O2 -pipe -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wall -std=c++11 -Wno-unused-parameter -O2 -pipe -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Wall -std=c++11 -Wno-unused-parameter -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -Wglobal-constructors -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cc.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cc.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cc.o -c /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc In file included from /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.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" ^ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1024:1: error: 'assertion_failed__1024' declared as an array with a negative size CHECK_SIZE_AND_OFFSET(dirent, d_ino); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1382:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET' COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_internal_defs.h:257:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_internal_defs.h:263:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1032:1: error: 'assertion_failed__1032' declared as an array with a negative size CHECK_SIZE_AND_OFFSET(dirent, d_reclen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1384:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET' COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_internal_defs.h:257:30: note: expanded from macro 'COMPILER_CHECK' #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/wrkdir/amd64/usr/ports/devel/llvm39/work/compiler-rt-3.9.1.src/lib/sanitizer_common/sanitizer_internal_defs.h:263:57: note: expanded from macro 'IMPL_COMPILER_ASSERT' typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^~~~~~~~~~~~~~~ 1 warning and 2 errors generated. [36/351] Building CXX object lib/asan/...ynamic.i386.dir/asan_interceptors.cc.o ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/llvm39 *** Error code 1 Stop. make: stopped in /usr/ports/devel/llvm39 slippy#
A commit references this bug: Author: brooks Date: Wed May 24 23:15:01 UTC 2017 New revision: 441627 URL: https://svnweb.freebsd.org/changeset/ports/441627 Log: Adapt to ino64 changes.[0] Bump dependencies to allow python 3 support.[1] PR: 219502 [0], 219222 [1] Submitted by: kib [0], Daniel Ylitalo <daniel@blodan.se> [1] Reviewed by: emaste [0] Differential Revision: https://reviews.freebsd.org/D10796 Changes: head/devel/llvm39/Makefile head/devel/llvm39/files/compiler-rt-patch-canonical-syscalls head/devel/llvm39/files/compiler-rt-patch-ino64 head/devel/llvm39/pkg-plist
I've committed modified patched from kib@ for known broken versions.