[libc-commits] [libc] [libc] Add iswctype and wctype (PR #191178)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Fri Apr 17 03:55:26 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/23004
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --cmake-file=AMDGPULibcBot.cmake' (failure)
...
[2634/2713] Copying compiler-rt's sanitizer/linux_syscall_hooks.h...
[2635/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/ryu/d2s.cpp.o
[2636/2713] Copying compiler-rt's sanitizer/lsan_interface.h...
[2637/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/error_category.cpp.o
[2638/2713] Copying compiler-rt's sanitizer/msan_interface.h...
[2639/2713] Copying compiler-rt's sanitizer/netbsd_syscall_hooks.h...
[2640/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/new.cpp.o
[2641/2713] Building CXX object libcxx/src/CMakeFiles/cxx_experimental.dir/experimental/log_hardening_failure.cpp.o
[2642/2713] Copying compiler-rt's sanitizer/tsan_interface_atomic.h...
[2643/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o
FAILED: libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/./bin/clang++ --target=amdgcn-amd-amdhsa -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_SINGLE -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_AVAILABILITY_MINIMUM_HEADER_VERSION=2 -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/amdgcn-amd-amdhsa/c++/v1 -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/c++/v1 -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxxabi/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc -isystem /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/amdgcn-amd-amdhsa -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -UNDEBUG -std=c++26 -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -nogpulib -flto -fconvergent-functions -Xclang -mcode-object-version=none -Wall -Wextra -Wnewline-eof -Wshadow -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wundef -Wunused-template -Wformat-nonliteral -Wzero-length-array -Wdeprecated-redundant-constexpr-static-def -Wno-nullability-completeness -Wmissing-prototypes -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fno-exceptions -fno-rtti -fdebug-prefix-map=/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/c++/v1=/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/include -nostdlibinc -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src/charconv.cpp
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src/charconv.cpp:12:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src/include/from_chars_floating_point.h:25:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/shared/str_to_float.h:13:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/str_to_float.h:29:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/high_precision_decimal.h:22:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/str_to_integer.h:28:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:586:3: error: unknown type name 'wctype_t'
586 | wctype_t desc;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:589:23: error: unknown type name 'wctype_t'
589 | LIBC_INLINE constexpr wctype_t WCTYPE_INVALID = 0;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:590:23: error: unknown type name 'wctype_t'
590 | LIBC_INLINE constexpr wctype_t WCTYPE_ALNUM = 1;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:591:23: error: unknown type name 'wctype_t'
591 | LIBC_INLINE constexpr wctype_t WCTYPE_ALPHA = 2;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:592:23: error: unknown type name 'wctype_t'
592 | LIBC_INLINE constexpr wctype_t WCTYPE_BLANK = 3;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:593:23: error: unknown type name 'wctype_t'
593 | LIBC_INLINE constexpr wctype_t WCTYPE_CNTRL = 4;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:594:23: error: unknown type name 'wctype_t'
594 | LIBC_INLINE constexpr wctype_t WCTYPE_DIGIT = 5;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:595:23: error: unknown type name 'wctype_t'
595 | LIBC_INLINE constexpr wctype_t WCTYPE_GRAPH = 6;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:596:23: error: unknown type name 'wctype_t'
596 | LIBC_INLINE constexpr wctype_t WCTYPE_LOWER = 7;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:597:23: error: unknown type name 'wctype_t'
597 | LIBC_INLINE constexpr wctype_t WCTYPE_PRINT = 8;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:598:23: error: unknown type name 'wctype_t'
Step 7 (build cmake config) failure: build cmake config (failure)
...
[2634/2713] Copying compiler-rt's sanitizer/linux_syscall_hooks.h...
[2635/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/ryu/d2s.cpp.o
[2636/2713] Copying compiler-rt's sanitizer/lsan_interface.h...
[2637/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/error_category.cpp.o
[2638/2713] Copying compiler-rt's sanitizer/msan_interface.h...
[2639/2713] Copying compiler-rt's sanitizer/netbsd_syscall_hooks.h...
[2640/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/new.cpp.o
[2641/2713] Building CXX object libcxx/src/CMakeFiles/cxx_experimental.dir/experimental/log_hardening_failure.cpp.o
[2642/2713] Copying compiler-rt's sanitizer/tsan_interface_atomic.h...
[2643/2713] Building CXX object libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o
FAILED: libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/./bin/clang++ --target=amdgcn-amd-amdhsa -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_SINGLE -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_AVAILABILITY_MINIMUM_HEADER_VERSION=2 -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/amdgcn-amd-amdhsa/c++/v1 -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/c++/v1 -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxxabi/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc -isystem /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/amdgcn-amd-amdhsa -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -UNDEBUG -std=c++26 -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -nogpulib -flto -fconvergent-functions -Xclang -mcode-object-version=none -Wall -Wextra -Wnewline-eof -Wshadow -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wundef -Wunused-template -Wformat-nonliteral -Wzero-length-array -Wdeprecated-redundant-constexpr-static-def -Wno-nullability-completeness -Wmissing-prototypes -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fno-exceptions -fno-rtti -fdebug-prefix-map=/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include/c++/v1=/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/include -nostdlibinc -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/charconv.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src/charconv.cpp
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src/charconv.cpp:12:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/libcxx/src/include/from_chars_floating_point.h:25:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/shared/str_to_float.h:13:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/str_to_float.h:29:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/high_precision_decimal.h:22:
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/str_to_integer.h:28:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:586:3: error: unknown type name 'wctype_t'
586 | wctype_t desc;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:589:23: error: unknown type name 'wctype_t'
589 | LIBC_INLINE constexpr wctype_t WCTYPE_INVALID = 0;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:590:23: error: unknown type name 'wctype_t'
590 | LIBC_INLINE constexpr wctype_t WCTYPE_ALNUM = 1;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:591:23: error: unknown type name 'wctype_t'
591 | LIBC_INLINE constexpr wctype_t WCTYPE_ALPHA = 2;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:592:23: error: unknown type name 'wctype_t'
592 | LIBC_INLINE constexpr wctype_t WCTYPE_BLANK = 3;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:593:23: error: unknown type name 'wctype_t'
593 | LIBC_INLINE constexpr wctype_t WCTYPE_CNTRL = 4;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:594:23: error: unknown type name 'wctype_t'
594 | LIBC_INLINE constexpr wctype_t WCTYPE_DIGIT = 5;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:595:23: error: unknown type name 'wctype_t'
595 | LIBC_INLINE constexpr wctype_t WCTYPE_GRAPH = 6;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:596:23: error: unknown type name 'wctype_t'
596 | LIBC_INLINE constexpr wctype_t WCTYPE_LOWER = 7;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:597:23: error: unknown type name 'wctype_t'
597 | LIBC_INLINE constexpr wctype_t WCTYPE_PRINT = 8;
| ^
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/cmake/Modules/../../libc/src/__support/wctype_utils.h:598:23: error: unknown type name 'wctype_t'
```
</details>
https://github.com/llvm/llvm-project/pull/191178
More information about the libc-commits
mailing list