[libc-commits] [libc] [libc] Breakup freelist_malloc into separate files (PR #98784)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Thu Dec 12 11:28:16 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian` running on `libc-x86_64-debian` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/43/builds/12162
<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 ] LlvmLibcRoundToIntegerTest.InfinityAndNaN (4 us)
[ RUN ] LlvmLibcRoundToIntegerTest.RoundNumbers
[ OK ] LlvmLibcRoundToIntegerTest.RoundNumbers (6 us)
[ RUN ] LlvmLibcRoundToIntegerTest.SubnormalRange
[ OK ] LlvmLibcRoundToIntegerTest.SubnormalRange (884 ms)
Ran 3 tests. PASS: 3 FAIL: 0
@@@BUILD_STEP libc-fuzzer@@@
Running: ninja libc-fuzzer
[1/2] Building CXX object projects/libc/src/__support/CMakeFiles/libc.src.__support.freelist_heap.dir/freelist_heap.cpp.o
[2/2] Linking CXX executable projects/libc/fuzzing/__support/libc.fuzzing.__support.freelist_heap_fuzz
FAILED: projects/libc/fuzzing/__support/libc.fuzzing.__support.freelist_heap_fuzz
: && /usr/bin/clang++ -fPIC -fno-semantic-interposition -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 -ffunction-sections -fdata-sections -fsanitize=fuzzer -O3 -DNDEBUG projects/libc/fuzzing/__support/CMakeFiles/libc.fuzzing.__support.freelist_heap_fuzz.dir/freelist_heap_fuzz.cpp.o -o projects/libc/fuzzing/__support/libc.fuzzing.__support.freelist_heap_fuzz projects/libc/src/__support/CPP/CMakeFiles/libc.src.__support.CPP.new.dir/./new.cpp.o projects/libc/src/__support/CMakeFiles/libc.src.__support.freelist.dir/./freelist.cpp.o projects/libc/src/__support/CMakeFiles/libc.src.__support.freetrie.dir/./freetrie.cpp.o projects/libc/src/errno/CMakeFiles/libc.src.errno.errno.__internal__.dir/./libc_errno.cpp.o projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/./exit.cpp.o projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/./fcntl.cpp.o projects/libc/src/__support/CMakeFiles/libc.src.__support.freelist_heap.dir/./freelist_heap.cpp.o && :
/usr/bin/ld: projects/libc/src/__support/CMakeFiles/libc.src.__support.freelist_heap.dir/./freelist_heap.cpp.o:(.data._ZN22__llvm_libc_20_0_0_gitL21freelist_heap_symbolsE+0x8): undefined reference to `__llvm_libc_heap_limit'
/usr/bin/ld: projects/libc/fuzzing/__support/libc.fuzzing.__support.freelist_heap_fuzz: hidden symbol `__llvm_libc_heap_limit' isn't defined
/usr/bin/ld: final link failed: bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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/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/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/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/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/98784
More information about the libc-commits
mailing list