ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/9] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/9] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/9] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [4/9] 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. [5/9] 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.