ninja: Entering directory `out/gn' [1/532] STAMP obj/llvm/tools/llvm-c-test/llvm-c-test.inputdeps.stamp [2/532] STAMP obj/llvm/tools/llvm-cxxdump/llvm-cxxdump.inputdeps.stamp [3/532] STAMP obj/llvm/tools/llvm-cov/llvm-cov.inputdeps.stamp [4/532] STAMP obj/llvm/tools/llvm-cfi-verify/lib/lib.inputdeps.stamp [5/532] STAMP obj/llvm/tools/llvm-debuginfo-analyzer/llvm-debuginfo-analyzer.inputdeps.stamp [6/532] ACTION //llvm/tools/llvm-cgdata:Opts(//llvm/utils/gn/build/toolchain:unix) [7/530] ACTION //llvm/tools/llvm-cxxfilt:Opts(//llvm/utils/gn/build/toolchain:unix) [8/526] ACTION //llvm/tools/llvm-debuginfod-find:Opts(//llvm/utils/gn/build/toolchain:unix) [9/524] ACTION //llvm/tools/llvm-cvtres:Opts(//llvm/utils/gn/build/toolchain:unix) [10/522] ACTION //llvm/tools/llvm-debuginfod:Opts(//llvm/utils/gn/build/toolchain:unix) [11/520] STAMP obj/llvm/tools/llvm-diff/lib/lib.inputdeps.stamp [12/520] STAMP obj/llvm/tools/llvm-cgdata/llvm-cgdata.inputdeps.stamp [13/520] STAMP obj/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.inputdeps.stamp [14/520] STAMP obj/llvm/tools/llvm-debuginfod/llvm-debuginfod.inputdeps.stamp [15/520] LINK ./bin/llvm-ctxprof-util [16/520] LINK ./bin/llvm-cov [17/520] LINK ./bin/llvm-cvtres [18/520] LINK ./bin/llvm-debuginfod-find [19/520] LINK ./bin/llvm-debuginfod [20/520] STAMP obj/llvm/tools/llvm-dwarfutil/llvm-dwarfutil.inputdeps.stamp [21/520] STAMP obj/llvm/tools/llvm-debuginfod-find/symlinks.stamp [22/520] STAMP obj/llvm/tools/llvm-debuginfod/symlinks.stamp [23/520] STAMP obj/llvm/tools/llvm-dwp/llvm-dwp.inputdeps.stamp [24/520] LINK ./bin/llvm-as [25/520] LINK ./bin/llvm-cgdata [26/520] LINK ./bin/llvm-cat [27/520] LINK ./bin/llvm-dis [28/520] CXX obj/llvm/tools/llvm-diff/lib/lib.DiffConsumer.o [29/520] ACTION //llvm/tools/llvm-gsymutil:Opts(//llvm/utils/gn/build/toolchain:unix) [30/518] STAMP obj/llvm/tools/llvm-gsymutil/llvm-gsymutil.inputdeps.stamp [31/518] ACTION //llvm/tools/llvm-ifs:Opts(//llvm/utils/gn/build/toolchain:unix) [32/516] STAMP obj/llvm/tools/llvm-ifs/llvm-ifs.inputdeps.stamp [33/516] LINK ./bin/llvm-ifs [34/516] STAMP obj/llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.inputdeps.stamp [35/516] ACTION //llvm/tools/llvm-exegesis/lib/RISCV:RISCVGenExegesis(//llvm/utils/gn/build/toolchain:unix) [36/515] ACTION //llvm/tools/llvm-exegesis/lib/X86:X86GenExegesis(//llvm/utils/gn/build/toolchain:unix) [37/514] STAMP obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests.inputdeps.stamp [38/514] CXX obj/llvm/tools/llvm-diff/lib/lib.DifferenceEngine.o [39/514] CXX obj/llvm/tools/llvm-exegesis/lib/PowerPC/PowerPC.Target.o [40/514] STAMP obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.inputdeps.stamp [41/514] CXX obj/llvm/tools/llvm-exegesis/lib/Mips/Mips.Target.o [42/514] CXX obj/llvm/tools/llvm-exegesis/lib/AArch64/AArch64.Target.o [43/514] CXX obj/llvm/tools/llvm-dwarfutil/llvm-dwarfutil.DebugInfoLinker.o [44/514] CXX obj/llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.llvm-isel-fuzzer.o [45/514] STAMP obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.inputdeps.stamp [46/514] CXX obj/llvm/tools/llvm-extract/llvm-extract.llvm-extract.o [47/514] CXX obj/llvm/tools/dsymutil/dsymutil.dsymutil.o [48/514] STAMP obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests.inputdeps.stamp [49/514] CXX obj/llvm/tools/llvm-exegesis/lib/RISCV/RISCV.Target.o [50/514] CXX obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests.BenchmarkRunnerTest.o [51/514] STAMP obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.inputdeps.stamp [52/514] CXX obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests.TargetTest.o [53/514] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.RegisterAliasingTest.o [54/514] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.BenchmarkResultTest.o [55/514] CXX obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.TargetTest.o [56/514] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.TargetTest.o [57/514] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.SnippetGeneratorTest.o [58/514] AR lib/libLLVMDiff.a [59/514] LINK ./bin/llvm-diff [60/514] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.RegisterAliasingTest.o [61/514] STAMP obj/llvm/tools/llvm-exegesis/lib/lib.inputdeps.stamp [62/514] CXX obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.SnippetGeneratorTest.o [63/514] CXX obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests.SnippetGeneratorTest.o [64/514] CXX obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests.TargetTest.o [65/514] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.BenchmarkResultTest.o [66/514] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.SnippetFileTest.o [67/514] CXX obj/llvm/tools/llvm-exegesis/lib/lib.BenchmarkResult.o [68/514] CXX obj/llvm/tools/llvm-exegesis/lib/lib.LatencyBenchmarkRunner.o [69/514] CXX obj/llvm/tools/llvm-exegesis/lib/lib.BenchmarkRunner.o [70/514] CXX obj/llvm/tools/llvm-exegesis/lib/lib.LlvmState.o [71/514] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.SnippetRepetitorTest.o [72/514] CXX obj/llvm/tools/llvm-exegesis/lib/lib.Assembler.o [73/514] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.SnippetGeneratorTest.o [74/514] AR lib/libLLVMExegesisAArch64.a [75/514] AR lib/libLLVMExegesisMips.a [76/514] AR lib/libLLVMExegesisPowerPC.a [77/514] AR lib/libLLVMExegesisRISCV.a [78/514] STAMP obj/llvm/tools/llvm-exegesis/lib/X86/X86.inputdeps.stamp [79/514] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.TargetTest.o [80/514] STAMP obj/llvm/tools/llvm-jitlink/llvm-jitlink.inputdeps.stamp [81/514] CXX obj/llvm/tools/llvm-exegesis/llvm-exegesis.llvm-exegesis.o [82/514] ACTION //llvm/tools/llvm-libtool-darwin:Opts(//llvm/utils/gn/build/toolchain:unix) [83/512] STAMP obj/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.inputdeps.stamp [84/512] ACTION //llvm/tools/llvm-lipo:LipoOpts(//llvm/utils/gn/build/toolchain:unix) [85/510] STAMP obj/llvm/tools/llvm-lipo/llvm-lipo.inputdeps.stamp [86/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.ParallelSnippetGenerator.o [87/510] STAMP obj/llvm/tools/llvm-mc/llvm-mc.inputdeps.stamp [88/510] ACTION //llvm/test:lit_site_cfg(//llvm/utils/gn/build/toolchain:unix) FAILED: gen/llvm/test/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/llvm/test/lit.site.cfg.py ../../llvm/test/lit.site.cfg.py.in LIT_SITE_CFG_IN_HEADER=\#\#\ Autogenerated\ from\ //llvm/test/lit.site.cfg.py.in,\ do\ not\ edit\\n\\n\#\ Takes\ a\ path\ that\'s\ relative\ to\ __file__\ and\ makes\ it\ absolute.\\ndef\ path\(p\):\\n\ \ \ \ return\ os.path.abspath\(os.path.join\(__file__,\ \'..\',\ p\)\)\ if\ p\ else\ \'\' LLVM_BINARY_DIR=../../../obj/llvm LLVM_SOURCE_DIR=../../../../../llvm LLVM_TOOLS_DIR=../../../bin SHLIBDIR=../../../lib BUILD_SHARED_LIBS=0 HOST_CC=cc HOST_CXX=c++ HOST_LDFLAGS= LLVM_APPEND_VC_REV=0 LLVM_ENABLE_FFI=0 LLVM_ENABLE_HTTPLIB=0 LLVM_FORCE_VC_REVISION= LLVM_HAS_LOGF128=0 LLVM_HAVE_OPT_VIEWER_MODULES=0 LLVM_HOST_TRIPLE=arm64-apple-darwin LLVM_INCLUDE_DXIL_TESTS=0 LLVM_INCLUDE_SPIRV_TOOLS_TESTS=0 LLVM_LIBS_DIR=../../../lib LLVM_LINK_LLVM_DYLIB=0 LLVM_LIT_TOOLS_DIR= LLVM_NATIVE_ARCH=AArch64 LLVM_TOOL_LLVM_DRIVER_BUILD=0 LLVM_USE_INTEL_JITEVENTS=0 LLVM_USE_SANITIZER= LLVM_VERSION_MAJOR=20 LLVM_VERSION_MINOR=0 LLVM_VERSION_SUFFIX=git Python3_EXECUTABLE=python3 TARGETS_TO_BUILD=AArch64\ AMDGPU\ ARM\ AVR\ BPF\ Hexagon\ Lanai\ LoongArch\ Mips\ NVPTX\ PowerPC\ RISCV\ Sparc\ SystemZ\ WebAssembly\ X86 LLVM_TARGET_TRIPLE=arm64-apple-darwin LLVM_LIBCXX_USED=0 LLVM_BINDINGS= LLVM_BYE_LINK_INTO_TOOLS=0 LLVM_EXAMPLEIRTRANSFORMS_LINK_INTO_TOOLS=0 HAVE_OCAMLOPT=0 OCAMLFIND=OCAMLFIND-NOTFOUND OCAMLFLAGS= LLVM_BUILD_EXAMPLES=0 LLVM_HAVE_TF_AOT=0 LLVM_HAVE_TFLITE=0 LLVM_INLINER_MODEL_AUTOGENERATED=0 LLVM_RAEVICT_MODEL_AUTOGENERATED=0 PTXAS_EXECUTABLE= HOST_ARCH=arm64 EXEEXT= LLVM_ENABLE_PLUGINS=1 LLVM_LIT_ERRC_MESSAGES= LLVM_PLUGIN_EXT=.dylib SHLIBEXT=.dylib HOST_OS=Darwin GOLD_EXECUTABLE= CMAKE_OSX_SYSROOT=../../../../../sysroot/MacOSX.sdk LD64_EXECUTABLE=ld ENABLE_ASSERTIONS=1 LLVM_ENABLE_DIA_SDK=0 LLVM_ENABLE_LIBXML2=1 LLVM_ENABLE_EXPENSIVE_CHECKS=0 LLVM_ENABLE_THREADS=1 LLVM_ENABLE_ZLIB=1 LLVM_ENABLE_ZSTD=0 LLVM_ENABLE_CURL=0 LLVM_ENABLE_REVERSE_ITERATION=0 Traceback (most recent call last): File "/Users/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 122, in sys.exit(main()) File "/Users/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 72, in main in_line = var_re.sub(repl, in_line) File "/Users/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 70, in repl return values[key] KeyError: 'ENABLE_BACKTRACES' [89/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SerialSnippetGenerator.o [90/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.Target.o [91/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetGenerator.o [92/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetFile.o [93/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetRepetitor.o [94/510] CXX obj/llvm/tools/llvm-exegesis/lib/lib.UopsBenchmarkRunner.o [95/510] CXX obj/llvm/tools/llvm-exegesis/lib/X86/X86.Target.o [96/510] CXX obj/llvm/tools/llvm-lto2/llvm-lto2.llvm-lto2.o [97/510] CXX obj/llvm/tools/llvm-lto/llvm-lto.llvm-lto.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.