ninja: Entering directory `out/gn' [1/468] AR lib/libclangCodeGen.a [2/468] LINK ./bin/clang-import-test [3/468] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [4/468] LINK obj/clang/unittests/Frontend/FrontendTests [5/468] AR lib/liblldbPluginSymbolFileDWARF.a [6/468] AR lib/liblldbPluginTypeSystemClang.a [7/468] AR lib/liblldbPluginCPlusPlusLanguage.a [8/468] LINK ./bin/lldb-server [9/468] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenMCPseudoLowering(//llvm/utils/gn/build/toolchain:unix) [10/467] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenCallingConv(//llvm/utils/gn/build/toolchain:unix) [11/466] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [12/465] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [13/464] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegBankGICombiner(//llvm/utils/gn/build/toolchain:unix) [14/463] ACTION //llvm/lib/Target/AMDGPU:InstCombineTables(//llvm/utils/gn/build/toolchain:unix) [15/463] STAMP obj/llvm/lib/Target/AMDGPU/InstCombineTables.stamp [16/463] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenGlobalISel(//llvm/utils/gn/build/toolchain:unix) [17/463] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPUGenGlobalISel.stamp [18/463] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenDAGISel(//llvm/utils/gn/build/toolchain:unix) [19/463] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPUGenDAGISel.stamp [20/463] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [21/463] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.stamp [22/463] LINK obj/llvm/unittests/Analysis/AnalysisTests [23/463] LINK ./bin/llvm-sim [24/463] LINK ./bin/llvm-stress [25/463] LINK ./bin/llvm-tli-checker [26/463] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [27/463] ACTION //llvm/lib/Target/AMDGPU/Disassembler:AMDGPUGenDisassemblerTables(//llvm/utils/gn/build/toolchain:unix) [28/463] STAMP obj/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUGenDisassemblerTables.stamp [29/463] LINK obj/llvm/unittests/Target/ARM/ARMTests [30/463] LINK obj/llvm/unittests/Target/LoongArch/LoongArchTests [31/463] LINK obj/llvm/unittests/Target/PowerPC/PowerPCTests [32/463] LINK obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests [33/463] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [34/463] LINK obj/llvm/unittests/Target/X86/X86Tests [35/463] LINK obj/llvm/unittests/Transforms/Coroutines/CoroTests [36/463] LINK obj/llvm/unittests/Transforms/IPO/IPOTests [37/463] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [38/463] LINK obj/llvm/unittests/Transforms/Scalar/ScalarTests [39/463] LINK obj/llvm/unittests/Transforms/Vectorize/VectorizeTests [40/463] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [41/463] LINK obj/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests [42/463] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [43/463] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [44/463] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:unix) [45/463] STAMP obj/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUGenMCCodeEmitter.stamp [46/463] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [47/463] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [48/463] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [49/463] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [50/463] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [51/463] LINK obj/llvm/unittests/tools/llvm-mca/LLVMMCATests [52/463] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [53/463] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [54/463] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [55/463] LINK obj/llvm/unittests/Linker/LinkerTests [56/463] LINK obj/llvm/unittests/FuzzMutate/FuzzMutateTests [57/463] LINK obj/llvm/unittests/MC/SystemZ/SystemZAsmLexerTests [58/463] LINK obj/llvm/unittests/MC/X86/X86MCTests [59/463] LINK obj/llvm/unittests/IR/IRTests [60/463] LINK obj/llvm/unittests/SandboxIR/SandboxIRTests [61/463] 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' [62/463] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [63/463] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegisterBank(//llvm/utils/gn/build/toolchain:unix) [64/462] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenAsmWriter(//llvm/utils/gn/build/toolchain:unix) [65/462] ACTION //llvm/lib/Target/AMDGPU/AsmParser:AMDGPUGenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [66/462] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenSubtargetInfo(//llvm/utils/gn/build/toolchain:unix) [67/461] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenInstrInfo(//llvm/utils/gn/build/toolchain:unix) [68/461] ACTION //llvm/lib/Target/AMDGPU/Utils:AMDGPUGenSearchableTables(//llvm/utils/gn/build/toolchain:unix) [69/461] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenRegisterInfo(//llvm/utils/gn/build/toolchain:unix) ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.