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