ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/395] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/395] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/395] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [4/395] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64RegisterInfo.o [5/395] AR lib/libLLVMAArch64CodeGen.a [6/395] LINK ./bin/llvm-cxxmap [7/395] LINK obj/llvm/unittests/CGData/CodeGenDataTests [8/395] LINK ./bin/llvm-dwp [9/395] LINK ./bin/llvm-xray [10/395] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [11/395] LINK ./bin/llvm-ml [12/395] LINK ./bin/llvm-libtool-darwin [13/395] LINK obj/llvm/unittests/MC/MCTests [14/395] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [15/395] LINK ./bin/llvm-ar [16/395] LINK ./bin/llvm-mc [17/395] LINK ./bin/llvm-rtdyld [18/395] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [19/395] LINK ./bin/llvm-jitlink [20/395] LINK ./bin/llvm-lipo [21/395] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [22/395] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [23/395] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [24/395] LINK ./bin/llvm-cxxdump [25/395] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [26/395] LINK ./bin/llvm-bolt [27/395] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [28/395] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [29/395] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [30/395] LINK obj/bolt/unittests/Profile/ProfileTests [31/395] LINK ./bin/clang-scan-deps [32/395] LINK ./bin/llvm-exegesis [33/395] LINK obj/bolt/unittests/Passes/PassTests [34/395] LINK ./bin/llvm-bolt-heatmap [35/395] LINK obj/bolt/unittests/Core/CoreTests [36/395] LINK obj/llvm/unittests/Target/AArch64/AArch64Tests [37/395] LINK obj/clang/unittests/CrossTU/CrossTUTests [38/395] LINK ./bin/clang-nvlink-wrapper [39/395] LINK ./bin/clang-sycl-linker [40/395] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [41/395] LINK ./bin/llvm-ir2vec [42/395] LINK ./bin/llvm-lto2 [43/395] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [44/395] LINK ./bin/llvm-c-test [45/395] LINK ./bin/opt [46/395] LINK ./bin/llvm-dwarfutil [47/395] LINK obj/llvm/unittests/Target/TargetMachineCTests [48/395] LINK ./bin/llvm-opt-fuzzer [49/395] LINK ./bin/llvm-gsymutil [50/395] LINK ./bin/llvm-lto [51/395] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [52/395] LINK obj/llvm/unittests/MI/MITests [53/395] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [54/395] LINK ./bin/dsymutil [55/395] LINK ./bin/llc [56/395] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [57/395] LINK ./bin/llvm-split [58/395] LINK obj/llvm/unittests/CodeGen/CodeGenTests [59/395] LINK ./bin/clang-linker-wrapper [60/395] SOLINK ./lib/libLTO.so [61/395] LINK ./bin/lld [62/395] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [63/395] LINK ./bin/llvm-isel-fuzzer [64/395] LINK ./bin/llvm-reduce [65/395] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [66/395] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [67/395] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [68/395] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [69/395] LINK obj/clang/unittests/Driver/ClangDriverTests [70/395] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [71/395] LINK obj/llvm/unittests/MIR/MIRTests [72/395] LINK ./bin/clang-check [73/395] LINK obj/clang/unittests/Tooling/ToolingTests [74/395] SOLINK ./lib/libclang.so [75/395] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [76/395] LINK obj/clang/unittests/libclang/libclangTests [77/395] LINK ./bin/clang-repl [78/395] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [79/395] LINK ./bin/lldb-test [80/395] LINK ./bin/lldb-dap [81/395] LINK ./bin/c-index-test [82/395] LINK ./bin/lldb [83/395] LINK ./bin/clang [84/395] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [85/395] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [86/395] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [87/395] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [88/395] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [89/395] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [90/395] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [91/395] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [92/395] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [93/395] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [94/395] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [95/395] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [96/395] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [97/395] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [98/395] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [99/395] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [100/395] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [101/395] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [102/395] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [103/395] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [104/395] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [105/395] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [106/395] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [107/207] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [108/207] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [109/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.error_category.o [110/175] CXX stage2_unix/obj/libcxx/src/cxx_static.error_category.o [111/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.stdexcept.o [112/175] CXX stage2_unix/obj/libcxx/src/cxx_static.stdexcept.o [113/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.system_error.o [114/175] CXX stage2_unix/obj/libcxx/src/cxx_static.system_error.o [115/175] CXX stage2_unix/obj/libcxx/src/cxx_static.future.o [116/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.future.o [117/175] SOLINK lib/clang/24/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [118/175] SOLINK lib/clang/24/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [119/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.fstream.o [120/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.barrier.o [121/175] CXX stage2_unix/obj/libcxx/src/cxx_static.fstream.o [122/175] CXX stage2_unix/obj/libcxx/src/cxx_static.barrier.o [123/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.filesystem_error.o [124/175] CXX stage2_unix/obj/libcxx/src/cxx_static.condition_variable.o [125/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.ostream.o [126/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.random_shuffle.o [127/175] CXX stage2_unix/obj/libcxx/src/cxx_static.thread.o [128/175] CXX stage2_unix/obj/libcxx/src/cxx_static.ostream.o [129/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.thread.o [130/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.ios.o [131/175] CXX stage2_unix/obj/libcxx/src/cxx_static.print.o [132/175] CXX stage2_unix/obj/libcxx/src/cxx_static.ios.o [133/175] CXX stage2_unix/obj/libcxx/src/cxx_static.strstream.o [134/175] CXX stage2_unix/obj/libcxx/src/cxx_static.random_shuffle.o [135/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.print.o [136/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.memory.o [137/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.condition_variable.o [138/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.regex.o [139/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.strstream.o [140/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.filesystem_error.o [141/175] CXX stage2_unix/obj/libcxx/src/cxx_static.memory.o [142/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.string.o [143/175] CXX stage2_unix/obj/libcxx/src/cxx_static.string.o [144/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.path.o [145/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.path.o [146/175] CXX stage2_unix/obj/libcxx/src/experimental/cxx_experimental.chrono_exception.o [147/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.random.o [148/175] CXX stage2_unix/obj/libcxx/src/cxx_static.atomic.o [149/175] CXX stage2_unix/obj/libcxx/src/cxx_static.random.o [150/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.atomic.o [151/175] CXX stage2_unix/obj/libcxx/src/cxx_static.iostream.o [152/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.iostream.o [153/175] CXX stage2_unix/obj/libcxx/src/cxx_static.ios.instantiations.o [154/175] CXX stage2_unix/obj/libcxx/src/cxx_static.regex.o [155/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.chrono.o [156/175] CXX stage2_unix/obj/libcxx/src/cxx_static.chrono.o [157/175] CXX stage2_unix/obj/libcxx/src/experimental/cxx_experimental.tzdb_list.o [158/175] CXX stage2_unix/obj/libcxx/src/cxx_shared.ios.instantiations.o [159/175] 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. [160/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.directory_entry.o [161/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.directory_iterator.o [162/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.filesystem_clock.o [163/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.directory_entry.o [164/175] 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. [165/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.operations.o [166/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.directory_iterator.o [167/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.operations.o [168/175] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.filesystem_clock.o [169/175] CXX stage2_unix/obj/libcxx/src/experimental/cxx_experimental.tzdb.o [170/175] CXX stage2_unix/obj/libcxx/src/experimental/cxx_experimental.time_zone.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.