ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/326] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [2/326] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [3/326] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [4/326] CXX obj/clang/lib/Sema/Sema.SemaChecking.o [5/326] CXX obj/clang/lib/Sema/Sema.SemaOpenMP.o [6/326] AR lib/libclangSema.a [7/326] LINK obj/clang/unittests/DependencyScanning/ClangDependencyScanningTests [8/326] LINK ./bin/clang-offload-bundler [9/326] LINK obj/clang/unittests/Format/FormatTests [10/326] LINK obj/clang/unittests/Parse/ParseTests [11/326] LINK ./bin/diagtool [12/326] LINK ./bin/find-all-symbols [13/326] LINK ./bin/lldb-server [14/326] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [15/326] LINK ./bin/clang-reorder-fields [16/326] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [17/326] LINK ./bin/clang-refactor [18/326] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [19/326] LINK obj/clang-tools-extra/include-cleaner/unittests/ClangIncludeCleanerTests [20/326] LINK ./bin/modularize [21/326] LINK ./bin/pp-trace [22/326] LINK ./bin/clang-diff [23/326] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [24/326] LINK obj/clang/unittests/ScalableStaticAnalysis/ClangScalableAnalysisTests [25/326] LINK ./bin/clang-doc [26/326] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [27/326] LINK obj/clang/unittests/AST/ByteCode/InterpTests [28/326] LINK obj/clang/unittests/Rewrite/RewriteTests [29/326] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [30/326] LINK ./bin/clang-include-fixer [31/326] LINK ./bin/clang-change-namespace [32/326] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [33/326] LINK ./bin/clang-move [34/326] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [35/326] LINK obj/clang/unittests/Lex/LexTests [36/326] LINK obj/clang/unittests/Serialization/SerializationTests [37/326] LINK obj/clang/unittests/Support/ClangSupportTests [38/326] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [39/326] LINK ./bin/clangd-remap [40/326] LINK obj/clang/unittests/Index/IndexTests [41/326] LINK ./bin/clang-installapi [42/326] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [43/326] LINK ./bin/clang-query [44/326] LINK ./bin/dexp [45/326] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [46/326] LINK ./bin/clang-extdef-mapping [47/326] LINK obj/clang/unittests/Sema/SemaTests [48/326] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [49/326] LINK ./bin/clang-import-test [50/326] LINK ./bin/clang-scan-deps [51/326] LINK obj/clang/unittests/AST/ASTTests [52/326] LINK obj/clang/unittests/CrossTU/CrossTUTests [53/326] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [54/326] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [55/326] LINK ./bin/clangd [56/326] LINK ./bin/clang-tidy [57/326] LINK ./bin/clangd-indexer [58/326] LINK obj/clang/unittests/Tooling/ToolingTests [59/326] LINK obj/clang/unittests/Frontend/FrontendTests [60/326] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [61/326] LINK obj/clang/unittests/Driver/ClangDriverTests [62/326] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [63/326] LINK ./bin/clang-check [64/326] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [65/326] LINK ./bin/lldb-test [66/326] LINK ./bin/clang-repl [67/326] LINK ./bin/lldb-dap [68/326] SOLINK ./lib/libclang.so [69/326] LINK ./bin/clang [70/326] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [71/326] LINK obj/clang/unittests/libclang/libclangTests [72/326] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [73/326] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [74/326] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [75/326] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [76/326] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [77/326] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [78/326] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [79/326] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [80/326] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [81/326] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [82/326] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [83/326] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [84/326] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [85/326] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [86/326] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [87/138] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [88/138] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [89/138] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [90/138] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [91/138] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [92/138] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [93/138] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [94/138] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [95/138] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [96/138] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [97/106] LINK ./bin/lldb [98/106] LINK ./bin/c-index-test [99/106] SOLINK lib/clang/24/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [100/106] SOLINK lib/clang/24/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [101/106] 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. [102/106] 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. ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.