[libc-commits] [libc] [llvm] [libc] Implement generic SIMD helper 'simd.h' and implement strlen (PR #152605)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Tue Sep 2 06:07:56 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-riscv32-qemu-yocto-fullbuild-dbg` running on `rv32gc-qemu-system` while building `libc,utils` at step 4 "annotate".

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

<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)
...
sh: line 1: /timer.12858: Permission denied
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcUnistdGetEntropyTest.LengthTooLong
[       OK ] LlvmLibcUnistdGetEntropyTest.LengthTooLong (692 us)
[ RUN      ] LlvmLibcUnistdGetEntropyTest.SmokeTest
[       OK ] LlvmLibcUnistdGetEntropyTest.SmokeTest (599 us)
[ RUN      ] LlvmLibcUnistdGetEntropyTest.OtherError
[       OK ] LlvmLibcUnistdGetEntropyTest.OtherError (131 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[6712/6851] Running unit test libc.test.src.fcntl.openat_test
FAILED: libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test 
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/libc.test.src.fcntl.openat_test.__build__
sh: line 1: /timer.12867: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcUniStd.OpenAndReadTest
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/fcntl/openat_test.cpp:30: FAILURE
      Expected: 0
      Which is: 0
To be equal to: static_cast<int>(libc_errno)
      Which is: 2
[  FAILED  ] LlvmLibcUniStd.OpenAndReadTest
[ RUN      ] LlvmLibcUniStd.FailTest
[       OK ] LlvmLibcUniStd.FailTest (403 us)
Ran 2 tests.  PASS: 1  FAIL: 1
[6713/6851] Running unit test libc.test.src.fcntl.creat_test
sh: line 1: /timer.12864: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcCreatTest.CreatAndOpen
[       OK ] LlvmLibcCreatTest.CreatAndOpen (1 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[6714/6851] Running unit test libc.test.src.unistd._exit_test.__unit__
sh: line 1: /timer.12873: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcUniStd._exit
[       OK ] LlvmLibcUniStd._exit (2 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[6715/6851] Running unit test libc.test.src.unistd.syscall_test
sh: line 1: /timer.12875: Permission denied
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSyscallTest.TrivialCall
[       OK ] LlvmLibcSyscallTest.TrivialCall (556 us)
[ RUN      ] LlvmLibcSyscallTest.SymlinkCreateDestroy
[       OK ] LlvmLibcSyscallTest.SymlinkCreateDestroy (756 us)
[ RUN      ] LlvmLibcSyscallTest.FileReadWrite
[       OK ] LlvmLibcSyscallTest.FileReadWrite (1 ms)
[ RUN      ] LlvmLibcSyscallTest.FileLinkCreateDestroy
[       OK ] LlvmLibcSyscallTest.FileLinkCreateDestroy (1 ms)
Ran 4 tests.  PASS: 4  FAIL: 0
[6716/6851] Running unit test libc.test.src.unistd.pathconf_test
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
sh: line 1: /timer.12858: Permission denied
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcUnistdGetEntropyTest.LengthTooLong
[       OK ] LlvmLibcUnistdGetEntropyTest.LengthTooLong (692 us)
[ RUN      ] LlvmLibcUnistdGetEntropyTest.SmokeTest
[       OK ] LlvmLibcUnistdGetEntropyTest.SmokeTest (599 us)
[ RUN      ] LlvmLibcUnistdGetEntropyTest.OtherError
[       OK ] LlvmLibcUnistdGetEntropyTest.OtherError (131 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[6712/6851] Running unit test libc.test.src.fcntl.openat_test
FAILED: libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/CMakeFiles/libc.test.src.fcntl.openat_test 
cd /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl && /home/libcrv32buildbot/cross.sh /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build/libc/test/src/fcntl/libc.test.src.fcntl.openat_test.__build__
sh: line 1: /timer.12867: Permission denied
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcUniStd.OpenAndReadTest
/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/src/fcntl/openat_test.cpp:30: FAILURE
      Expected: 0
      Which is: 0
To be equal to: static_cast<int>(libc_errno)
      Which is: 2
[  FAILED  ] LlvmLibcUniStd.OpenAndReadTest
[ RUN      ] LlvmLibcUniStd.FailTest
[       OK ] LlvmLibcUniStd.FailTest (403 us)
Ran 2 tests.  PASS: 1  FAIL: 1
[6713/6851] Running unit test libc.test.src.fcntl.creat_test
sh: line 1: /timer.12864: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcCreatTest.CreatAndOpen
[       OK ] LlvmLibcCreatTest.CreatAndOpen (1 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[6714/6851] Running unit test libc.test.src.unistd._exit_test.__unit__
sh: line 1: /timer.12873: Permission denied
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcUniStd._exit
[       OK ] LlvmLibcUniStd._exit (2 ms)
Ran 1 tests.  PASS: 1  FAIL: 0
[6715/6851] Running unit test libc.test.src.unistd.syscall_test
sh: line 1: /timer.12875: Permission denied
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSyscallTest.TrivialCall
[       OK ] LlvmLibcSyscallTest.TrivialCall (556 us)
[ RUN      ] LlvmLibcSyscallTest.SymlinkCreateDestroy
[       OK ] LlvmLibcSyscallTest.SymlinkCreateDestroy (756 us)
[ RUN      ] LlvmLibcSyscallTest.FileReadWrite
[       OK ] LlvmLibcSyscallTest.FileReadWrite (1 ms)
[ RUN      ] LlvmLibcSyscallTest.FileLinkCreateDestroy
[       OK ] LlvmLibcSyscallTest.FileLinkCreateDestroy (1 ms)
Ran 4 tests.  PASS: 4  FAIL: 0
[6716/6851] Running unit test libc.test.src.unistd.pathconf_test

```

</details>

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


More information about the libc-commits mailing list