github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3246 tests passed
* 7 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a
failure below to see the details.
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__build__.dir/shared_math_constexpr_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -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/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__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_FMA_OPT.__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_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__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_FMA_OPT.__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_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>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</summary>
```
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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -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/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -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/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_FMA_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_FMA_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_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>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</summary>
```
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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -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/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -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/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_constexpr_test.cpp:11:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>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</summary>
```
FAILED:
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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
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
-MF
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.d
-o
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
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
<details>
<summary>libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o</summary>
```
FAILED:
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++
--target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_23_0_0_git
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc
-isystem
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror
-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 -Wno-pass-failed -Wmisleading-indentation
-Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections
-fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=gnu++17 -UNDEBUG
-mavx2 -mfma -D__LIBC_USE_BUILTIN_ISNAN -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 -ffixed-point -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 -MD -MT
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
-MF
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o.d
-o
libc/test/shared/CMakeFiles/libc.test.shared.shared_math_test.__unit__.__NO_ROUND_OPT.__build__.dir/shared_math_test.cpp.o
-c
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/test/shared/shared_math_test.cpp:9:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/shared/math/acos.h:13:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/acos.h:12:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/math/asin_utils.h:14:
In file included from
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/dyadic_float.h:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:40:52:
error: 'feclearexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
40 | LIBC_INLINE int clear_except(int excepts) { return feclearexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:42:51:
error: 'fetestexcept' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
42 | LIBC_INLINE int test_except(int excepts) { return fetestexcept(excepts); }
| ^~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:46:3:
error: 'fegetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
46 | fegetexceptflag(&excepts, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:52:10:
error: 'fesetexceptflag' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
52 | return fesetexceptflag(&exc, FE_ALL_EXCEPT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:55:52:
error: 'feraiseexcept' used without enabling floating-point exception
behavior; use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
55 | LIBC_INLINE int raise_except(int excepts) { return feraiseexcept(excepts);
}
| ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:57:38:
error: 'fegetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
57 | LIBC_INLINE int get_round() { return fegetround(); }
| ^~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:60:10:
error: 'fesetround' used without enabling floating-point exception behavior;
use 'pragma STDC FENV_ACCESS ON' or compile with
'-ffp-exception-behavior=maytrap' [-Werror,-Wfenv-access]
60 | return fesetround(rounding_mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken
or flaky at HEAD), please open an issue at
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/198258
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits