ninja: Entering directory `out/gn' [1/4098] AR lib/libclangTesting.a [2/4098] AR lib/libLLVMTransformUtils.a [3/4098] AR lib/libLLVMBitWriter.a [4/4098] 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' [5/4098] SOLINK ./lib/BugpointPasses.so [6/4098] LINK ./bin/llvm-remarkutil [7/4098] LINK ./bin/llvm-dis [8/4098] LINK ./bin/llvm-profdata [9/4098] LINK obj/llvm/unittests/Bitcode/BitcodeTests [10/4098] LINK ./bin/llvm-cov [11/4098] LINK ./bin/llvm-pdbutil [12/4098] CXX obj/llvm/tools/llvm-diff/lib/lib.DiffConsumer.o [13/4098] CXX obj/llvm/tools/llvm-diff/lib/lib.DifferenceEngine.o [14/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.GlobalsModRefTest.o [15/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.InstrMaps.o [16/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.SandboxVectorizer.o [17/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.AliasSetTrackerTest.o [18/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/Vectorize.RegionsFromMetadata.o [19/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.BlockFrequencyInfoTest.o [20/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.LoadsTest.o [21/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.Interval.o [22/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.BasicAliasAnalysisTest.o [23/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.GraphWriterTest.o [24/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanUtils.o [25/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.InlineCostTest.o [26/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.VecUtils.o [27/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.AliasAnalysisTest.o [28/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.IVDescriptorsTest.o [29/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.LoopNestTest.o [30/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.LoopIdiomVectorize.o [31/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.SandboxVectorizerPassBuilder.o [32/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.SeedCollector.o [33/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.Scheduler.o [34/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanSLP.o [35/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanHCFGBuilder.o [36/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.DependencyGraph.o [37/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Vectorize.Legality.o [38/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.AssumeBundleQueriesTest.o [39/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanVerifier.o [40/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanUnroll.o [41/4098] CXX obj/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/Vectorize.BottomUpVec.o [42/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanAnalysis.o [43/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.LoopInfoTest.o [44/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.LastRunTrackingAnalysisTest.o [45/4098] CXX obj/clang/lib/ASTMatchers/Dynamic/Dynamic.Parser.o [46/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.LoadStoreVectorizer.o [47/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.LoopVectorizationLegality.o [48/4098] CXX obj/clang/lib/ASTMatchers/Dynamic/Dynamic.Diagnostics.o [49/4098] CXX obj/clang/lib/ASTMatchers/Dynamic/Dynamic.VariantValue.o [50/4098] CXX obj/clang/lib/ASTMatchers/Dynamic/Dynamic.Marshallers.o [51/4098] CXX obj/clang/lib/Analysis/FlowSensitive/Models/Models.ChromiumCheckModel.o [52/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.IRSimilarityIdentifierTest.o [53/4098] CXX obj/clang/lib/Analysis/FlowSensitive/FlowSensitive.SmartPointerAccessorCaching.o [54/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanRecipes.o [55/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VectorCombine.o [56/4098] CXX obj/clang/lib/ASTMatchers/ASTMatchers.GtestMatchers.o [57/4098] CXX obj/clang/lib/Analysis/Analysis.RetainSummaryManager.o [58/4098] CXX obj/clang/lib/Analysis/FlowSensitive/FlowSensitive.Transfer.o [59/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlan.o [60/4098] CXX obj/llvm/unittests/Analysis/AnalysisTests.LazyCallGraphTest.o [61/4098] CXX obj/clang/lib/ASTMatchers/ASTMatchers.ASTMatchersInternal.o [62/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.VPlanTransforms.o [63/4098] CXX obj/clang/lib/Analysis/FlowSensitive/Models/Models.UncheckedOptionalAccessModel.o [64/4098] CXX obj/clang/lib/Analysis/Analysis.ExprMutationAnalyzer.o [65/4098] CXX obj/clang/lib/Analysis/Analysis.UnsafeBufferUsage.o [66/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.LoopVectorize.o [67/4098] CXX obj/clang/lib/ASTMatchers/ASTMatchers.ASTMatchFinder.o [68/4098] CXX obj/llvm/lib/Transforms/Vectorize/Vectorize.SLPVectorizer.o [69/4098] CXX obj/clang/lib/ASTMatchers/Dynamic/Dynamic.Registry.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.