[libc-commits] [libc] [llvm] [libc][math] Refactor iscanonical-issignaling-nan family to header-only (PR #195581)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Sun May 3 23:40:17 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg` running on `libc-x86_64-debian` while building `libc,utils` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[       OK ] LlvmLibcTermiosTest.GetAttrSmokeTest (20 us)
[ RUN      ] LlvmLibcTermiosTest.TcGetSidSmokeTest
[       OK ] LlvmLibcTermiosTest.TcGetSidSmokeTest (8 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[2886/2941] Running unit test libc.test.utils.UnitTest.testfilter_test
[==========] Running 5 tests from 1 test suite.
[ RUN      ] LlvmLibcTestFilterTest.NoFilter
[       OK ] LlvmLibcTestFilterTest.NoFilter (4 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[2887/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2888/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -msse4.2 -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2889/2941] Running unit test libc.test.shared.shared_rpc_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSharedRpcTest.TestIncrement
[       OK ] LlvmLibcSharedRpcTest.TestIncrement (14 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[2890/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -msse4.2 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2891/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2892/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -msse4.2 -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2893/2941] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN      ] LlvmLibcStrtoimaxTest.InvalidBase
[       OK ] LlvmLibcStrtoimaxTest.InvalidBase (6 us)
[ RUN      ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode
[       OK ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode (13 us)
[ RUN      ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode
[       OK ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode (11 us)
[ RUN      ] LlvmLibcStrtoimaxTest.DecodeInOtherBases
[       OK ] LlvmLibcStrtoimaxTest.DecodeInOtherBases (646 ms)
[ RUN      ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode
[       OK ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode (16 us)
[ RUN      ] LlvmLibcStrtoimaxTest.MessyBaseSixteenDecode
[       OK ] LlvmLibcStrtoimaxTest.MessyBaseSixteenDecode (6 us)
[ RUN      ] LlvmLibcStrtoimaxTest.AutomaticBaseSelection
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[       OK ] LlvmLibcTermiosTest.GetAttrSmokeTest (20 us)
[ RUN      ] LlvmLibcTermiosTest.TcGetSidSmokeTest
[       OK ] LlvmLibcTermiosTest.TcGetSidSmokeTest (8 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[2886/2941] Running unit test libc.test.utils.UnitTest.testfilter_test
[==========] Running 5 tests from 1 test suite.
[ RUN      ] LlvmLibcTestFilterTest.NoFilter
[       OK ] LlvmLibcTestFilterTest.NoFilter (4 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[2887/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2888/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -msse4.2 -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2889/2941] Running unit test libc.test.shared.shared_rpc_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSharedRpcTest.TestIncrement
[       OK ] LlvmLibcSharedRpcTest.TestIncrement (14 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[2890/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -msse4.2 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2891/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2892/2941] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
FAILED: libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/libc/include -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 -g -msse4.2 -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_LENGTH_IMPL=clang_vector -DLIBC_COPT_FIND_FIRST_CHARACTER_IMPL=word -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY -DLIBC_CONF_WCTYPE_MODE=LIBC_WCTYPE_MODE_ASCII -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=100 -fpie -Wall -Wextra -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -DLIBC_TEST=UNIT -Xclang -fconstexpr-steps=1000000 -std=gnu++17 -MD -MT libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -MF libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o.d -o libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[2893/2941] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN      ] LlvmLibcStrtoimaxTest.InvalidBase
[       OK ] LlvmLibcStrtoimaxTest.InvalidBase (6 us)
[ RUN      ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode
[       OK ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode (13 us)
[ RUN      ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode
[       OK ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode (11 us)
[ RUN      ] LlvmLibcStrtoimaxTest.DecodeInOtherBases
[       OK ] LlvmLibcStrtoimaxTest.DecodeInOtherBases (646 ms)
[ RUN      ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode
[       OK ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode (16 us)
[ RUN      ] LlvmLibcStrtoimaxTest.MessyBaseSixteenDecode
[       OK ] LlvmLibcStrtoimaxTest.MessyBaseSixteenDecode (6 us)
[ RUN      ] LlvmLibcStrtoimaxTest.AutomaticBaseSelection

```

</details>

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


More information about the libc-commits mailing list