[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:35:31 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-aarch64-ubuntu-fullbuild-dbg` running on `libc-aarch64-ubuntu` while building `libc,utils` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/71/builds/47381
<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)
...
[930/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpbf16_test.__unit__.__build__.dir/fromfpbf16_test.cpp.o
[931/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fmaximum_magbf16_test.__unit__.__build__
[932/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.dfmal_test.__unit__.__build__
[933/1926] Running unit test libc.test.src.math.smoke.dfmal_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFmaTest.SpecialNumbers
[ OK ] LlvmLibcFmaTest.SpecialNumbers (113 us)
Ran 1 tests. PASS: 1 FAIL: 0
[934/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.llroundbf16_test.__unit__.__build__
[935/1926] 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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc -Ilibc -isystem 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 -fdiagnostics-color -g -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 -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[936/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.llrintbf16_test.__unit__.__build__
[937/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.ufromfpbf16_test.__unit__.__build__.dir/ufromfpbf16_test.cpp.o
[938/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpbf16_test.__unit__.__build__
[939/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.sinpif_test.__unit__.__build__
[940/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fminimum_magf_test.__unit__.__build__.dir/fminimum_magf_test.cpp.o
[941/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.bf16addl_test.__unit__.__build__.dir/bf16addl_test.cpp.o
[942/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpxbf16_test.__unit__.__build__.dir/fromfpxbf16_test.cpp.o
[943/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.ceilbf16_test.__unit__.__NO_ROUND_OPT.__build__.dir/ceilbf16_test.cpp.o
[944/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fminbf16_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/fminbf16_test.cpp.o
[945/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.canonicalizebf16_test.__unit__.__build__.dir/canonicalizebf16_test.cpp.o
[946/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.bfloat16_add_test.__unit__.__build__.dir/bfloat16_add_test.cpp.o
[947/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.truncbf16_test.__unit__.__build__.dir/truncbf16_test.cpp.o
[948/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.lroundbf16_test.__unit__.__build__.dir/lroundbf16_test.cpp.o
[949/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.nearbyintbf16_test.__unit__.__build__.dir/nearbyintbf16_test.cpp.o
[950/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.nextafterbf16_test.__unit__.__build__.dir/nextafterbf16_test.cpp.o
[951/1926] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
[952/1926] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
ninja: build stopped: subcommand failed.
['ninja', 'libc-unit-tests'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 181, in step
yield
File "../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 154, in main
run_command(['ninja', 'libc-unit-tests'])
File "../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 196, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['ninja', 'libc-unit-tests']' returned non-zero exit status 1
@@@STEP_FAILURE@@@
@@@BUILD_STEP libc-integration-tests@@@
Running: ninja libc-integration-tests
[1/45] Running integration test libc.test.integration.startup.linux.startup_irelative_no_ifunc_test
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[930/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpbf16_test.__unit__.__build__.dir/fromfpbf16_test.cpp.o
[931/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fmaximum_magbf16_test.__unit__.__build__
[932/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.dfmal_test.__unit__.__build__
[933/1926] Running unit test libc.test.src.math.smoke.dfmal_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFmaTest.SpecialNumbers
[ OK ] LlvmLibcFmaTest.SpecialNumbers (113 us)
Ran 1 tests. PASS: 1 FAIL: 0
[934/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.llroundbf16_test.__unit__.__build__
[935/1926] 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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc -Ilibc -isystem 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 -fdiagnostics-color -g -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 -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
error: unknown argument: '-fconstexpr-steps=1000000'
[936/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.llrintbf16_test.__unit__.__build__
[937/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.ufromfpbf16_test.__unit__.__build__.dir/ufromfpbf16_test.cpp.o
[938/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpbf16_test.__unit__.__build__
[939/1926] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.sinpif_test.__unit__.__build__
[940/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fminimum_magf_test.__unit__.__build__.dir/fminimum_magf_test.cpp.o
[941/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.bf16addl_test.__unit__.__build__.dir/bf16addl_test.cpp.o
[942/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpxbf16_test.__unit__.__build__.dir/fromfpxbf16_test.cpp.o
[943/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.ceilbf16_test.__unit__.__NO_ROUND_OPT.__build__.dir/ceilbf16_test.cpp.o
[944/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fminbf16_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/fminbf16_test.cpp.o
[945/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.canonicalizebf16_test.__unit__.__build__.dir/canonicalizebf16_test.cpp.o
[946/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.bfloat16_add_test.__unit__.__build__.dir/bfloat16_add_test.cpp.o
[947/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.truncbf16_test.__unit__.__build__.dir/truncbf16_test.cpp.o
[948/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.lroundbf16_test.__unit__.__build__.dir/lroundbf16_test.cpp.o
[949/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.nearbyintbf16_test.__unit__.__build__.dir/nearbyintbf16_test.cpp.o
[950/1926] Building CXX object libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.nextafterbf16_test.__unit__.__build__.dir/nextafterbf16_test.cpp.o
[951/1926] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
[952/1926] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
ninja: build stopped: subcommand failed.
['ninja', 'libc-unit-tests'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 181, in step
yield
File "../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 154, in main
run_command(['ninja', 'libc-unit-tests'])
File "../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 196, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['ninja', 'libc-unit-tests']' returned non-zero exit status 1
```
</details>
https://github.com/llvm/llvm-project/pull/195581
More information about the libc-commits
mailing list