ninja: Entering directory `out/gn' [1/10] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [2/10] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [3/10] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [4/10] CXX stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o FAILED: stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o.d -o stage2_unix/obj/libcxx/src/cxx_static.text_encoding.o -c ../../libcxx/src/text_encoding.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++23 -nostdinc++ ../../libcxx/src/text_encoding.cpp:21:8: error: unknown type name 'text_encoding' 21 | static text_encoding __make_text_encoding(const char* __name) { | ^ ../../libcxx/src/text_encoding.cpp:23:12: error: use of undeclared identifier 'text_encoding' 23 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:25:3: error: unknown type name 'string_view' 25 | string_view __name_view(__name); | ^ ../../libcxx/src/text_encoding.cpp:26:28: error: use of undeclared identifier 'text_encoding' 26 | if (__name_view.size() > text_encoding::max_name_length) | ^ ../../libcxx/src/text_encoding.cpp:27:12: error: use of undeclared identifier 'text_encoding' 27 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:32:6: error: no type named 'text_encoding' in namespace 'std' 32 | std::text_encoding __get_locale_encoding(const char* __name) { | ~~~~~^ ../../libcxx/src/text_encoding.cpp:45:12: error: use of undeclared identifier 'text_encoding' 45 | return text_encoding{}; | ^~~~~~~~~~~~~ 7 errors generated. [5/10] CXX stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o FAILED: stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o.d -o stage2_unix/obj/libcxx/src/cxx_shared.text_encoding.o -c ../../libcxx/src/text_encoding.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++23 -nostdinc++ ../../libcxx/src/text_encoding.cpp:21:8: error: unknown type name 'text_encoding' 21 | static text_encoding __make_text_encoding(const char* __name) { | ^ ../../libcxx/src/text_encoding.cpp:23:12: error: use of undeclared identifier 'text_encoding' 23 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:25:3: error: unknown type name 'string_view' 25 | string_view __name_view(__name); | ^ ../../libcxx/src/text_encoding.cpp:26:28: error: use of undeclared identifier 'text_encoding' 26 | if (__name_view.size() > text_encoding::max_name_length) | ^ ../../libcxx/src/text_encoding.cpp:27:12: error: use of undeclared identifier 'text_encoding' 27 | return text_encoding{}; | ^~~~~~~~~~~~~ ../../libcxx/src/text_encoding.cpp:32:6: error: no type named 'text_encoding' in namespace 'std' 32 | std::text_encoding __get_locale_encoding(const char* __name) { | ~~~~~^ ../../libcxx/src/text_encoding.cpp:45:12: error: use of undeclared identifier 'text_encoding' 45 | return text_encoding{}; | ^~~~~~~~~~~~~ 7 errors generated. [6/10] LINK ./bin/lldb ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.