Guest User

Untitled

a guest
Jul 31st, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. -- The CXX compiler identification is GNU 15.1.1
  2. CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:865 (message):
  3. Compiling the CUDA compiler identification source file
  4. "CMakeCUDACompilerId.cu" failed.
  5.  
  6. Compiler: /opt/cuda/bin/nvcc
  7.  
  8. Build flags:
  9.  
  10. Id flags: --keep;--keep-dir;tmp -v
  11.  
  12.  
  13.  
  14. The output was:
  15.  
  16. 2
  17.  
  18. nvcc warning : Support for offline compilation for architectures prior to
  19. '<compute/sm/lto>_75' will be removed in a future release (Use
  20. -Wno-deprecated-gpu-targets to suppress warning).
  21.  
  22. #$ _NVVM_BRANCH_=nvvm
  23.  
  24. #$ _SPACE_=
  25.  
  26. #$ _CUDART_=cudart
  27.  
  28. #$ _HERE_=/opt/cuda/bin
  29.  
  30. #$ _THERE_=/opt/cuda/bin
  31.  
  32. #$ _TARGET_SIZE_=
  33.  
  34. #$ _TARGET_DIR_=
  35.  
  36. #$ _TARGET_DIR_=targets/x86_64-linux
  37.  
  38. #$ TOP=/opt/cuda/bin/..
  39.  
  40. #$ CICC_PATH=/opt/cuda/bin/../nvvm/bin
  41.  
  42. #$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice
  43.  
  44. #$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib:
  45.  
  46. #$
  47. PATH=/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/home/pietroz/.opam/default/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/pietroz/bin:/home/pietroz/.local/share/gem/ruby/3.4.0/bin
  48.  
  49.  
  50. #$ INCLUDES="-I/opt/cuda/bin/../targets/x86_64-linux/include"
  51.  
  52. #$ LIBRARIES= "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs"
  53. "-L/opt/cuda/bin/../targets/x86_64-linux/lib"
  54.  
  55. #$ CUDAFE_FLAGS=
  56.  
  57. #$ PTXAS_FLAGS=
  58.  
  59. #$ rm tmp/a_dlink.reg.c
  60.  
  61. #$ "/usr/bin"/g++-14 -D__CUDA_ARCH_LIST__=520 -D__NV_LEGACY_LAUNCH -E -x
  62. c++ -D__CUDACC__ -D__NVCC__
  63. "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12
  64. -D__CUDACC_VER_MINOR__=9 -D__CUDACC_VER_BUILD__=86
  65. -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=9
  66. -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -D__CUDACC_DEVICE_ATOMIC_BUILTINS__=1
  67. -include "cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o
  68. "tmp/CMakeCUDACompilerId.cpp4.ii"
  69.  
  70. #$ cudafe++ --c++17 --gnu_version=140301 --display_error_number
  71. --orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name
  72. "/tmp/makepkg/libraft/src/raft-25.06.00/build/CMakeFiles/3.31.6/CompilerIdCUDA/CMakeCUDACompilerId.cu"
  73. --allow_managed --m64 --parse_templates --gen_c_file_name
  74. "tmp/CMakeCUDACompilerId.cudafe1.cpp" --stub_file_name
  75. "CMakeCUDACompilerId.cudafe1.stub.c" --gen_module_id_file
  76. --module_id_file_name "tmp/CMakeCUDACompilerId.module_id"
  77. "tmp/CMakeCUDACompilerId.cpp4.ii"
  78.  
  79. /usr/include/bits/mathcalls.h(206): error: exception specification is
  80. incompatible with that of previous function "rsqrt" (declared at line 597
  81. of /opt/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h)
  82.  
  83. extern double rsqrt (double __x) noexcept (true); extern double __rsqrt (double __x) noexcept (true);
  84. ^
  85.  
  86.  
  87.  
  88. /usr/include/bits/mathcalls.h(206): error: exception specification is
  89. incompatible with that of previous function "rsqrtf" (declared at line 621
  90. of /opt/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h)
  91.  
  92. extern float rsqrtf (float __x) noexcept (true); extern float __rsqrtf (float __x) noexcept (true);
  93. ^
  94.  
  95.  
  96.  
  97. 2 errors detected in the compilation of "CMakeCUDACompilerId.cu".
  98.  
  99. # --error 0x2 --
  100.  
  101.  
  102.  
  103.  
  104.  
  105. Call Stack (most recent call first):
  106. /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  107. /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
  108. /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID)
  109. CMakeLists.txt:30 (project)
  110.  
  111.  
  112. -- Configuring incomplete, errors occurred!
Advertisement
Add Comment
Please, Sign In to add comment