ninja: Entering directory `out/gn' [1/913] CXX obj/bolt/tools/heatmap/llvm-bolt-heatmap.heatmap.o FAILED: obj/bolt/tools/heatmap/llvm-bolt-heatmap.heatmap.o ../../chromeclang/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 -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -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' BOLT_TARGET(NVPTX) ^ ../../bolt/tools/heatmap/heatmap.cpp:82:3: note: expanded from macro 'BOLT_TARGET' LLVMInitialize##target##AsmParser(); \ ^ :50:1: note: expanded from here 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' LLVMInitialize##target##Disassembler(); \ ^ :52:1: note: expanded from here LLVMInitializeNVPTXDisassembler ^ 2 errors generated. [2/913] CXX obj/bolt/unittests/Core/CoreTests.BinaryContext.o FAILED: obj/bolt/unittests/Core/CoreTests.BinaryContext.o ../../chromeclang/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 -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -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' BOLT_TARGET(NVPTX) ^ ../../bolt/unittests/Core/BinaryContext.cpp:33:3: note: expanded from macro 'BOLT_TARGET' LLVMInitialize##target##AsmParser(); \ ^ :152:1: note: expanded from here 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' LLVMInitialize##target##Disassembler(); \ ^ :154:1: note: expanded from here LLVMInitializeNVPTXDisassembler ^ 2 errors generated. [3/913] CXX obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o FAILED: obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o ../../chromeclang/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 -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -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' BOLT_TARGET(NVPTX) ^ ../../bolt/tools/driver/llvm-bolt.cpp:189:3: note: expanded from macro 'BOLT_TARGET' LLVMInitialize##target##AsmParser(); \ ^ :51:1: note: expanded from here 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' LLVMInitialize##target##Disassembler(); \ ^ :53:1: note: expanded from here LLVMInitializeNVPTXDisassembler ^ 2 errors generated. [4/913] CXX obj/clang-tools-extra/clang-doc/clang-doc.MDGenerator.o [5/913] CXX obj/bolt/unittests/Core/CoreTests.MemoryMaps.o FAILED: obj/bolt/unittests/Core/CoreTests.MemoryMaps.o ../../chromeclang/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 -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -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' BOLT_TARGET(NVPTX) ^ ../../bolt/unittests/Core/MemoryMaps.cpp:44:3: note: expanded from macro 'BOLT_TARGET' LLVMInitialize##target##AsmParser(); \ ^ :50:1: note: expanded from here 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' LLVMInitialize##target##Disassembler(); \ ^ :52:1: note: expanded from here LLVMInitializeNVPTXDisassembler ^ 2 errors generated. [6/913] CXX obj/clang-tools-extra/clang-doc/clang-doc.HTMLGenerator.o [7/913] CXX obj/clang-tools-extra/clang-doc/clang-doc.Representation.o [8/913] CXX obj/clang-tools-extra/clang-doc/clang-doc.Serialize.o [9/913] CXX obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o FAILED: obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o ../../chromeclang/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 -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -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' BOLT_TARGET(NVPTX) ^ ../../bolt/unittests/Core/MCPlusBuilder.cpp:43:3: note: expanded from macro 'BOLT_TARGET' LLVMInitialize##target##AsmParser(); \ ^ :66:1: note: expanded from here 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' LLVMInitialize##target##Disassembler(); \ ^ :68:1: note: expanded from here LLVMInitializeNVPTXDisassembler ^ 2 errors generated. [10/913] CXX obj/clang-tools-extra/clang-doc/clang-doc.Mapper.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.