338 lines
26 KiB
YAML
338 lines
26 KiB
YAML
|
|
---
|
|
events:
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineSystem.cmake:205 (message)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
The system is: Linux - 6.8.0-79-generic - x86_64
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
|
|
Compiler: /opt/rocm-7.0/llvm/bin/clang++
|
|
Build flags:
|
|
Id flags:
|
|
|
|
The output was:
|
|
1
|
|
ld.lld: error: cannot open Scrt1.o: No such file or directory
|
|
ld.lld: error: cannot open crti.o: No such file or directory
|
|
ld.lld: error: unable to find library -lstdc++
|
|
ld.lld: error: unable to find library -lm
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: unable to find library -lc
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: cannot open crtn.o: No such file or directory
|
|
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
|
|
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
|
Compiler: /opt/rocm-7.0/llvm/bin/clang++
|
|
Build flags:
|
|
Id flags: -c
|
|
|
|
The output was:
|
|
0
|
|
|
|
|
|
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
|
|
|
|
The CXX compiler identification is Clang, found in:
|
|
/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdCXX/CMakeCXXCompilerId.o
|
|
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:1250 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:95 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Checking whether the HIP compiler is NVIDIA using "" did not match "nvcc: NVIDIA \\(R\\) Cuda compiler driver":
|
|
AMD clang version 20.0.0git (https://github.com/ROCm/llvm-project.git 32697402bdd2c9b01f45d53f123dc646206d3eb5+PATCHED:6509c030a655df7073b63a5b3d705e00f4f461ca)
|
|
Target: x86_64-unknown-linux-gnu
|
|
Thread model: posix
|
|
InstalledDir: /opt/rocm-7.0/lib/llvm/bin
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:1237 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:95 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Checking whether the HIP compiler is Clang using "" matched "(clang version)":
|
|
AMD clang version 20.0.0git (https://github.com/ROCm/llvm-project.git 32697402bdd2c9b01f45d53f123dc646206d3eb5+PATCHED:6509c030a655df7073b63a5b3d705e00f4f461ca)
|
|
Target: x86_64-unknown-linux-gnu
|
|
Thread model: posix
|
|
InstalledDir: /opt/rocm-7.0/lib/llvm/bin
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" failed.
|
|
Compiler: /opt/rocm-7.0/llvm/bin/clang++
|
|
Build flags:
|
|
Id flags: -v
|
|
|
|
The output was:
|
|
1
|
|
AMD clang version 20.0.0git (https://github.com/ROCm/llvm-project.git 32697402bdd2c9b01f45d53f123dc646206d3eb5+PATCHED:6509c030a655df7073b63a5b3d705e00f4f461ca)
|
|
Target: x86_64-unknown-linux-gnu
|
|
Thread model: posix
|
|
InstalledDir: /opt/rocm-7.0/lib/llvm/bin
|
|
Found HIP installation: /opt/rocm-7.0, version 3.5.0
|
|
"/opt/rocm-7.0/lib/llvm/bin/clang-20" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -Werror=atomic-alignment -emit-obj -dumpdir a- -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -fno-threadsafe-statics -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility=hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_daz_opt_off.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_isa_version_906.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_abi_version_600.bc -target-cpu gfx906 -debugger-tuning=gdb -fdebug-compilation-dir=/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdHIP -v -resource-dir /opt/rocm-7.0/lib/llvm/lib/clang/20 -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20 -idirafter /opt/rocm-7.0/include -I/opt/rocm-7.0/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fno-autolink -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -cuid=7bec080eaa19a2fa -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-gfx906-ca7e26.o -x hip CMakeHIPCompilerId.hip
|
|
clang -cc1 version 20.0.0git based upon LLVM 20.0.0git default target x86_64-unknown-linux-gnu
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring duplicate directory "/opt/rocm-7.0/lib/llvm/lib/clang/20/include"
|
|
ignoring duplicate directory "/usr/local/include"
|
|
ignoring duplicate directory "/usr/include"
|
|
ignoring duplicate directory "/usr/local/include"
|
|
ignoring duplicate directory "/opt/rocm-7.0/lib/llvm/lib/clang/20/include"
|
|
ignoring duplicate directory "/usr/include"
|
|
#include "..." search starts here:
|
|
#include <...> search starts here:
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20/include
|
|
/usr/local/include
|
|
/usr/include
|
|
End of search list.
|
|
"/opt/rocm-7.0/lib/llvm/bin/lld" -flavor gnu -m elf64_amdgpu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols --lto-partitions=8 -plugin-opt=mcpu=gfx906 --whole-archive -o /tmp/CMakeHIPCompilerId-gfx906-df2108.out /tmp/CMakeHIPCompilerId-gfx906-ca7e26.o --no-whole-archive
|
|
"/opt/rocm-7.0/lib/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx906 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-gfx906-df2108.out -output=/tmp/CMakeHIPCompilerId-36bb2a.hipfb -verbose
|
|
"/opt/rocm-7.0/lib/llvm/bin/clang-20" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -dumpdir a- -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdHIP -v -fcoverage-compilation-dir=/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdHIP -resource-dir /opt/rocm-7.0/lib/llvm/lib/clang/20 -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20 -idirafter /opt/rocm-7.0/include -I/opt/rocm-7.0/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-36bb2a.hipfb -cuid=7bec080eaa19a2fa -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-23fde8.o -x hip CMakeHIPCompilerId.hip
|
|
clang -cc1 version 20.0.0git based upon LLVM 20.0.0git default target x86_64-unknown-linux-gnu
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring duplicate directory "/opt/rocm-7.0/lib/llvm/lib/clang/20/include"
|
|
ignoring duplicate directory "/usr/local/include"
|
|
ignoring duplicate directory "/usr/include"
|
|
#include "..." search starts here:
|
|
#include <...> search starts here:
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20/include
|
|
/usr/local/include
|
|
/usr/include
|
|
End of search list.
|
|
"/opt/rocm-7.0/lib/llvm/bin/ld.lld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out Scrt1.o crti.o /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/linux/clang_rt.crtbegin-x86_64.o -L/lib/../lib64 -L/usr/lib/../lib64 -L/lib -L/usr/lib -L/opt/rocm-7.0/lib -L/opt/rocm-7.0/lib64 /tmp/CMakeHIPCompilerId-23fde8.o -L/opt/rocm-7.0/lib -l:libamdhip64.so.7 -lstdc++ -lm /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a -lgcc_s -lc /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a -lgcc_s /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/linux/clang_rt.crtend-x86_64.o crtn.o
|
|
ld.lld: error: cannot open Scrt1.o: No such file or directory
|
|
ld.lld: error: cannot open crti.o: No such file or directory
|
|
ld.lld: error: unable to find library -lstdc++
|
|
ld.lld: error: unable to find library -lm
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: unable to find library -lc
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: cannot open crtn.o: No such file or directory
|
|
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
|
|
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" failed.
|
|
Compiler: /opt/rocm-7.0/llvm/bin/clang++
|
|
Build flags:
|
|
Id flags:
|
|
|
|
The output was:
|
|
1
|
|
ld.lld: error: cannot open Scrt1.o: No such file or directory
|
|
ld.lld: error: cannot open crti.o: No such file or directory
|
|
ld.lld: error: unable to find library -lstdc++
|
|
ld.lld: error: unable to find library -lm
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: unable to find library -lc
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: cannot open crtn.o: No such file or directory
|
|
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
|
|
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" failed.
|
|
Compiler: /opt/rocm-7.0/llvm/bin/clang++
|
|
Build flags:
|
|
Id flags: -v
|
|
|
|
The output was:
|
|
1
|
|
AMD clang version 20.0.0git (https://github.com/ROCm/llvm-project.git 32697402bdd2c9b01f45d53f123dc646206d3eb5+PATCHED:6509c030a655df7073b63a5b3d705e00f4f461ca)
|
|
Target: x86_64-unknown-linux-gnu
|
|
Thread model: posix
|
|
InstalledDir: /opt/rocm-7.0/lib/llvm/bin
|
|
Found HIP installation: /opt/rocm-7.0, version 3.5.0
|
|
"/opt/rocm-7.0/lib/llvm/bin/clang-20" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -Werror=atomic-alignment -emit-obj -dumpdir a- -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -fno-threadsafe-statics -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility=hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_daz_opt_off.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_isa_version_906.bc -mlink-builtin-bitcode /opt/rocm-7.0/lib/llvm/amdgcn/bitcode/oclc_abi_version_600.bc -target-cpu gfx906 -debugger-tuning=gdb -fdebug-compilation-dir=/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdHIP -v -resource-dir /opt/rocm-7.0/lib/llvm/lib/clang/20 -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20 -idirafter /opt/rocm-7.0/include -I/opt/rocm-7.0/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fno-autolink -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -cuid=7bec080eaa19a2fa -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-gfx906-a5723d.o -x hip CMakeHIPCompilerId.hip
|
|
clang -cc1 version 20.0.0git based upon LLVM 20.0.0git default target x86_64-unknown-linux-gnu
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring duplicate directory "/opt/rocm-7.0/lib/llvm/lib/clang/20/include"
|
|
ignoring duplicate directory "/usr/local/include"
|
|
ignoring duplicate directory "/usr/include"
|
|
ignoring duplicate directory "/usr/local/include"
|
|
ignoring duplicate directory "/opt/rocm-7.0/lib/llvm/lib/clang/20/include"
|
|
ignoring duplicate directory "/usr/include"
|
|
#include "..." search starts here:
|
|
#include <...> search starts here:
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20/include
|
|
/usr/local/include
|
|
/usr/include
|
|
End of search list.
|
|
"/opt/rocm-7.0/lib/llvm/bin/lld" -flavor gnu -m elf64_amdgpu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols --lto-partitions=8 -plugin-opt=mcpu=gfx906 --whole-archive -o /tmp/CMakeHIPCompilerId-gfx906-73cd59.out /tmp/CMakeHIPCompilerId-gfx906-a5723d.o --no-whole-archive
|
|
"/opt/rocm-7.0/lib/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx906 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-gfx906-73cd59.out -output=/tmp/CMakeHIPCompilerId-af3c23.hipfb -verbose
|
|
"/opt/rocm-7.0/lib/llvm/bin/clang-20" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -dumpdir a- -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdHIP -v -fcoverage-compilation-dir=/tmp/rinhash-hip/build/CMakeFiles/3.31.6/CompilerIdHIP -resource-dir /opt/rocm-7.0/lib/llvm/lib/clang/20 -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20 -idirafter /opt/rocm-7.0/include -I/opt/rocm-7.0/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/rocm-7.0/lib/llvm/lib/clang/20/include -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-af3c23.hipfb -cuid=7bec080eaa19a2fa -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fc89bb.o -x hip CMakeHIPCompilerId.hip
|
|
clang -cc1 version 20.0.0git based upon LLVM 20.0.0git default target x86_64-unknown-linux-gnu
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/opt/rocm-7.0/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring nonexistent directory "/include"
|
|
ignoring duplicate directory "/opt/rocm-7.0/lib/llvm/lib/clang/20/include"
|
|
ignoring duplicate directory "/usr/local/include"
|
|
ignoring duplicate directory "/usr/include"
|
|
#include "..." search starts here:
|
|
#include <...> search starts here:
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20
|
|
/opt/rocm-7.0/lib/llvm/lib/clang/20/include
|
|
/usr/local/include
|
|
/usr/include
|
|
End of search list.
|
|
"/opt/rocm-7.0/lib/llvm/bin/ld.lld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out Scrt1.o crti.o /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/linux/clang_rt.crtbegin-x86_64.o -L/lib/../lib64 -L/usr/lib/../lib64 -L/lib -L/usr/lib -L/opt/rocm-7.0/lib -L/opt/rocm-7.0/lib64 /tmp/CMakeHIPCompilerId-fc89bb.o -L/opt/rocm-7.0/lib -l:libamdhip64.so.7 -lstdc++ -lm /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a -lgcc_s -lc /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a -lgcc_s /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/linux/clang_rt.crtend-x86_64.o crtn.o
|
|
ld.lld: error: cannot open Scrt1.o: No such file or directory
|
|
ld.lld: error: cannot open crti.o: No such file or directory
|
|
ld.lld: error: unable to find library -lstdc++
|
|
ld.lld: error: unable to find library -lm
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: unable to find library -lc
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: cannot open crtn.o: No such file or directory
|
|
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
|
|
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" failed.
|
|
Compiler: /opt/rocm-7.0/llvm/bin/clang++
|
|
Build flags:
|
|
Id flags:
|
|
|
|
The output was:
|
|
1
|
|
ld.lld: error: cannot open Scrt1.o: No such file or directory
|
|
ld.lld: error: cannot open crti.o: No such file or directory
|
|
ld.lld: error: unable to find library -lstdc++
|
|
ld.lld: error: unable to find library -lm
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: unable to find library -lc
|
|
ld.lld: error: cannot open /opt/rocm-7.0/lib/llvm/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
|
|
ld.lld: error: unable to find library -lgcc_s
|
|
ld.lld: error: cannot open crtn.o: No such file or directory
|
|
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
|
|
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:1250 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:86 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Checking whether the HIP compiler is NVIDIA using "" did not match "nvcc: NVIDIA \\(R\\) Cuda compiler driver":
|
|
clang++: error: no input files
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:1250 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:86 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Checking whether the HIP compiler is Clang using "" did not match "(clang version)":
|
|
clang++: error: no input files
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:1250 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:86 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Checking whether the HIP compiler is NVIDIA using "" did not match "nvcc: NVIDIA \\(R\\) Cuda compiler driver":
|
|
clang++: error: no input files
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:1250 (message)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:86 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)"
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:136 (CMAKE_DETERMINE_COMPILER_ID)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Checking whether the HIP compiler is Clang using "" did not match "(clang version)":
|
|
clang++: error: no input files
|
|
-
|
|
kind: "message-v1"
|
|
backtrace:
|
|
- "/usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:188 (message)"
|
|
- "CMakeLists.txt:2 (project)"
|
|
message: |
|
|
Parsed HIP implicit link information from compiler id output:
|
|
link line regex: [^( *|.*[/\\])(ld[0-9]*(\\.[a-z]+)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
|
|
implicit libs: []
|
|
implicit objs: []
|
|
implicit dirs: []
|
|
implicit fwks: []
|
|
|
|
|
|
...
|