ninja: Entering directory `out/gn' [1/506] AR lib/libLLVMAnalysis.a [2/506] LINK ./bin/llvm-sim [3/506] LINK obj/clang/unittests/InstallAPI/InstallAPITests [4/506] LINK ./bin/lli-child-target [5/506] LINK ./bin/clang-offload-bundler [6/506] LINK ./bin/llvm-tli-checker [7/506] LINK ./bin/llvm-modextract [8/506] LINK ./bin/llvm-stress [9/506] LINK ./bin/llvm-as [10/506] LINK ./bin/clang-apply-replacements [11/506] LINK ./bin/llvm-cat [12/506] LINK ./bin/llvm-cgdata [13/506] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [14/506] LINK ./bin/llvm-link [15/506] LINK obj/clang/unittests/Format/FormatTests [16/506] LINK ./bin/verify-uselistorder [17/506] LINK obj/llvm/unittests/Bitcode/BitcodeTests [18/506] LINK obj/llvm/unittests/Linker/LinkerTests [19/506] LINK ./bin/llvm-nm [20/506] STAMP obj/llvm/tools/llvm-nm/symlinks.stamp [21/506] LINK obj/clang/unittests/Lex/LexTests [22/506] LINK ./bin/llvm-dwarfdump [23/506] LINK ./bin/find-all-symbols [24/506] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [25/506] LINK obj/clang/unittests/Index/IndexTests [26/506] LINK obj/llvm/unittests/Transforms/Coroutines/CoroTests [27/506] LINK ./bin/llvm-extract [28/506] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [29/506] LINK obj/llvm/unittests/FuzzMutate/FuzzMutateTests [30/506] LINK obj/llvm/unittests/SandboxIR/SandboxIRTests [31/506] LINK ./bin/clang-change-namespace [32/506] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [33/506] LINK ./bin/modularize [34/506] LINK obj/clang/unittests/AST/ByteCode/InterpTests [35/506] LINK obj/llvm/unittests/Transforms/Vectorize/VectorizeTests [36/506] LINK obj/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests [37/506] LINK ./bin/clang-move [38/506] LINK obj/llvm/unittests/Analysis/AnalysisTests [39/506] LINK obj/clang/unittests/Sema/SemaTests [40/506] LINK obj/clang/unittests/Rewrite/RewriteTests [41/506] LINK ./bin/clang-installapi [42/506] LINK obj/clang/unittests/Support/ClangSupportTests [43/506] LINK obj/clang/unittests/Serialization/SerializationTests [44/506] LINK ./bin/clang-refactor [45/506] LINK ./bin/clang-reorder-fields [46/506] LINK ./bin/clang-include-fixer [47/506] LINK ./bin/clang-query [48/506] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [49/506] LINK obj/llvm/unittests/Transforms/IPO/IPOTests [50/506] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [51/506] LINK ./bin/clang-doc [52/506] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [53/506] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [54/506] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [55/506] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [56/506] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [57/506] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [58/506] LINK ./bin/clang-diff [59/506] LINK ./bin/diagtool [60/506] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [61/506] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [62/506] LINK ./bin/pp-trace [63/506] LINK obj/clang/unittests/AST/ASTTests [64/506] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [65/506] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [66/506] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [67/506] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [68/506] STAMP obj/clang-tools-extra/unittests/unittests.stamp [69/506] LINK ./bin/clang-extdef-mapping [70/506] LINK obj/llvm/unittests/Transforms/Scalar/ScalarTests [71/506] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [72/506] LINK obj/llvm/unittests/IR/IRTests [73/506] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [74/506] LINK ./bin/clang-import-test [75/506] LINK obj/clang/unittests/Frontend/FrontendTests [76/506] LINK ./bin/lldb-server [77/506] LINK ./bin/clang-tidy [78/506] CXX obj/bolt/tools/heatmap/llvm-bolt-heatmap.heatmap.o FAILED: obj/bolt/tools/heatmap/llvm-bolt-heatmap.heatmap.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/tools/heatmap/llvm-bolt-heatmap.heatmap.o.d -o obj/bolt/tools/heatmap/llvm-bolt-heatmap.heatmap.o -c ../../bolt/tools/heatmap/heatmap.cpp -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/tools/heatmap/heatmap.cpp:87: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXAsmParser' 30 | BOLT_TARGET(NVPTX) | ^ ../../bolt/tools/heatmap/heatmap.cpp:82:3: note: expanded from macro 'BOLT_TARGET' 82 | LLVMInitialize##target##AsmParser(); \ | ^ :49:1: note: expanded from here 49 | LLVMInitializeNVPTXAsmParser | ^ In file included from ../../bolt/tools/heatmap/heatmap.cpp:87: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXDisassembler' ../../bolt/tools/heatmap/heatmap.cpp:83:3: note: expanded from macro 'BOLT_TARGET' 83 | LLVMInitialize##target##Disassembler(); \ | ^ :51:1: note: expanded from here 51 | LLVMInitializeNVPTXDisassembler | ^ 2 errors generated. [79/506] CXX obj/bolt/unittests/Core/CoreTests.BinaryContext.o FAILED: obj/bolt/unittests/Core/CoreTests.BinaryContext.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/unittests/Core/CoreTests.BinaryContext.o.d -o obj/bolt/unittests/Core/CoreTests.BinaryContext.o -c ../../bolt/unittests/Core/BinaryContext.cpp -DAARCH64_AVAILABLE -DX86_AVAILABLE -DGTEST_HAS_RTTI=0 -I../../llvm/lib/Target/AArch64 -I../../llvm/lib/Target/X86 -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/Utils -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -I../../third-party/unittest/googlemock/include -I../../third-party/unittest/googletest/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/unittests/Core/BinaryContext.cpp:38: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXAsmParser' 30 | BOLT_TARGET(NVPTX) | ^ ../../bolt/unittests/Core/BinaryContext.cpp:33:3: note: expanded from macro 'BOLT_TARGET' 33 | LLVMInitialize##target##AsmParser(); \ | ^ :16:1: note: expanded from here 16 | LLVMInitializeNVPTXAsmParser | ^ In file included from ../../bolt/unittests/Core/BinaryContext.cpp:38: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXDisassembler' ../../bolt/unittests/Core/BinaryContext.cpp:34:3: note: expanded from macro 'BOLT_TARGET' 34 | LLVMInitialize##target##Disassembler(); \ | ^ :18:1: note: expanded from here 18 | LLVMInitializeNVPTXDisassembler | ^ 2 errors generated. [80/506] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DbgEntityHistoryCalculator.o [81/506] CXX obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o FAILED: obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o.d -o obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o -c ../../bolt/tools/driver/llvm-bolt.cpp -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/tools/driver/llvm-bolt.cpp:194: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXAsmParser' 30 | BOLT_TARGET(NVPTX) | ^ ../../bolt/tools/driver/llvm-bolt.cpp:189:3: note: expanded from macro 'BOLT_TARGET' 189 | LLVMInitialize##target##AsmParser(); \ | ^ :115:1: note: expanded from here 115 | LLVMInitializeNVPTXAsmParser | ^ In file included from ../../bolt/tools/driver/llvm-bolt.cpp:194: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXDisassembler' ../../bolt/tools/driver/llvm-bolt.cpp:190:3: note: expanded from macro 'BOLT_TARGET' 190 | LLVMInitialize##target##Disassembler(); \ | ^ :117:1: note: expanded from here 117 | LLVMInitializeNVPTXDisassembler | ^ 2 errors generated. [82/506] CXX obj/bolt/unittests/Core/CoreTests.MemoryMaps.o FAILED: obj/bolt/unittests/Core/CoreTests.MemoryMaps.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/unittests/Core/CoreTests.MemoryMaps.o.d -o obj/bolt/unittests/Core/CoreTests.MemoryMaps.o -c ../../bolt/unittests/Core/MemoryMaps.cpp -DAARCH64_AVAILABLE -DX86_AVAILABLE -DGTEST_HAS_RTTI=0 -I../../llvm/lib/Target/AArch64 -I../../llvm/lib/Target/X86 -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/Utils -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -I../../third-party/unittest/googlemock/include -I../../third-party/unittest/googletest/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/unittests/Core/MemoryMaps.cpp:49: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXAsmParser' 30 | BOLT_TARGET(NVPTX) | ^ ../../bolt/unittests/Core/MemoryMaps.cpp:44:3: note: expanded from macro 'BOLT_TARGET' 44 | LLVMInitialize##target##AsmParser(); \ | ^ :124:1: note: expanded from here 124 | LLVMInitializeNVPTXAsmParser | ^ In file included from ../../bolt/unittests/Core/MemoryMaps.cpp:49: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXDisassembler' ../../bolt/unittests/Core/MemoryMaps.cpp:45:3: note: expanded from macro 'BOLT_TARGET' 45 | LLVMInitialize##target##Disassembler(); \ | ^ :126:1: note: expanded from here 126 | LLVMInitializeNVPTXDisassembler | ^ 2 errors generated. [83/506] CXX obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o FAILED: obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o.d -o obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o -c ../../bolt/unittests/Core/MCPlusBuilder.cpp -DAARCH64_AVAILABLE -DX86_AVAILABLE -DGTEST_HAS_RTTI=0 -I../../llvm/lib/Target/AArch64 -I../../llvm/lib/Target/X86 -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/Utils -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -Igen/llvm/lib/Target/X86/MCTargetDesc -I../../third-party/unittest/googlemock/include -I../../third-party/unittest/googletest/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/unittests/Core/MCPlusBuilder.cpp:48: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXAsmParser' 30 | BOLT_TARGET(NVPTX) | ^ ../../bolt/unittests/Core/MCPlusBuilder.cpp:43:3: note: expanded from macro 'BOLT_TARGET' 43 | LLVMInitialize##target##AsmParser(); \ | ^ :24:1: note: expanded from here 24 | LLVMInitializeNVPTXAsmParser | ^ In file included from ../../bolt/unittests/Core/MCPlusBuilder.cpp:48: gen/bolt/include/bolt/Core/TargetConfig.def:30:1: error: use of undeclared identifier 'LLVMInitializeNVPTXDisassembler' ../../bolt/unittests/Core/MCPlusBuilder.cpp:44:3: note: expanded from macro 'BOLT_TARGET' 44 | LLVMInitialize##target##Disassembler(); \ | ^ :26:1: note: expanded from here 26 | LLVMInitializeNVPTXDisassembler | ^ 2 errors generated. ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.