[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 16:30:51 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `libc` at step 8 "Add check check-libc-amdgcn-amd-amdhsa".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/10200
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 8 (Add check check-libc-amdgcn-amd-amdhsa) failure: test (failure)
...
[1606/2692] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint32_test.__hermetic__.__build__.dir/strtoint32_test.cpp.o
[1607/2692] Running integration test libc.test.integration.src.__support.GPU.scan_reduce_test
[1608/2692] Running integration test libc.test.integration.startup.gpu.startup_rpc_interface_test
[1609/2692] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_stream_test.__build__
[1610/2692] Running integration test libc.test.integration.startup.gpu.startup_rpc_stream_test
[1611/2692] Building CXX object libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/LibcTest.cpp.o
[1612/2692] Linking CXX static library libc/test/UnitTest/libLibcTest.hermetic.a
[1613/2692] Linking CXX static library libc/test/UnitTest/libLibcMemoryHelpers.hermetic.a
[1614/2692] Linking CXX static library libc/test/UnitTest/libLibcFPTestHelpers.hermetic.a
[1615/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__
FAILED: libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__
: && /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang++ --target=amdgcn-amd-amdhsa -O3 -DNDEBUG --target=amdgcn-amd-amdhsa -Wno-multi-gpu -mcpu=gfx906 -flto -Wl,-mllvm,-amdgpu-lower-global-ctor-dtor=0 -nostdlib -static -Wl,-mllvm,-amdhsa-code-object-version=5 libc/startup/gpu/amdgpu/CMakeFiles/libc.startup.gpu.amdgpu.crt1.dir/start.cpp.o libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/fake_heap.s.o libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/freelist_heap_test.cpp.o -o libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ libc/test/UnitTest/libLibcTest.hermetic.a libc/test/UnitTest/libLibcHermeticTestSupport.hermetic.a libc/test/src/__support/liblibc.test.src.__support.freelist_heap_test.__hermetic__.libc.a && :
ld.lld: error: duplicate symbol: _end
>>> defined in libc/startup/gpu/amdgpu/CMakeFiles/libc.startup.gpu.amdgpu.crt1.dir/start.cpp.o
>>> defined in libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/fake_heap.s.o
clang++: error: ld.lld command failed with exit code 1 (use -v to see invocation)
[1616/2692] Linking CXX executable libc/test/integration/src/stdio/gpu/libc.test.integration.src.stdio.gpu.printf_test.__build__
[1617/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.cstddef_test.__hermetic__.__build__
[1618/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.mutex_test.__hermetic__.__build__
[1619/2692] Linking CXX executable libc/test/include/libc.test.include.stdckdint_test.__hermetic__.__build__
[1620/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.limits_test.__hermetic__.__build__
[1621/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.span_test.__hermetic__.__build__
[1622/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.endian_internal_test.__hermetic__.__build__
[1623/2692] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_leading_zeros_uc_test.__hermetic__.__build__
[1624/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.int_seq_test.__hermetic__.__build__
[1625/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.optional_test.__hermetic__.__build__
[1626/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.algorithm_test.__hermetic__.__build__
[1627/2692] Linking CXX executable libc/test/include/libc.test.include.issubnormal_test.__hermetic__.__build__
[1628/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.bitset_test.__hermetic__.__build__
[1629/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.type_traits_test.__hermetic__.__build__
[1630/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.memory_size_test.__hermetic__.__build__
[1631/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.char_vector_test.__hermetic__.__build__
[1632/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.arg_list_test.__hermetic__.__build__
[1633/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.fixedvector_test.__hermetic__.__build__
[1634/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.atomic_test.__hermetic__.__build__
[1635/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_float_test.__hermetic__.__build__
[1636/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.math_extras_test.__hermetic__.__build__
[1637/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.array_test.__hermetic__.__build__
[1638/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_integer_test.__hermetic__.__build__
[1639/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.stringstream_test.__hermetic__.__build__
[1640/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.blockstore_test.__hermetic__.__build__
[1641/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.stringview_test.__hermetic__.__build__
[1642/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.bit_test.__hermetic__.__build__
[1643/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.integer_literals_test.__hermetic__.__build__
[1644/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.high_precision_decimal_test.__hermetic__.__build__
[1645/2692] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.string_test.__hermetic__.__build__
[1646/2692] Linking CXX executable libc/test/src/math/smoke/libc.test.src.math.smoke.fmaximum_mag_numf_test.__hermetic__.__build__
[1647/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.big_int_test.__hermetic__.__build__
[1648/2692] Linking CXX executable libc/test/src/__support/libc.test.src.__support.integer_to_string_test.__hermetic__.__build__
```
</details>
https://github.com/llvm/llvm-project/pull/98784
More information about the libc-commits
mailing list