Issue |
127378
|
Summary |
libclc: `error: 'clspv-generate_convert.cl', needed by 'obj.libclc.dir/cayman-r600--/convert.cl.bc', missing and no known rule to make it
|
Labels |
build-problem,
libclc
|
Assignees |
|
Reporter |
sylvestre
|
On trunk - Linux Ubuntu Oracular or Debian bullseye (and other versions):
```
cd libclc/build && \
/tmp/cmake/bin/cmake ../ \
-G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=/opt/sccache//sccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/sccache//sccache \
-DCMAKE_C_COMPILER=/build/source/build-llvm/tools/clang/stage2-bins/bin/clang \
-DCMAKE_CXX_COMPILER=/build/source/build-llvm/tools/clang/stage2-bins/bin/clang++ \
-DCMAKE_C_FLAGS="-O2 -DNDEBUG -g1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" \
-DCMAKE_CXX_FLAGS="-O2 -DNDEBUG -g1 -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -I/build/source/llvm/include" \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id -L/build/source/build-llvm/tools/clang/stage2-bins/lib" \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id -L/build/source/build-llvm/tools/clang/stage2-bins/lib" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,relro -Wl,--build-id -L/build/source/build-llvm/tools/clang/stage2-bins/lib" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DATADIR=lib \
-DCMAKE_INSTALL_INCLUDEDIR=include \
-DLLVM_CMAKE_DIR=/build/source/build-llvm/tools/clang/stage2-bins/bin/../ \
\
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"; \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/build/source/build-llvm/tools/clang/stage2-bins/lib /usr/bin/time -v ninja -j 6 -v
-- The CXX compiler identification is Clang 21.0.0
-- The C compiler identification is Clang 21.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /build/source/build-llvm/tools/clang/stage2-bins/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /build/source/build-llvm/tools/clang/stage2-bins/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /usr/lib/s390x-linux-gnu/libffi.so
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Found LibEdit: /usr/include (found version "2.11")
-- Found ZLIB: /usr/lib/s390x-linux-gnu/libz.so (found version "1.2.11")
-- Found zstd: /usr/lib/s390x-linux-gnu/libzstd.so
-- Found LibXml2: /usr/lib/s390x-linux-gnu/libxml2.so (found version "2.9.10")
-- Linker detection: GNU ld
-- libclc LLVM version: 21.0.0
-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter
-- libclc target 'amdgcn--' is enabled
-- device: tahiti ( pitcairn;verde;oland;hainan;bonaire;kabini;kaveri;hawaii;mullins;tonga;tongapro;iceland;carrizo;fiji;stoney;polaris10;polaris11;gfx602;gfx705;gfx805;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201 )
-- libclc target 'amdgcn--amdhsa' is enabled
-- device: none ( )
-- libclc target 'amdgcn-mesa-mesa3d' is enabled
-- device: tahiti ( pitcairn;verde;oland;hainan;bonaire;kabini;kaveri;hawaii;mullins;tonga;tongapro;iceland;carrizo;fiji;stoney;polaris10;polaris11;gfx602;gfx705;gfx805;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201 )
-- libclc target 'nvptx--' is enabled
-- device: none ( )
-- libclc target 'nvptx--nvidiacl' is enabled
-- device: none ( )
-- libclc target 'nvptx64--' is enabled
-- device: none ( )
-- libclc target 'nvptx64--nvidiacl' is enabled
-- device: none ( )
-- libclc target 'r600--' is enabled
-- device: cedar ( palm;sumo;sumo2;redwood;juniper )
-- device: cypress ( hemlock )
-- device: barts ( turks;caicos )
-- device: cayman ( aruba )
-- Configuring done
-- Generating done
-- Build files have been written to: /build/source/libclc/build
ninja: error: 'clspv-generate_convert.cl', needed by 'obj.libclc.dir/cayman-r600--/convert.cl.bc', missing and no known rule to make it
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs