[libcxx-commits] [libcxx] [libc++] Simplify the implementation of __next_prime a bit (PR #143512)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 11 11:43:42 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `libcxx` at step 3 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/21150

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
-- Generated Sanitizer SUPPORTED_TOOLS list on "Linux" is "asan;lsan;hwasan;msan;tsan;ubsan"
-- sanitizer_common tests on "Linux" will run against "asan;lsan;hwasan;msan;tsan;ubsan"
-- check-shadowcallstack does nothing.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins
[142/146] Linking CXX executable bin/c-index-test
[143/146] Performing build step for 'runtimes'
[0/22] cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build && /usr/bin/cmake --build .
[1/2] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS="" -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxxabi/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/cmake/Modules/../../libc -m32 -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -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 -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fno-exceptions -fdebug-prefix-map=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1=/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/include -std=c++2b -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp
FAILED: libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o 
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS="" -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxxabi/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/cmake/Modules/../../libc -m32 -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -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 -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fno-exceptions -fdebug-prefix-map=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1=/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/include -std=c++2b -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp
/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp:59:19: error: static assertion failed due to requirement 'sizeof(unsigned int) == 8'
   59 |     static_assert(sizeof(size_t) == 8);
      |                   ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp:59:34: note: expression evaluates to '4 == 8'
   59 |     static_assert(sizeof(size_t) == 8);
      |                   ~~~~~~~~~~~~~~~^~~~
1 error generated.
ninja: build stopped: subcommand failed.
[16/22] cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins && /usr/bin/cmake -E touch /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/compile_commands.json && /usr/bin/python3.10 /home/botworker/bbot/clang-hip-vega20/llvm-project/runtimes/../llvm/utils/merge-json.py /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/compile_commands.json /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compile_commands.json -o /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/compile_commands.json
FAILED: compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/src/libcxx_fuzzer_i386-stamp/libcxx_fuzzer_i386-build /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/src/libcxx_fuzzer_i386-stamp/libcxx_fuzzer_i386-build 
cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build && /usr/bin/cmake --build .
[18/22] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include/x86_64-unknown-linux-gnu/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxxabi/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/cmake/Modules/../../libc -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -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 -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fdebug-prefix-map=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include/c++/v1=/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/include -std=c++2b -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-stamps/runtimes-build 
cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
Step 7 (Building LLVM) failure: Building LLVM (failure)
...
-- Generated Sanitizer SUPPORTED_TOOLS list on "Linux" is "asan;lsan;hwasan;msan;tsan;ubsan"
-- sanitizer_common tests on "Linux" will run against "asan;lsan;hwasan;msan;tsan;ubsan"
-- check-shadowcallstack does nothing.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins
[142/146] Linking CXX executable bin/c-index-test
[143/146] Performing build step for 'runtimes'
[0/22] cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build && /usr/bin/cmake --build .
[1/2] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS="" -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxxabi/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/cmake/Modules/../../libc -m32 -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -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 -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fno-exceptions -fdebug-prefix-map=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1=/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/include -std=c++2b -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp
FAILED: libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o 
/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS="" -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxxabi/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/cmake/Modules/../../libc -m32 -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -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 -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fno-exceptions -fdebug-prefix-map=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build/include/c++/v1=/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/include -std=c++2b -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp
/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp:59:19: error: static assertion failed due to requirement 'sizeof(unsigned int) == 8'
   59 |     static_assert(sizeof(size_t) == 8);
      |                   ^~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp:59:34: note: expression evaluates to '4 == 8'
   59 |     static_assert(sizeof(size_t) == 8);
      |                   ~~~~~~~~~~~~~~~^~~~
1 error generated.
ninja: build stopped: subcommand failed.
[16/22] cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins && /usr/bin/cmake -E touch /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/compile_commands.json && /usr/bin/python3.10 /home/botworker/bbot/clang-hip-vega20/llvm-project/runtimes/../llvm/utils/merge-json.py /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/compile_commands.json /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compile_commands.json -o /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/compile_commands.json
FAILED: compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/src/libcxx_fuzzer_i386-stamp/libcxx_fuzzer_i386-build /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/src/libcxx_fuzzer_i386-stamp/libcxx_fuzzer_i386-build 
cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_i386/build && /usr/bin/cmake --build .
[18/22] /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBCXX_BUILDING_LIBCXXABI -DLIBC_NAMESPACE=__llvm_libc_common_utils -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_LINK_PTHREAD_LIB -D_LIBCPP_LINK_RT_LIB -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include/x86_64-unknown-linux-gnu/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include/c++/v1 -I/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxxabi/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/cmake/Modules/../../libc -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -faligned-allocation -nostdinc++ -fvisibility-inlines-hidden -fvisibility=hidden -fsized-deallocation -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 -Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override -Wno-error -fdebug-prefix-map=/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include/c++/v1=/home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/include -std=c++2b -MD -MT libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -MF libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o.d -o libcxx/src/CMakeFiles/cxx_static.dir/hash.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/libcxx/src/hash.cpp
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-stamps/runtimes-build 
cd /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
program finished with exit code 1
elapsedTime=44.921908

```

</details>

https://github.com/llvm/llvm-project/pull/143512


More information about the libcxx-commits mailing list