ninja: Entering directory `out/gn' [1/416] AR lib/libLLVMAMDGPUDesc.a [2/416] STAMP obj/llvm/lib/Target/AllTargetsAsmParsers.stamp [3/416] STAMP obj/llvm/lib/Target/AllTargetsDescs.stamp [4/416] STAMP obj/llvm/lib/Target/AllTargetsDisassemblers.stamp [5/416] AR lib/libLLVMAMDGPUCodeGen.a [6/416] STAMP obj/llvm/lib/Target/AllTargetsCodeGens.stamp [7/416] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPU.stamp [8/416] STAMP obj/llvm/lib/Target/TargetsToBuild.stamp [9/416] LINK ./bin/llvm-cxxmap [10/416] LINK ./bin/llvm-objdump [11/416] LINK ./bin/llvm-cxxdump [12/416] LINK ./bin/llvm-cfi-verify [13/416] LINK ./bin/llvm-dwarfdump [14/416] LINK ./bin/sancov [15/416] LINK ./bin/llvm-mca [16/416] LINK ./bin/llvm-nm [17/416] STAMP obj/llvm/tools/llvm-nm/symlinks.stamp [18/416] LINK ./bin/clang-offload-packager [19/416] ACTION //llvm/tools/llvm-objdump:llvm-otool(//llvm/utils/gn/build/toolchain:unix) [20/416] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [21/416] STAMP obj/llvm/tools/llvm-objdump/llvm-otool.stamp [22/416] LINK obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests [23/416] STAMP obj/llvm/tools/llvm-objdump/symlinks.stamp [24/416] LINK ./bin/llvm-rtdyld [25/416] LINK ./bin/llvm-lipo [26/416] LINK ./bin/llvm-ml [27/416] STAMP obj/llvm/tools/llvm-lipo/symlinks.stamp [28/416] LINK ./bin/llvm-debuginfo-analyzer [29/416] LINK ./bin/llvm-profgen [30/416] LINK ./bin/llvm-libtool-darwin [31/416] STAMP obj/llvm/tools/llvm-libtool-darwin/symlinks.stamp [32/416] LINK ./bin/llvm-ar [33/416] LINK ./bin/llvm-mc [34/416] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [35/416] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [36/416] STAMP obj/llvm/tools/llvm-ar/llvm-ranlib.stamp [37/416] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [38/416] STAMP obj/llvm/tools/llvm-ar/llvm-dlltool.stamp [39/416] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [40/416] LINK obj/clang/unittests/CrossTU/CrossTUTests [41/416] STAMP obj/llvm/tools/llvm-ar/llvm-lib.stamp [42/416] STAMP obj/llvm/tools/llvm-ar/symlinks.stamp [43/416] STAMP obj/llvm-ar.stamp [44/416] LINK ./bin/clang-extdef-mapping [45/416] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [46/416] LINK ./bin/llvm-jitlink [47/416] LINK ./bin/llvm-exegesis [48/416] LINK obj/llvm/unittests/CGData/CodeGenDataTests [49/416] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [50/416] LINK ./bin/llvm-lto2 [51/416] LINK ./bin/llvm-split [52/416] LINK ./bin/dexp [53/416] LINK ./bin/llvm-dwp [54/416] LINK ./bin/llvm-xray [55/416] LINK ./bin/clang-linker-wrapper [56/416] LINK ./bin/llc [57/416] LINK ./bin/llvm-c-test [58/416] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [59/416] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [60/416] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [61/416] LINK ./bin/clangd-indexer [62/416] LINK ./bin/clang-nvlink-wrapper [63/416] LINK ./bin/llvm-lto [64/416] LINK ./bin/llvm-isel-fuzzer [65/416] LINK ./bin/llvm-gsymutil [66/416] LINK ./bin/bugpoint [67/416] LINK ./bin/dsymutil [68/416] LINK ./bin/llvm-dwarfutil [69/416] LINK obj/llvm/unittests/Target/TargetMachineCTests [70/416] LINK ./bin/clang-tidy [71/416] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [72/416] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [73/416] LINK ./bin/llvm-reduce [74/416] LINK ./bin/llvm-opt-fuzzer [75/416] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [76/416] STAMP obj/lld/unittests/unittests.stamp [77/416] LINK obj/clang/unittests/Driver/ClangDriverTests [78/416] LINK obj/llvm/unittests/MC/MCTests [79/416] LINK ./bin/lld [80/416] LINK ./bin/clang-scan-deps [81/416] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [82/416] STAMP obj/lld/tools/lld/ld.lld.stamp [83/416] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [84/416] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [85/416] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [86/416] STAMP obj/lld/tools/lld/ld64.lld.stamp [87/416] STAMP obj/lld/tools/lld/lld-link.stamp [88/416] STAMP obj/lld/tools/lld/wasm-ld.stamp [89/416] STAMP obj/lld/tools/lld/symlinks.stamp [90/416] STAMP obj/lld.stamp [91/416] SOLINK ./lib/libLTO.so [92/416] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [93/416] LINK ./bin/clang-check [94/416] SOLINK ./lib/libclang.so [95/416] LINK ./bin/opt [96/416] LINK obj/llvm/unittests/CodeGen/CodeGenTests [97/416] STAMP obj/lld/test/test.stamp [98/416] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [99/416] LINK obj/clang/unittests/Tooling/ToolingTests [100/416] LINK ./bin/clang-repl [101/416] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [102/416] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [103/416] LINK obj/clang/unittests/libclang/libclangTests [104/416] STAMP obj/clang/unittests/unittests.stamp [105/416] LINK obj/llvm/unittests/MI/MITests [106/416] LINK obj/llvm/unittests/MIR/MIRTests [107/416] LINK ./bin/clangd [108/416] LINK ./bin/lldb-test [109/416] LINK ./bin/lldb-dap [110/416] LINK ./bin/lldb [111/416] LINK ./bin/c-index-test [112/416] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [113/416] STAMP obj/llvm/unittests/unittests.stamp [114/416] STAMP obj/llvm/test/test.stamp [115/416] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [116/416] STAMP obj/clang-tools-extra/clangd/test/test.stamp [117/416] LINK ./bin/clang [118/416] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [119/416] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [120/416] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [121/416] STAMP obj/clang/tools/driver/clang-cl.stamp [122/416] STAMP obj/clang/tools/driver/clangxx.stamp [123/416] STAMP obj/clang/tools/driver/clang-cpp.stamp [124/416] STAMP obj/clang/tools/driver/symlinks.stamp [125/416] STAMP obj/clang.stamp [126/416] STAMP obj/clang-tools-extra/test/test.stamp [127/416] STAMP obj/clang/test/test.stamp [128/416] STAMP obj/lldb/test/test.stamp [129/416] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [130/416] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [131/416] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_static_library.inputdeps.stamp [132/416] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [133/416] STAMP stage2_unix/obj/compiler-rt/lib/asan/static_sources.inputdeps.stamp [134/416] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [135/416] STAMP stage2_unix/obj/compiler-rt/lib/hwasan/sources.inputdeps.stamp [136/416] STAMP stage2_unix/obj/compiler-rt/lib/msan/msan.inputdeps.stamp [137/416] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [138/416] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [139/416] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [140/416] STAMP stage2_unix/obj/libcxx/src/cxx_experimental.inputdeps.stamp [141/416] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/sources.inputdeps.stamp [142/416] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [143/416] STAMP stage2_unix/obj/libcxx/src/cxx_shared.inputdeps.stamp [144/416] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [145/416] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [146/416] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [147/416] STAMP stage2_unix/obj/libcxxabi/src/cxxabi_static.inputdeps.stamp [148/416] STAMP stage2_unix/obj/libcxx/src/cxx_static.inputdeps.stamp [149/416] STAMP stage2_unix/obj/libcxxabi/src/cxxabi_shared.inputdeps.stamp [150/416] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [151/416] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [152/416] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [153/416] STAMP stage2_unix/obj/llvm/lib/Demangle/Demangle.inputdeps.stamp [154/416] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [155/415] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [156/414] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [157/413] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [158/412] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [159/410] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [160/409] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [161/408] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [162/407] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [163/406] ACTION //libcxx/src:cxx_symlink(//llvm/utils/gn/build/toolchain:stage2_unix) [164/406] STAMP stage2_unix/obj/libcxx/src/cxx_symlink.stamp [165/406] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [166/249] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [167/248] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [168/247] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [169/244] STAMP stage2_unix/obj/llvm/lib/Support/BLAKE3/BLAKE3.inputdeps.stamp [170/244] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [171/242] STAMP stage2_unix/obj/compiler-rt/test/asan/asan_toolchain.stamp [172/242] STAMP obj/compiler-rt/test/asan/asan.stamp [173/242] ACTION //libcxx/src:cxx_linker_script(//llvm/utils/gn/build/toolchain:stage2_unix) [174/242] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [175/209] STAMP stage2_unix/obj/libcxx/src/cxx_linker_script.stamp [176/209] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest.inputdeps.stamp [177/209] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.inputdeps.stamp [178/209] STAMP stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCxxUnitTest.inputdeps.stamp [179/209] STAMP stage2_unix/obj/llvm/lib/Support/Support.inputdeps.stamp [180/209] STAMP stage2_unix/obj/third-party/unittest/gtest.inputdeps.stamp [181/209] STAMP stage2_unix/obj/libcxx/src/src.stamp [182/209] STAMP obj/libcxx/libcxx.stamp [183/209] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [184/209] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [185/209] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/version_script.stamp [186/209] STAMP stage2_unix/obj/compiler-rt/lib/hwasan/version_script.stamp [187/209] SOLINK lib/clang/21/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [188/209] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/ubsan.stamp [189/209] SOLINK lib/clang/21/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [190/209] STAMP stage2_unix/obj/compiler-rt/lib/lib.stamp [191/209] STAMP stage2_unix/obj/compiler-rt/test/hwasan/hwasan_toolchain.stamp [192/209] STAMP obj/compiler-rt/compiler-rt.stamp [193/209] STAMP obj/compiler-rt/test/hwasan/hwasan.stamp [194/209] 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. [195/209] 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. [196/209] 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. [197/209] 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. [198/209] 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.