ninja: Entering directory `out/gn' [1/645] STAMP obj/llvm/tools/llvm-dwarfutil/llvm-dwarfutil.inputdeps.stamp [2/645] STAMP obj/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.inputdeps.stamp [3/645] STAMP obj/llvm/tools/llvm-debuginfod/llvm-debuginfod.inputdeps.stamp [4/645] STAMP obj/llvm/tools/llvm-exegesis/lib/lib.inputdeps.stamp [5/645] STAMP obj/llvm/tools/llvm-dwp/llvm-dwp.inputdeps.stamp [6/645] AR lib/libLLVMExegesisAArch64.a [7/645] AR lib/libLLVMExegesisMips.a [8/645] STAMP obj/llvm/tools/llvm-exegesis/lib/X86/X86.inputdeps.stamp [9/645] STAMP obj/llvm/tools/llvm-gsymutil/llvm-gsymutil.inputdeps.stamp [10/645] STAMP obj/llvm/tools/llvm-ifs/llvm-ifs.inputdeps.stamp [11/645] STAMP obj/llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.inputdeps.stamp [12/645] STAMP obj/llvm/tools/llvm-ml/llvm-ml.inputdeps.stamp [13/645] STAMP obj/llvm/tools/llvm-objcopy/llvm-objcopy.inputdeps.stamp [14/645] STAMP obj/llvm/tools/llvm-nm/llvm-nm.inputdeps.stamp [15/645] STAMP obj/llvm/tools/llvm-objdump/llvm-objdump.inputdeps.stamp [16/645] STAMP obj/llvm/tools/llvm-readtapi/llvm-readtapi.inputdeps.stamp [17/645] STAMP obj/llvm/tools/llvm-readobj/llvm-readobj.inputdeps.stamp [18/645] STAMP obj/llvm/tools/llvm-rc/llvm-rc.inputdeps.stamp [19/645] STAMP obj/llvm/tools/sancov/sancov.inputdeps.stamp [20/645] 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=x86_64-unknown-linux-gnu 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=X86 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=x86_64-unknown-linux-gnu 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=x86_64 EXEEXT= LLVM_ENABLE_PLUGINS=1 LLVM_LIT_ERRC_MESSAGES= LLVM_PLUGIN_EXT=.so SHLIBEXT=.so HOST_OS=Linux GOLD_EXECUTABLE=ld CMAKE_OSX_SYSROOT= LD64_EXECUTABLE= 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 "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 122, in sys.exit(main()) ^^^^^^ File "/usr/local/google/home/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 "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 70, in repl return values[key] ~~~~~~^^^^^ KeyError: 'ENABLE_BACKTRACES' [21/645] LINK ./bin/llvm-ifs [22/645] LINK ./bin/llvm-debuginfod-find [23/645] LINK ./bin/llvm-debuginfod [24/645] LINK ./bin/llvm-nm [25/645] LINK ./bin/sancov [26/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.Utils.o [27/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceSpecialGlobals.o [28/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.SimplifyInstructions.o [29/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceGlobalVars.o [30/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceInstructions.o [31/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceInstructionFlags.o [32/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceUsingSimplifyCFG.o [33/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.StripDebugInfo.o [34/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceOperandsSkip.o [35/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceOperands.o [36/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceInvokes.o [37/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceInstructionFlagsMIR.o [38/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceIRReferences.o [39/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceRegisterUses.o [40/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceVirtualRegisters.o [41/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceOperandsToArgs.o [42/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceRegisterMasks.o [43/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceMemoryOperations.o [44/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceOperandBundles.o [45/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceMetadata.o [46/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceRegisterDefs.o [47/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceOpcodes.o [48/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.ReduceInstructionsMIR.o [49/645] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.SandboxVectorizerPassBuilder.o [50/645] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/Vectorize.BottomUpVec.o [51/645] CXX obj/llvm/unittests/CodeGen/CodeGenTests.SelectionDAGAddressAnalysisTest.o [52/645] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.Legality.o [53/645] CXX obj/llvm/unittests/CodeGen/CodeGenTests.SchedBoundary.o [54/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.GISelMITest.o [55/645] CXX obj/llvm/tools/llvm-reduce/deltas/llvm-reduce.RunIRPasses.o [56/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.InstructionSelectTest.o [57/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.GISelUtilsTest.o [58/645] CXX obj/llvm/tools/llvm-dwarfutil/llvm-dwarfutil.DebugInfoLinker.o [59/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.LegalizerTest.o [60/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.KnownBitsVectorTest.o [61/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.ParallelSnippetGenerator.o [62/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.MachineIRBuilderTest.o [63/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SerialSnippetGenerator.o [64/645] CXX obj/llvm/unittests/CodeGen/CodeGenTests.SelectionDAGPatternMatchTest.o [65/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.BenchmarkResult.o [66/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.LatencyBenchmarkRunner.o [67/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.UopsBenchmarkRunner.o [68/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.PatternMatchTest.o [69/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.LlvmState.o [70/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.LegalizerInfoTest.o [71/645] CXX obj/llvm/tools/llvm-exegesis/lib/PowerPC/PowerPC.Target.o [72/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.Target.o [73/645] CXX obj/llvm/tools/opt/lib.optdriver.o [74/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetRepetitor.o [75/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.KnownBitsTest.o [76/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetFile.o [77/645] CXX obj/llvm/tools/lto/lto.lto.o [78/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetGenerator.o [79/645] CXX obj/llvm/tools/llvm-exegesis/lib/RISCV/RISCV.Target.o [80/645] CXX obj/llvm/tools/opt/lib.NewPMDriver.o [81/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.BenchmarkRunner.o [82/645] CXX obj/llvm/tools/llvm-exegesis/lib/X86/X86.Target.o [83/645] CXX obj/llvm/tools/llvm-exegesis/lib/lib.Assembler.o [84/645] CXX obj/llvm/tools/llvm-exegesis/llvm-exegesis.llvm-exegesis.o [85/645] CXX obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests.LegalizerHelperTest.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.