ninja: Entering directory `out/gn' [1/298] 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/298] 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/298] 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/298] CXX obj/llvm/lib/Target/RISCV/GISel/LLVMRISCVCodeGen.RISCVRegisterBankInfo.o [5/298] 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/298] CXX obj/llvm/lib/Target/RISCV/LLVMRISCVCodeGen.RISCVAsmPrinter.o [7/298] CXX obj/llvm/lib/Target/RISCV/GISel/LLVMRISCVCodeGen.RISCVO0PreLegalizerCombiner.o [8/298] CXX obj/llvm/lib/Target/RISCV/GISel/LLVMRISCVCodeGen.RISCVPostLegalizerCombiner.o [9/298] 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/298] CXX obj/llvm/lib/Target/RISCV/GISel/LLVMRISCVCodeGen.RISCVPreLegalizerCombiner.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.