[libc-commits] [libc] [libc][complex] implement different flavors of `creal` and `cimag` functions (PR #113300)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Sat Nov 2 21:11:48 PDT 2024


llvm-ci wrote:

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

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[       OK ] LlvmLibcTableTest.Insertion (128 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[1724/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isblank_test.__unit__.__build__.dir/isblank_test.cpp.o
[1725/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.crealf128_test.__unit__.__build__
[1726/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creal_test.__unit__.__build__.dir/creal_test.cpp.o
[1727/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf_test.__unit__.__build__.dir/cimagf_test.cpp.o
[1728/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.iscntrl_test.__unit__.__build__.dir/iscntrl_test.cpp.o
[1729/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf_test.__unit__.__build__.dir/crealf_test.cpp.o
[1730/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isascii_test.__unit__.__build__
[1731/4848] Running unit test libc.test.src.complex.crealf128_test.__unit__
FAILED: projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf128_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf128_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/test/src/complex && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/test/src/complex/libc.test.src.complex.crealf128_test.__unit__.__build__
No tests run.
[1732/4848] Running unit test libc.test.src.ctype.isascii_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcIsAscii.DefaultLocale
[       OK ] LlvmLibcIsAscii.DefaultLocale (34 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[1733/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isprint_test.__unit__.__build__.dir/isprint_test.cpp.o
[1734/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creall_test.__unit__.__build__.dir/creall_test.cpp.o
[1735/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isdigit_test.__unit__.__build__
[1736/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf128_test.__unit__.__build__
[1737/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isalpha_test.__unit__.__build__
[1738/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isgraph_test.__unit__.__build__.dir/isgraph_test.cpp.o
[1739/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isblank_test.__unit__.__build__
[1740/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.iscntrl_test.__unit__.__build__
[1741/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf_test.__unit__.__build__
[1742/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.creal_test.__unit__.__build__
[1743/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.crealf_test.__unit__.__build__
[1744/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.islower_test.__unit__.__build__.dir/islower_test.cpp.o
[1745/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagl_test.__unit__.__build__.dir/cimagl_test.cpp.o
[1746/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.ispunct_test.__unit__.__build__.dir/ispunct_test.cpp.o
[1747/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimag_test.__unit__.__build__.dir/cimag_test.cpp.o
[1748/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isxdigit_test.__unit__.__build__.dir/isxdigit_test.cpp.o
[1749/4848] Running unit test libc.test.src.__support.threads.linux.raw_mutex_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcSupportThreadsRawMutexTest.SmokeTest
[       OK ] LlvmLibcSupportThreadsRawMutexTest.SmokeTest (3 us)
[ RUN      ] LlvmLibcSupportThreadsRawMutexTest.Timeout
[       OK ] LlvmLibcSupportThreadsRawMutexTest.Timeout (315 us)
[ RUN      ] LlvmLibcSupportThreadsRawMutexTest.PSharedLock
[       OK ] LlvmLibcSupportThreadsRawMutexTest.PSharedLock (9 ms)
Ran 3 tests.  PASS: 3  FAIL: 0
[1750/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isspace_test.__unit__.__build__.dir/isspace_test.cpp.o
[1751/4848] Building CXX object projects/libc/test/src/__support/FPUtil/CMakeFiles/libc.test.src.__support.FPUtil.fpbits_test.__unit__.__build__.dir/fpbits_test.cpp.o
[1752/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.toupper_test.__unit__.__build__.dir/toupper_test.cpp.o
[1753/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isupper_test.__unit__.__build__.dir/isupper_test.cpp.o
[1754/4848] Building CXX object projects/libc/test/src/fenv/CMakeFiles/libc.test.src.fenv.feclearexcept_test.__build__.dir/feclearexcept_test.cpp.o
[1755/4848] Building CXX object projects/libc/test/src/errno/CMakeFiles/libc.test.src.errno.errno_test.__build__.dir/errno_test.cpp.o
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[       OK ] LlvmLibcTableTest.Insertion (128 us)
Ran 4 tests.  PASS: 4  FAIL: 0
[1724/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isblank_test.__unit__.__build__.dir/isblank_test.cpp.o
[1725/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.crealf128_test.__unit__.__build__
[1726/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creal_test.__unit__.__build__.dir/creal_test.cpp.o
[1727/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagf_test.__unit__.__build__.dir/cimagf_test.cpp.o
[1728/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.iscntrl_test.__unit__.__build__.dir/iscntrl_test.cpp.o
[1729/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf_test.__unit__.__build__.dir/crealf_test.cpp.o
[1730/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isascii_test.__unit__.__build__
[1731/4848] Running unit test libc.test.src.complex.crealf128_test.__unit__
FAILED: projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf128_test.__unit__ /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.crealf128_test.__unit__ 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/test/src/complex && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/test/src/complex/libc.test.src.complex.crealf128_test.__unit__.__build__
No tests run.
[1732/4848] Running unit test libc.test.src.ctype.isascii_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcIsAscii.DefaultLocale
[       OK ] LlvmLibcIsAscii.DefaultLocale (34 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[1733/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isprint_test.__unit__.__build__.dir/isprint_test.cpp.o
[1734/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.creall_test.__unit__.__build__.dir/creall_test.cpp.o
[1735/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isdigit_test.__unit__.__build__
[1736/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf128_test.__unit__.__build__
[1737/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isalpha_test.__unit__.__build__
[1738/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isgraph_test.__unit__.__build__.dir/isgraph_test.cpp.o
[1739/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.isblank_test.__unit__.__build__
[1740/4848] Linking CXX executable projects/libc/test/src/ctype/libc.test.src.ctype.iscntrl_test.__unit__.__build__
[1741/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.cimagf_test.__unit__.__build__
[1742/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.creal_test.__unit__.__build__
[1743/4848] Linking CXX executable projects/libc/test/src/complex/libc.test.src.complex.crealf_test.__unit__.__build__
[1744/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.islower_test.__unit__.__build__.dir/islower_test.cpp.o
[1745/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimagl_test.__unit__.__build__.dir/cimagl_test.cpp.o
[1746/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.ispunct_test.__unit__.__build__.dir/ispunct_test.cpp.o
[1747/4848] Building CXX object projects/libc/test/src/complex/CMakeFiles/libc.test.src.complex.cimag_test.__unit__.__build__.dir/cimag_test.cpp.o
[1748/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isxdigit_test.__unit__.__build__.dir/isxdigit_test.cpp.o
[1749/4848] Running unit test libc.test.src.__support.threads.linux.raw_mutex_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcSupportThreadsRawMutexTest.SmokeTest
[       OK ] LlvmLibcSupportThreadsRawMutexTest.SmokeTest (3 us)
[ RUN      ] LlvmLibcSupportThreadsRawMutexTest.Timeout
[       OK ] LlvmLibcSupportThreadsRawMutexTest.Timeout (315 us)
[ RUN      ] LlvmLibcSupportThreadsRawMutexTest.PSharedLock
[       OK ] LlvmLibcSupportThreadsRawMutexTest.PSharedLock (9 ms)
Ran 3 tests.  PASS: 3  FAIL: 0
[1750/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isspace_test.__unit__.__build__.dir/isspace_test.cpp.o
[1751/4848] Building CXX object projects/libc/test/src/__support/FPUtil/CMakeFiles/libc.test.src.__support.FPUtil.fpbits_test.__unit__.__build__.dir/fpbits_test.cpp.o
[1752/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.toupper_test.__unit__.__build__.dir/toupper_test.cpp.o
[1753/4848] Building CXX object projects/libc/test/src/ctype/CMakeFiles/libc.test.src.ctype.isupper_test.__unit__.__build__.dir/isupper_test.cpp.o
[1754/4848] Building CXX object projects/libc/test/src/fenv/CMakeFiles/libc.test.src.fenv.feclearexcept_test.__build__.dir/feclearexcept_test.cpp.o
[1755/4848] Building CXX object projects/libc/test/src/errno/CMakeFiles/libc.test.src.errno.errno_test.__build__.dir/errno_test.cpp.o

```

</details>

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


More information about the libc-commits mailing list