ninja: Entering directory `out/gn' [1/912] ACTION //llvm/include/llvm/TargetParser:RISCVTargetParserDef(//llvm/utils/gn/build/toolchain:unix) [2/471] ACTION //llvm/tools/llvm-exegesis/lib/RISCV:RISCVGenExegesis(//llvm/utils/gn/build/toolchain:unix) [3/470] ACTION //llvm/lib/Target/RISCV:RISCVGenRegisterBank(//llvm/utils/gn/build/toolchain:unix) [4/469] ACTION //llvm/lib/Target/RISCV/Disassembler:RISCVGenDisassemblerTables(//llvm/utils/gn/build/toolchain:unix) [5/468] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenAsmWriter(//llvm/utils/gn/build/toolchain:unix) [6/467] ACTION //llvm/lib/Target/RISCV:RISCVGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [7/466] ACTION //llvm/lib/Target/RISCV:RISCVGenO0PreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [8/465] ACTION //llvm/lib/Target/RISCV:RISCVGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [9/464] ACTION //llvm/lib/Target/RISCV/AsmParser:RISCVGenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [10/463] ACTION //llvm/lib/Target/RISCV:RISCVGenCompressInstEmitter(//llvm/utils/gn/build/toolchain:unix) [11/462] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenRegisterInfo(//llvm/utils/gn/build/toolchain:unix) [12/461] ACTION //llvm/lib/Target/RISCV:RISCVGenMCPseudoLowering(//llvm/utils/gn/build/toolchain:unix) [13/460] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:unix) [14/459] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenSearchableTables(//llvm/utils/gn/build/toolchain:unix) [15/458] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenSubtargetInfo(//llvm/utils/gn/build/toolchain:unix) [16/457] ACTION //llvm/lib/Target/RISCV:RISCVGenMacroFusion(//llvm/utils/gn/build/toolchain:unix) [17/456] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenInstrInfo(//llvm/utils/gn/build/toolchain:unix) [18/346] ACTION //llvm/lib/Target/RISCV:RISCVGenGlobalISel(//llvm/utils/gn/build/toolchain:unix) [19/344] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.ForwardDeclChecker.o [20/344] ACTION //llvm/lib/Target/RISCV:RISCVGenDAGISel(//llvm/utils/gn/build/toolchain:unix) [21/192] AR lib/libclangStaticAnalyzerCheckers.a [22/192] LINK ./bin/clang-scan-deps [23/192] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [24/192] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [25/192] LINK obj/clang/unittests/Frontend/FrontendTests [26/192] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [27/192] LINK ./bin/clangd [28/192] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [29/192] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [30/192] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [31/192] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [32/192] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [33/192] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [34/192] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [35/192] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [36/192] LINK ./bin/clangd-xpc-test-client [37/192] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [38/192] STAMP obj/clang-tools-extra/unittests/unittests.stamp [39/192] LINK ./bin/dexp [40/192] LINK obj/clang/unittests/Tooling/ToolingTests [41/192] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [42/192] STAMP obj/clang/unittests/unittests.stamp [43/192] LINK ./bin/clang [44/192] LINK ./bin/clang-repl [45/192] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [46/192] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [47/192] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [48/192] LINK ./bin/clangd-indexer [49/192] STAMP obj/clang/tools/driver/clangxx.stamp [50/192] STAMP obj/clang/tools/driver/clang-cpp.stamp [51/192] STAMP obj/clang/tools/driver/clang-cl.stamp [52/192] LINK ./bin/clang-tidy [53/192] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [54/192] STAMP obj/clang/tools/driver/symlinks.stamp [55/192] STAMP obj/clang-tools-extra/clangd/test/test.stamp [56/192] LINK ./bin/clang-check [57/192] STAMP obj/lldb/test/test.stamp [58/192] STAMP obj/clang-tools-extra/test/test.stamp [59/192] STAMP obj/bolt/test/test.stamp [60/192] STAMP obj/clang.stamp [61/192] STAMP obj/clang/test/test.stamp [62/192] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [63/192] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [64/192] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [65/192] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [66/192] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [67/192] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [68/192] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [69/192] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [70/192] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [71/191] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [72/190] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [73/189] CXX stage2_unix/obj/compiler-rt/lib/lsan/common_sources.lsan_common_linux.o [74/189] CXX stage2_unix/obj/compiler-rt/lib/lsan/common_sources.lsan_common_fuchsia.o [75/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_allocator_report.o [76/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_common_libcdep.o [77/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_coverage_libcdep_new.o [78/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_common.o [79/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_deadlock_detector2.o [80/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/cxx_sources.tsan_new_delete.o [81/189] CXX stage2_unix/obj/compiler-rt/lib/lsan/common_sources.lsan_common_mac.o [82/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_mac_libcdep.o [83/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_libignore.o [84/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_platform_limits_posix.o [85/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_allocator.o [86/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_libc.o [87/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_posix.o [88/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_stacktrace_libcdep.o [89/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_stacktrace_printer.o [90/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_posix_libcdep.o [91/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer.o [92/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer_libbacktrace.o [93/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_deadlock_detector1.o [94/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_suppressions.o [95/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_procmaps_mac.o [96/189] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/cxx_sources.stamp [97/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer_mac.o [98/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_tls_get_addr.o [99/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer_markup.o [100/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer_report.o [101/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interceptors_memintrinsics.o [102/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer_posix_libcdep.o [103/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_flags.o [104/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_external.o [105/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interface.o [106/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_fd.o [107/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_mac.o ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 856 | os_trace("Address Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 856 | os_trace("Address Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 856 | os_trace("Address Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^~~~~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: note: read of non-const variable 'count' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:856:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:59:17: note: expanded from macro 'OS_TRACE_CALL' 59 | uint8_t count = *p++; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 859 | os_trace("Undefined Behavior Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 859 | os_trace("Undefined Behavior Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 859 | os_trace("Undefined Behavior Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^~~~~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: note: read of non-const variable 'count' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:859:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:59:17: note: expanded from macro 'OS_TRACE_CALL' 59 | uint8_t count = *p++; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 862 | os_trace("Thread Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 862 | os_trace("Thread Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 862 | os_trace("Thread Sanitizer reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^~~~~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: note: read of non-const variable 'count' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:862:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:59:17: note: expanded from macro 'OS_TRACE_CALL' 59 | uint8_t count = *p++; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 864 | os_trace("Sanitizer tool reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 864 | os_trace("Sanitizer tool reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 864 | os_trace("Sanitizer tool reported a failure."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^~~~~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: note: read of non-const variable 'count' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:864:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:59:17: note: expanded from macro 'OS_TRACE_CALL' 59 | uint8_t count = *p++; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 867 | os_trace("Consult syslog for more information."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:53:45: note: expanded from macro 'OS_TRACE_CALL' 53 | OS_TRACE_UNINITIALIZED uint8_t _buf[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 867 | os_trace("Consult syslog for more information."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: note: read of non-const variable '__size' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:56:43: note: expanded from macro 'OS_TRACE_CALL' 56 | OS_TRACE_UNINITIALIZED uint8_t tb[__size]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:52:18: note: expanded from macro 'OS_TRACE_CALL' 52 | uint32_t __size = (uint32_t)__builtin_os_log_format_buffer_size(_f, ##__VA_ARGS__); \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 867 | os_trace("Consult syslog for more information."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^~~~~~~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: note: read of non-const variable 'count' is not allowed in a constant expression ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:60:25: note: expanded from macro 'OS_TRACE_CALL' 60 | uint8_t trailer[count + 1]; \ | ^ ../../compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:867:7: note: declared here ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:220:31: note: expanded from macro 'os_trace' 220 | #define os_trace(format, ...) OS_TRACE_CALL(OS_TRACE_TYPE_RELEASE, NULL, format, ##__VA_ARGS__) | ^ ../../sysroot/MacOSX.sdk/usr/include/os/trace.h:59:17: note: expanded from macro 'OS_TRACE_CALL' 59 | uint8_t count = *p++; \ | ^ 15 warnings generated. [108/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_debugging.o [109/189] CXX stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.sanitizer_symbolizer_libcdep.o [110/189] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.stamp [111/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interface_java.o [112/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_mutexset.o [113/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interface_ann.o [114/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_malloc_mac.o [115/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_report.o [116/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_rtl_proc.o [117/189] CXX stage2_unix/obj/compiler-rt/lib/lsan/common_sources.lsan_common.o ../../compiler-rt/lib/lsan/lsan_common.cpp:808:11: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'unsigned long long' [-Wformat] 807 | "Running thread %zu was not suspended. False leaks are possible.\n", | ~~~ | %llu 808 | os_id); | ^~~~~ 1 warning generated. [118/189] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.stamp [119/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_stack_trace.o [120/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interceptors_posix.o FAILED: stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interceptors_posix.o ./bin/clang++ -MMD -MF stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interceptors_posix.o.d -o stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interceptors_posix.o -c ../../compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp -I../../compiler-rt/lib -fPIE -fblocks -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -Wpoison-system-directories -Wcovered-switch-default -fno-builtin -gline-tables-only -fPIC -funwind-tables -fvisibility=hidden -Werror=thread-safety -Werror=thread-safety-reference -Werror=thread-safety-beta -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:2588: ../../compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:10290:36: error: invalid application of 'sizeof' to an incomplete type '__sanitizer_servent' 10290 | sizeof(__sanitizer_servent)); | ^ ~~~~~~~~~~~~~~~~~~~~~ ../../compiler-rt/lib/tsan/rtl/tsan_interceptors.h:118:69: note: expanded from macro 'COMMON_INTERCEPTOR_WRITE_RANGE' 118 | ((TsanInterceptorContext *)ctx)->pc, (uptr)ptr, size, \ | ^~~~ ../../compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc:10283:32: note: forward declaration of '__sanitizer_servent' 10283 | void *ctx, int res, struct __sanitizer_servent *result_buf, char *buf, | ^ 1 error generated. [121/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_suppressions.o [122/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_rtl_thread.o [123/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_symbolize.o [124/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_rtl_mutex.o [125/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_mman.o [126/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_rtl.o [127/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_interface_atomic.o [128/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_rtl_report.o [129/189] CXX stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.tsan_rtl_access.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.