[libc-commits] [libc] [llvm] [libc] Improve qsort (PR #120450)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Sun Dec 29 11:59:23 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg-asan` running on `libc-x86_64-debian` while building `libc,utils` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/147/builds/12612
<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)
...
[1000/1000] Running unit test libc.test.src.stdio.snprintf_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcSNPrintfTest.CutOff
[ OK ] LlvmLibcSNPrintfTest.CutOff (2442 ms)
[ RUN ] LlvmLibcSNPrintfTest.NoCutOff
[ OK ] LlvmLibcSNPrintfTest.NoCutOff (18 us)
Ran 2 tests. PASS: 2 FAIL: 0
@@@BUILD_STEP libc-fuzzer@@@
Running: ninja libc-fuzzer
[1/3] Building CXX object libc/fuzzing/stdlib/CMakeFiles/libc.fuzzing.stdlib.heap_sort_fuzz.dir/heap_sort_fuzz.cpp.o
FAILED: libc/fuzzing/stdlib/CMakeFiles/libc.fuzzing.stdlib.heap_sort_fuzz.dir/heap_sort_fuzz.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/libc/include -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -fsanitize=address -fdiagnostics-color -fsanitize=fuzzer -g -std=gnu++17 -MD -MT libc/fuzzing/stdlib/CMakeFiles/libc.fuzzing.stdlib.heap_sort_fuzz.dir/heap_sort_fuzz.cpp.o -MF libc/fuzzing/stdlib/CMakeFiles/libc.fuzzing.stdlib.heap_sort_fuzz.dir/heap_sort_fuzz.cpp.o.d -o libc/fuzzing/stdlib/CMakeFiles/libc.fuzzing.stdlib.heap_sort_fuzz.dir/heap_sort_fuzz.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/fuzzing/stdlib/heap_sort_fuzz.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/fuzzing/stdlib/heap_sort_fuzz.cpp:37:40: error: no member named 'Array' in namespace '__llvm_libc_20_0_0_git::internal'
auto arr = LIBC_NAMESPACE::internal::Array(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
[2/3] Linking CXX executable libc/fuzzing/stdlib/libc.fuzzing.stdlib.qsort_fuzz
ninja: build stopped: subcommand failed.
['ninja', 'libc-fuzzer'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 164, in step
yield
File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 155, in main
run_command(['ninja', 'libc-fuzzer'])
File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 179, in run_command
util.report_run_cmd(cmd, cwd=directory)
File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
subprocess.check_call(cmd, shell=shell, *args, **kwargs)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', 'libc-fuzzer']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
```
</details>
https://github.com/llvm/llvm-project/pull/120450
More information about the libc-commits
mailing list