ninja: Entering directory `out/gn' [1/371] STAMP obj/bolt/unittests/unittests.stamp [2/371] STAMP obj/lld/unittests/unittests.stamp [3/371] STAMP obj/llvm/tools/llvm-lipo/symlinks.stamp [4/371] STAMP obj/llvm/tools/llvm-libtool-darwin/symlinks.stamp [5/371] LINK ./bin/c-arcmt-test [6/371] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [7/371] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [8/371] STAMP obj/bolt/tools/driver/llvm-boltdiff.stamp [9/371] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [10/371] STAMP obj/bolt/tools/driver/perf2bolt.stamp [11/371] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [12/371] STAMP obj/lld/tools/lld/ld64.lld.stamp [13/371] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [14/371] 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' [15/371] STAMP obj/bolt/tools/driver/symlinks.stamp [16/371] STAMP obj/lld/tools/lld/wasm-ld.stamp [17/371] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [18/371] STAMP obj/llvm/tools/llvm-ar/llvm-lib.stamp [19/371] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [20/371] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [21/371] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [22/371] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [23/371] LINK obj/clang/unittests/libclang/libclangTests [24/371] LINK obj/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests [25/371] LINK obj/llvm/unittests/Transforms/Vectorize/VectorizeTests [26/371] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [27/371] LINK obj/llvm/unittests/CGData/CodeGenDataTests [28/371] LINK obj/llvm/unittests/Transforms/IPO/IPOTests [29/371] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [30/371] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [31/371] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [32/371] LINK obj/llvm/unittests/Target/ARM/ARMTests [33/371] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [34/371] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [35/371] LINK obj/llvm/unittests/MC/MCTests [36/371] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [37/371] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [38/371] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [39/371] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [40/371] LINK obj/llvm/unittests/IR/IRTests [41/371] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [42/371] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [43/371] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [44/371] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [45/371] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [46/371] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [47/371] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [48/371] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [49/371] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [50/371] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [51/371] LINK obj/llvm/unittests/MIR/MIRTests [52/371] LINK obj/llvm/unittests/CodeGen/CodeGenTests [53/371] LINK obj/llvm/unittests/MI/MITests [54/371] LINK obj/llvm/unittests/Target/TargetMachineCTests [55/371] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [56/371] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [57/371] CXX obj/clang/lib/CodeGen/CodeGen.LinkInModulesPass.o [58/371] CXX obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o [59/371] CXX obj/clang/unittests/Frontend/FrontendTests.CodeGenActionTest.o [60/371] CXX obj/clang/lib/CodeGen/CodeGen.CodeGenAction.o [61/371] CXX obj/clang/lib/CodeGen/CodeGen.BackendUtil.o [62/371] CXX obj/clang/lib/CodeGen/CodeGen.ObjectFilePCHContainerWriter.o [63/371] CXX obj/clang/lib/CodeGen/CodeGen.CodeGenModule.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.