ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/386] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/386] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/386] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [4/386] CXX obj/llvm/lib/CodeGen/CodeGen.CodeGenPrepare.o [5/386] AR lib/libLLVMCodeGen.a [6/386] LINK ./bin/lli-child-target [7/386] LINK ./bin/llvm-cgdata [8/386] LINK ./bin/sancov [9/386] LINK ./bin/llvm-cxxmap [10/386] LINK ./bin/llvm-cfi-verify [11/386] LINK obj/llvm/unittests/CGData/CodeGenDataTests [12/386] LINK ./bin/llvm-dwp [13/386] LINK ./bin/llvm-ml [14/386] LINK ./bin/llvm-dwarfdump [15/386] LINK ./bin/llvm-bat-dump [16/386] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [17/386] LINK ./bin/llvm-profgen [18/386] LINK ./bin/llvm-nm [19/386] LINK ./bin/llvm-cxxdump [20/386] LINK ./bin/llvm-mca [21/386] LINK ./bin/llvm-libtool-darwin [22/386] LINK ./bin/llvm-lipo [23/386] LINK ./bin/lldb-server [24/386] LINK ./bin/llvm-objdump [25/386] LINK ./bin/llvm-ar [26/386] LINK obj/bolt/unittests/Profile/ProfileTests [27/386] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [28/386] ACTION //llvm/tools/llvm-objdump:llvm-otool(//llvm/utils/gn/build/toolchain:unix) [29/386] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [30/386] LINK ./bin/lli [31/386] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [32/386] LINK ./bin/llvm-rtdyld [33/386] LINK ./bin/llvm-bolt [34/386] LINK ./bin/llvm-debuginfo-analyzer [35/386] LINK ./bin/llvm-calc-occupancy [36/386] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [37/386] LINK obj/llvm/unittests/DWARFLinkerParallel/DWARFLinkerParallelTests [38/386] LINK ./bin/llvm-bolt-heatmap [39/386] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [40/386] LINK ./bin/clang-extdef-mapping [41/386] LINK ./bin/llvm-extract [42/386] LINK ./bin/llvm-jitlink [43/386] LINK ./bin/llvm-exegesis [44/386] LINK obj/bolt/unittests/Core/CoreTests [45/386] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [46/386] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [47/386] LINK ./bin/llvm-mc [48/386] LINK ./bin/llvm-xray [49/386] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [50/386] LINK obj/clang/unittests/CrossTU/CrossTUTests [51/386] LINK ./bin/llvm-opt-fuzzer [52/386] LINK ./bin/clang-scan-deps [53/386] LINK ./bin/dsymutil [54/386] LINK obj/bolt/unittests/Passes/PassTests [55/386] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [56/386] LINK obj/llvm/unittests/Analysis/AnalysisTests [57/386] LINK ./bin/llvm-ir2vec [58/386] LINK ./bin/llvm-isel-fuzzer [59/386] LINK obj/llvm/unittests/MC/MCTests [60/386] LINK obj/llvm/unittests/MC/SystemZ/SystemZAsmLexerTests [61/386] LINK ./bin/lld [62/386] LINK ./bin/llvm-lto2 [63/386] LINK ./bin/clang-sycl-linker [64/386] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [65/386] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [66/386] LINK ./bin/llvm-c-test [67/386] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [68/386] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [69/386] LINK ./bin/clang-import-test [70/386] LINK ./bin/llvm-gsymutil [71/386] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [72/386] LINK obj/llvm/unittests/MC/X86/X86MCTests [73/386] LINK obj/llvm/unittests/Target/LoongArch/LoongArchTests [74/386] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [75/386] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [76/386] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [77/386] LINK obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests [78/386] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [79/386] LINK ./bin/llvm-dwarfutil [80/386] LINK ./bin/clang-nvlink-wrapper [81/386] LINK ./bin/llvm-split [82/386] LINK obj/clang/unittests/Frontend/FrontendTests [83/386] LINK ./bin/clang-tidy [84/386] LINK ./bin/llc [85/386] LINK ./bin/llvm-lto [86/386] LINK obj/llvm/unittests/Target/PowerPC/PowerPCTests [87/386] LINK obj/llvm/unittests/Target/RISCV/RISCVTests [88/386] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [89/386] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [90/386] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [91/386] LINK ./bin/clang-linker-wrapper [92/386] LINK ./bin/opt [93/386] LINK obj/llvm/unittests/tools/llvm-mca/LLVMMCATests [94/386] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [95/386] LINK obj/llvm/unittests/Transforms/Coroutines/CoroTests [96/386] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [97/386] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [98/386] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [99/386] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [100/386] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [101/386] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [102/386] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [103/386] LINK obj/llvm/unittests/Target/ARM/ARMTests [104/386] LINK obj/llvm/unittests/Target/X86/X86Tests [105/386] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [106/386] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [107/386] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [108/386] LINK obj/llvm/unittests/CodeGen/CodeGenTests [109/386] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [110/386] LINK obj/llvm/unittests/Transforms/Scalar/ScalarTests [111/386] LINK obj/llvm/unittests/IR/IRTests [112/386] LINK obj/llvm/unittests/Target/TargetMachineCTests [113/386] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [114/386] LINK obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests [115/386] LINK obj/llvm/unittests/MIR/MIRTests [116/386] LINK ./bin/llvm-reduce [117/386] LINK obj/llvm/unittests/MI/MITests [118/386] SOLINK ./lib/libLTO.so [119/386] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [120/386] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [121/386] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [122/386] LINK obj/clang/unittests/Driver/ClangDriverTests [123/386] LINK obj/clang/unittests/Tooling/ToolingTests [124/386] LINK ./bin/clang-repl [125/386] LINK ./bin/clang-check [126/386] LINK ./bin/lldb-dap [127/386] LINK ./bin/lldb-test [128/386] SOLINK ./lib/libclang.so [129/386] LINK ./bin/lldb [130/386] LINK ./bin/clang [131/386] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [132/386] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [133/386] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [134/386] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [135/386] LINK obj/clang/unittests/libclang/libclangTests [136/386] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [137/386] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [138/386] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [139/386] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [140/386] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [141/386] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [142/386] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [143/386] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [144/386] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [145/386] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [146/386] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [147/386] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [148/386] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [149/386] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [150/386] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [151/198] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [152/198] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [153/166] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [154/166] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [155/166] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [156/166] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [157/166] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [158/166] LINK ./bin/c-index-test [159/166] SOLINK lib/clang/24/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [160/166] SOLINK lib/clang/24/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [161/166] CXX stage2_unix/obj/libcxx/src/cxx_static.locale.o FAILED: stage2_unix/obj/libcxx/src/cxx_static.locale.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_static.locale.o.d -o stage2_unix/obj/libcxx/src/cxx_static.locale.o -c ../../libcxx/src/locale.cpp -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -I../../libcxx/src -I../../llvm/include -Istage2_unix/gen/llvm/include -I../../libcxxabi/include -I../../libc -Iinclude/c++/v1 -fvisibility=hidden -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 -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wno-user-defined-literals -Wno-covered-switch-default -Wno-nullability-completeness -fvisibility-global-new-delete=force-hidden -std=c++17 -fvisibility-inlines-hidden -std=c++26 -nostdinc++ In file included from ../../libcxx/src/locale.cpp:12: In file included from include/c++/v1/codecvt:64: In file included from include/c++/v1/__locale_dir/codecvt.h:17: In file included from include/c++/v1/__locale_dir/locale.h:27: include/c++/v1/string:2941:96: error: too few arguments to function call, expected 2, have 1 2941 | __long __buffer = __allocate_long_buffer(__alloc_, __n, __get_amortized_growth_capacity(__n)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ include/c++/v1/string:1492:7: note: in instantiation of function template specialization 'std::basic_string::__assign_trivial' requested here 1492 | __assign_trivial(__first, __last, __n); | ^ ../../libcxx/src/locale.cpp:4621:17: note: in instantiation of function template specialization 'std::basic_string::assign' requested here 4621 | __weeks_[i].assign(wbuf, wbe); | ^ include/c++/v1/string:2309:3: note: '__get_amortized_growth_capacity' declared here 2309 | __get_amortized_growth_capacity(size_type __old_cap, size_type __additional_characters) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. [162/166] CXX stage2_unix/obj/libcxx/src/cxx_shared.locale.o FAILED: stage2_unix/obj/libcxx/src/cxx_shared.locale.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_shared.locale.o.d -o stage2_unix/obj/libcxx/src/cxx_shared.locale.o -c ../../libcxx/src/locale.cpp -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -I../../libcxx/src -I../../llvm/include -Istage2_unix/gen/llvm/include -I../../libcxxabi/include -I../../libc -Iinclude/c++/v1 -fPIC -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 -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wno-user-defined-literals -Wno-covered-switch-default -Wno-nullability-completeness -std=c++17 -fvisibility-inlines-hidden -std=c++26 -nostdinc++ In file included from ../../libcxx/src/locale.cpp:12: In file included from include/c++/v1/codecvt:64: In file included from include/c++/v1/__locale_dir/codecvt.h:17: In file included from include/c++/v1/__locale_dir/locale.h:27: include/c++/v1/string:2941:96: error: too few arguments to function call, expected 2, have 1 2941 | __long __buffer = __allocate_long_buffer(__alloc_, __n, __get_amortized_growth_capacity(__n)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ include/c++/v1/string:1492:7: note: in instantiation of function template specialization 'std::basic_string::__assign_trivial' requested here 1492 | __assign_trivial(__first, __last, __n); | ^ ../../libcxx/src/locale.cpp:4621:17: note: in instantiation of function template specialization 'std::basic_string::assign' requested here 4621 | __weeks_[i].assign(wbuf, wbe); | ^ include/c++/v1/string:2309:3: note: '__get_amortized_growth_capacity' declared here 2309 | __get_amortized_growth_capacity(size_type __old_cap, size_type __additional_characters) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.