[libc-commits] [libc] [libc][complex] Added support for CFP16 and CFP128 (PR #112594)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Thu Oct 17 23:27:46 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-aarch64-ubuntu-dbg` running on `libc-aarch64-ubuntu` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/104/builds/8732
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
Running: ninja libc-unit-tests
[1/3861] Linking C executable projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__
[2/3861] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
[3/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.stdckdint_test.__unit__.__build__.dir/stdckdint_test.cpp.o
[4/3861] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feholdexcept.__internal__.dir/feholdexcept.cpp.o
[5/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.assert_test.__unit__.__build__.dir/assert_test.cpp.o
[6/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.sys_queue_test.__unit__.__build__.dir/sys/queue_test.cpp.o
warning: unknown warning option '-Wno-gnu-statement-expression-from-macro-expansion'; did you mean '-Wno-gnu-statement-expression'? [-Wunknown-warning-option]
1 warning generated.
[7/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o
FAILED: projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -Iprojects/libc/test/include -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc -isystem projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -fpie -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -std=c++17 -MD -MT projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o -MF projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o.d -o projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o -c /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:12:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/UnitTest/FPMatcher.h:14:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/src/__support/macros/properties/complex_types.h:14:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-types/cfloat16.h:17:9: error: '_Complex _Float16' is invalid
typedef _Complex _Float16 cfloat16;
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-function-macros.h:12:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-macros.h:29:9: warning: 'HUGE_VAL' macro redefined [-Wmacro-redefined]
#define HUGE_VAL __builtin_huge_val()
^
/usr/include/math.h:48:10: note: previous definition is here
# define HUGE_VAL (__builtin_huge_val ())
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-function-macros.h:12:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-macros.h:30:9: warning: 'HUGE_VALF' macro redefined [-Wmacro-redefined]
#define HUGE_VALF __builtin_huge_valf()
^
/usr/include/math.h:59:11: note: previous definition is here
# define HUGE_VALF (__builtin_huge_valf ())
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-function-macros.h:12:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-macros.h:31:9: warning: 'INFINITY' macro redefined [-Wmacro-redefined]
#define INFINITY __builtin_inff()
^
/usr/include/math.h:91:11: note: previous definition is here
# define INFINITY (__builtin_inff ())
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
Running: ninja libc-unit-tests
[1/3861] Linking C executable projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__
[2/3861] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
[3/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.stdckdint_test.__unit__.__build__.dir/stdckdint_test.cpp.o
[4/3861] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feholdexcept.__internal__.dir/feholdexcept.cpp.o
[5/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.assert_test.__unit__.__build__.dir/assert_test.cpp.o
[6/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.sys_queue_test.__unit__.__build__.dir/sys/queue_test.cpp.o
warning: unknown warning option '-Wno-gnu-statement-expression-from-macro-expansion'; did you mean '-Wno-gnu-statement-expression'? [-Wunknown-warning-option]
1 warning generated.
[7/3861] Building CXX object projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o
FAILED: projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -Iprojects/libc/test/include -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc -isystem projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -fpie -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -std=c++17 -MD -MT projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o -MF projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o.d -o projects/libc/test/include/CMakeFiles/libc.test.include.isinfl_test.__unit__.__build__.dir/isinfl_test.cpp.o -c /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:12:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/UnitTest/FPMatcher.h:14:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/src/__support/macros/properties/complex_types.h:14:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-types/cfloat16.h:17:9: error: '_Complex _Float16' is invalid
typedef _Complex _Float16 cfloat16;
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-function-macros.h:12:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-macros.h:29:9: warning: 'HUGE_VAL' macro redefined [-Wmacro-redefined]
#define HUGE_VAL __builtin_huge_val()
^
/usr/include/math.h:48:10: note: previous definition is here
# define HUGE_VAL (__builtin_huge_val ())
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-function-macros.h:12:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-macros.h:30:9: warning: 'HUGE_VALF' macro redefined [-Wmacro-redefined]
#define HUGE_VALF __builtin_huge_valf()
^
/usr/include/math.h:59:11: note: previous definition is here
# define HUGE_VALF (__builtin_huge_valf ())
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-function-macros.h:12:
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/include/llvm-libc-macros/math-macros.h:31:9: warning: 'INFINITY' macro redefined [-Wmacro-redefined]
#define INFINITY __builtin_inff()
^
/usr/include/math.h:91:11: note: previous definition is here
# define INFINITY (__builtin_inff ())
^
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/isinfl_test.cpp:9:
In file included from /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/include/IsInfTest.h:15:
```
</details>
https://github.com/llvm/llvm-project/pull/112594
More information about the libc-commits
mailing list