[libc-commits] [libc] [libc] Remove the #include <stdlib.h> header (PR #114453)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Fri Nov 1 22:10:03 PDT 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 5 "compile-openmp".

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

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

```
Step 5 (compile-openmp) failure: build (failure)
...

CMake Error at /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/benchmarks/gpu/CMakeLists.txt:35 (add_dependencies):
  The dependency target "libc.benchmarks.gpu.src.math.sin_benchmark" of
  target "gpu-benchmark" does not exist.
Call Stack (most recent call first):
  /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/benchmarks/gpu/src/math/CMakeLists.txt:27 (add_benchmark)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
FAILED: runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps/runtimes-amdgcn-amd-amdhsa-configure 
cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins && /usr/local/cmake/bin/cmake --no-warn-unused-cli -DCMAKE_C_COMPILER=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang -DCMAKE_CXX_COMPILER=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang++ -DCMAKE_ASM_COMPILER=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang -DCMAKE_LINKER=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/ld.lld -DCMAKE_AR=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-ar -DCMAKE_RANLIB=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-ranlib -DCMAKE_NM=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-nm -DCMAKE_OBJDUMP=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-objdump -DCMAKE_OBJCOPY=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-objcopy -DCMAKE_STRIP=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-strip -DCMAKE_READELF=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/llvm-readelf -DCMAKE_C_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_CXX_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_ASM_COMPILER_TARGET=amdgcn-amd-amdhsa -DCMAKE_INSTALL_PREFIX=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.inst -DLLVM_BINARY_DIR=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build -DLLVM_CONFIG_PATH=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/llvm-config -DLLVM_ENABLE_WERROR=OFF -DLLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu -DLLVM_HAVE_LINK_VERSION_SCRIPT=1 -DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=OFF -DLLVM_USE_RELATIVE_PATHS_IN_FILES=OFF "-DLLVM_LIT_ARGS=-vv --show-unsupported --show-xfail -j 32" -DLLVM_SOURCE_PREFIX= -DPACKAGE_VERSION=20.0.0git -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCOMPILER_RT_BUILD_BUILTINS=OFF -DLLVM_INCLUDE_TESTS=ON -DLLVM_ENABLE_PROJECTS_USED=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DLLVM_RUNTIMES_TARGET=amdgcn-amd-amdhsa -DHAVE_LLVM_LIT=ON -DCLANG_RESOURCE_DIR= -DLLVM_DEFAULT_TARGET_TRIPLE=amdgcn-amd-amdhsa -DLIBC_HDRGEN_EXE=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/libc-hdrgen -DLLVM_LIBC_GPU_BUILD=ON -DRUNTIMES_amdgcn-amd-amdhsa_LIBC_GPU_LOADER_EXECUTABLE=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/amdhsa-loader -DRUNTIMES_amdgcn-amd-amdhsa_LLVM_LIBC_FULL_BUILD=ON "-DLLVM_ENABLE_RUNTIMES=openmp;compiler-rt;offload" -DLLVM_USE_LINKER= -DLIBC_GPU_TEST_ARCHITECTURE=gfx906 -DLLVM_ENABLE_RUNTIMES=libc -DLIBC_GPU_LOADER_EXECUTABLE=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/amdhsa-loader -DLLVM_LIBC_FULL_BUILD=ON -GNinja -C/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/projects/runtimes-amdgcn-amd-amdhsa/tmp/runtimes-amdgcn-amd-amdhsa-cache-Release.cmake /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/runtimes/../../runtimes && /usr/local/cmake/bin/cmake -E touch /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-stamps//runtimes-amdgcn-amd-amdhsa-configure
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the libc-commits mailing list