ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/628] AR lib/libLLVMVectorize.a [2/628] AR lib/libLLVMScalarOpts.a [3/628] AR lib/libclangDriver.a [4/628] ACTION //llvm/unittests/TableGen:AutomataAutomata(//llvm/utils/gn/build/toolchain:unix) [5/626] AR lib/libLLVMCodeGen.a [6/626] AR lib/libLLVMExegesisRISCV.a [7/626] AR lib/libLLVMExegesisMips.a [8/626] AR lib/libLLVMExegesisPowerPC.a [9/626] AR lib/libLLVMMIRParser.a [10/626] AR lib/libLLVMAVRAsmParser.a [11/626] AR lib/libLLVMAArch64AsmParser.a [12/626] AR lib/libLLVMARMDisassembler.a [13/626] AR lib/libLLVMLanaiAsmParser.a [14/626] AR lib/libLLVMARMAsmParser.a [15/626] AR lib/libLLVMGlobalISel.a [16/626] AR lib/libLLVMAsmPrinter.a [17/626] AR lib/libLLVMAMDGPUUtils.a [18/626] AR lib/libLLVMLanaiDisassembler.a [19/626] AR lib/libLLVMExegesisAArch64.a [20/626] AR lib/libLLVMPowerPCAsmParser.a [21/626] AR lib/libLLVMX86AsmParser.a [22/626] AR lib/libLLVMEmbUtils.a [23/626] AR lib/libLLVMBOLTTargetAArch64.a [24/626] AR lib/libLLVMSelectionDAG.a [25/626] AR lib/libLLVMPasses.a [26/626] AR lib/libLLVMAMDGPUDesc.a [27/626] AR lib/libLLVMAVRCodeGen.a [28/626] AR lib/libLLVMLoongArchCodeGen.a [29/626] AR lib/libLLVMSparcCodeGen.a [30/626] AR lib/libLLVMBPFCodeGen.a [31/626] AR lib/libLLVMLanaiCodeGen.a [32/626] AR lib/libLLVMMipsCodeGen.a [33/626] AR lib/libLLVMNVPTXCodeGen.a [34/626] AR lib/libLLVMWebAssemblyCodeGen.a [35/626] AR lib/libLLVMAMDGPUAsmParser.a [36/626] AR lib/libLLVMAMDGPUDisassembler.a [37/626] AR lib/libLLVMX86CodeGen.a [38/626] AR lib/libLLVMLTO.a [39/626] AR lib/libLLVMARMCodeGen.a [40/626] AR lib/libLLVMPowerPCCodeGen.a [41/626] AR lib/libLLVMSystemZCodeGen.a [42/626] AR lib/libLLVMAMDGPUTargetMCA.a [43/626] AR lib/libLLVMAArch64CodeGen.a [44/626] AR lib/libLLVMHexagonCodeGen.a [45/626] LINK obj/clang/unittests/InstallAPI/InstallAPITests [46/626] AR lib/libLLVMRISCVCodeGen.a [47/626] AR lib/libLLVMAMDGPUCodeGen.a [48/626] AR lib/libclangCodeGen.a [49/626] LINK obj/llvm/unittests/Transforms/Vectorize/VectorizeTests [50/626] LINK obj/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests [51/626] LINK ./bin/clang-offload-bundler [52/626] LINK obj/llvm/unittests/FuzzMutate/FuzzMutateTests [53/626] LINK obj/llvm/unittests/DWARFLinkerParallel/DWARFLinkerParallelTests [54/626] LINK ./bin/clang-apply-replacements [55/626] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [56/626] LINK obj/llvm/unittests/Transforms/IPO/IPOTests [57/626] LINK ./bin/llvm-link [58/626] LINK obj/clang/unittests/Format/FormatTests [59/626] LINK ./bin/lli-child-target [60/626] LINK ./bin/llvm-cgdata [61/626] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [62/626] LINK ./bin/llvm-mca [63/626] LINK ./bin/llvm-bat-dump [64/626] LINK obj/bolt/unittests/Profile/ProfileTests [65/626] LINK ./bin/llvm-cfi-verify [66/626] LINK ./bin/sancov [67/626] LINK ./bin/llvm-dwarfdump [68/626] LINK ./bin/llvm-nm [69/626] LINK ./bin/llvm-objdump [70/626] LINK obj/clang/unittests/Lex/LexTests [71/626] LINK ./bin/llvm-debuginfo-analyzer [72/626] LINK ./bin/llvm-profgen [73/626] LINK obj/clang/unittests/Parse/ParseTests [74/626] LINK obj/clang/unittests/Support/ClangSupportTests [75/626] LINK ./bin/diagtool [76/626] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [77/626] LINK ./bin/llvm-extract [78/626] LINK obj/llvm/unittests/Analysis/AnalysisTests [79/626] LINK ./bin/lli [80/626] LINK obj/bolt/unittests/Passes/PassTests [81/626] LINK ./bin/llvm-libtool-darwin [82/626] LINK ./bin/llvm-bolt [83/626] LINK obj/bolt/unittests/Core/CoreTests [84/626] LINK ./bin/llvm-bolt-heatmap [85/626] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [86/626] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [87/626] LINK ./bin/clang-include-fixer [88/626] LINK ./bin/clang-import-test [89/626] LINK ./bin/clang-move [90/626] LINK ./bin/clang-doc [91/626] LINK ./bin/clang-change-namespace [92/626] LINK ./bin/llvm-jitlink [93/626] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [94/626] LINK ./bin/clang-extdef-mapping [95/626] LINK ./bin/find-all-symbols [96/626] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [97/626] LINK ./bin/clang-query [98/626] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [99/626] LINK ./bin/clang-reorder-fields [100/626] LINK ./bin/llvm-ir2vec [101/626] LINK ./bin/llvm-isel-fuzzer [102/626] LINK ./bin/clang-diff [103/626] LINK ./bin/dexp [104/626] CXX obj/lldb/source/Host/windows/Host.ConnectionConPTYWindows.o FAILED: obj/lldb/source/Host/windows/Host.ConnectionConPTYWindows.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/lldb/source/Host/windows/Host.ConnectionConPTYWindows.o.d -o obj/lldb/source/Host/windows/Host.ConnectionConPTYWindows.o -c ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp -I../../llvm/include -Igen/llvm/include -I../../lldb/include -Igen/lldb/include -I../../sysroot/usr/include/libxml2 -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 -fno-strict-aliasing -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp:9: In file included from ../../lldb/include/lldb/Host/windows/ConnectionConPTYWindows.h:12: In file included from ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:12: ../../lldb/include/lldb/Host/windows/windows.h:19:10: error: 'windows.h' file not found with include; use "quotes" instead 19 | #include | ^~~~~~~~~~~ | "windows.h" In file included from ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp:9: In file included from ../../lldb/include/lldb/Host/windows/ConnectionConPTYWindows.h:12: ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:45:3: error: unknown type name 'OVERLAPPED' 45 | OVERLAPPED m_overlapped; | ^ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:47:3: error: unknown type name 'HANDLE' 47 | HANDLE m_file; | ^ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:48:3: error: unknown type name 'HANDLE' 48 | HANDLE m_event_handles[2]; | ^ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:50:3: error: unknown type name 'LARGE_INTEGER' 50 | LARGE_INTEGER m_file_position; | ^ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:56:29: error: unknown type name 'DWORD' 56 | void IncrementFilePointer(DWORD amount); | ^ In file included from ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp:9: In file included from ../../lldb/include/lldb/Host/windows/ConnectionConPTYWindows.h:13: ../../lldb/include/lldb/Host/windows/PseudoConsole.h:97:8: error: no type named 'condition_variable' in namespace 'std' 97 | std::condition_variable &GetCV() { return m_cv; }; | ~~~~~^ ../../lldb/include/lldb/Host/windows/PseudoConsole.h:116:8: error: no type named 'condition_variable' in namespace 'std' 116 | std::condition_variable m_cv{}; | ~~~~~^ ../../lldb/include/lldb/Host/windows/PseudoConsole.h:117:21: error: implicit instantiation of undefined template 'std::atomic' 117 | std::atomic m_stopping = false; | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/atomic_base.h:173:12: note: template is declared here 173 | struct atomic; | ^ ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp:47:19: error: no matching constructor for initialization of 'ConnectionGenericFile' 47 | : m_pty(pty), ConnectionGenericFile(pty->GetSTDOUTHandle(), false) {}; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:24:3: note: candidate constructor not viable: cannot convert argument of incomplete type 'HANDLE' (aka 'void *') to 'lldb::file_t' (aka 'int') for 1st argument 24 | ConnectionGenericFile(lldb::file_t file, bool owns_file); | ^ ~~~~~~~~~~~~~~~~~ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:60:3: note: candidate constructor not viable: requires 1 argument, but 2 were provided 60 | ConnectionGenericFile(const ConnectionGenericFile &) = delete; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h:22:3: note: candidate constructor not viable: requires 0 arguments, but 2 were provided 22 | ConnectionGenericFile(); | ^ ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp:47:7: warning: field 'm_pty' will be initialized after base 'ConnectionGenericFile' [-Wreorder-ctor] 47 | : m_pty(pty), ConnectionGenericFile(pty->GetSTDOUTHandle(), false) {}; | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ConnectionGenericFile(pty->GetSTDOUTHandle(), false) m_pty(pty) ../../lldb/source/Host/windows/ConnectionConPTYWindows.cpp:73:30: error: cannot initialize object parameter of type 'lldb_private::ConnectionGenericFile' with an expression of type 'lldb_private::ConnectionConPTY' 73 | ConnectionGenericFile::Read(dst, dst_len, timeout, status, error_ptr); | ^~~~ 1 warning and 11 errors generated. [105/626] LINK ./bin/llvm-lto2 [106/626] LINK ./bin/llvm-lto [107/626] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [108/626] LINK ./bin/modularize [109/626] LINK ./bin/pp-trace [110/626] LINK ./bin/llvm-ml [111/626] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [112/626] LINK ./bin/llvm-lipo [113/626] LINK ./bin/llvm-gsymutil [114/626] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [115/626] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [116/626] LINK ./bin/clangd-indexer [117/626] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [118/626] LINK ./bin/clang-check [119/626] LINK ./bin/clang-tidy [120/626] LINK ./bin/clang-installapi [121/626] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [122/626] LINK ./bin/clangd [123/626] LINK ./bin/clang-scan-deps [124/626] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [125/626] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [126/626] LINK obj/clang/unittests/AST/ByteCode/InterpTests [127/626] LINK obj/clang/unittests/AST/ASTTests [128/626] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [129/626] LINK ./bin/clang-linker-wrapper [130/626] LINK ./bin/clang-sycl-linker [131/626] LINK ./bin/clang-refactor [132/626] LINK ./bin/clang-nvlink-wrapper [133/626] LINK obj/clang/unittests/CrossTU/CrossTUTests [134/626] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [135/626] LINK ./bin/clang-repl [136/626] LINK obj/clang/unittests/Tooling/ToolingTests [137/626] SOLINK ./lib/libclang.so [138/626] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.RegisterAliasingTest.o [139/626] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.RegisterAliasingTest.o [140/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.Immediates.o [141/626] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.BenchmarkResultTest.o [142/626] CXX obj/llvm/unittests/Target/X86/X86Tests.X86SelectionDAGTest.o [143/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AddressingModes.o [144/626] CXX obj/llvm/unittests/Target/RISCV/RISCVTests.RISCVSelectionDAGTest.o [145/626] CXX obj/llvm/unittests/Target/ARM/ARMTests.ARMSelectionDAGTest.o [146/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AArch64RegisterInfoTest.o [147/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.MatrixRegisterAliasing.o [148/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AArch64SVESchedPseudoTest.o [149/626] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.DwarfRegMappings.o [150/626] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.ExecMayBeModifiedBeforeAnyUse.o [151/626] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.CSETest.o [152/626] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.PALMetadata.o [153/626] CXX obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests.WebAssemblyExceptionInfoTest.o [154/626] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.LiveRegUnits.o [155/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.InstSizes.o [156/626] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.AMDGPUUnitTests.o [157/626] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.BenchmarkResultTest.o [158/626] CXX obj/llvm/unittests/Target/ARM/ARMTests.InstSizes.o [159/626] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AArch64SelectionDAGTest.o [160/626] CXX obj/llvm/tools/llvm-exegesis/lib/lib.SnippetRepetitor.o [161/626] CXX obj/llvm/unittests/Target/RISCV/RISCVTests.RISCVInstrInfoTest.o [162/626] CXX obj/llvm/tools/llvm-exegesis/lib/X86/X86.Target.o [163/626] CXX obj/llvm/tools/llvm-exegesis/lib/lib.Assembler.o [164/626] CXX obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.SnippetGeneratorTest.o [165/626] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.SnippetRepetitorTest.o [166/626] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.SnippetGeneratorTest.o [167/626] CXX obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests.SnippetGeneratorTest.o [168/626] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.SnippetFileTest.o [169/626] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.SnippetGeneratorTest.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.