Public bug reported:

A rebuild of package "stdgpu-contrib" failed to build on questing
with gcc-13 configured for IEEE long double with:

"
DSTDGPU_SOVERSION=0d -DSTDGPU_OUTPUT_NAME=stdgpu_cuda ..
-- Configuring with CMake 3.31.6
-- The CXX compiler identification is GNU 15.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.31/Modules/CMakeDetermineCompilerId.cmake:865 
(message):
  Compiling the CUDA compiler identification source file
  "CMakeCUDACompilerId.cu" failed.

  Compiler: /usr/bin/nvcc

  Build flags:

  Id flags: --keep;--keep-dir;tmp -v


  The output was:

  2

  #$ _NVVM_BRANCH_=nvvm

  #$ _NVVM_BRANCH_SUFFIX_=

  #$ _SPACE_=

  #$ _CUDART_=cudart

  #$ _HERE_=/usr/lib/nvidia-cuda-toolkit/bin

  #$ _THERE_=/usr/lib/nvidia-cuda-toolkit/bin

  #$ _TARGET_SIZE_=

  #$ _TARGET_DIR_=

  #$ _TARGET_SIZE_=64

  #$ NVVMIR_LIBRARY_DIR=/usr/lib/nvidia-cuda-toolkit/libdevice

  #$
  
PATH=/usr/lib/nvidia-cuda-toolkit/bin:/usr/lib/nvidia-cuda-toolkit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games


  #$ LIBRARIES= -L/usr/lib/powerpc64le-linux-gnu/stubs
  -L/usr/lib/powerpc64le-linux-gnu

  #$ rm tmp/a_dlink.reg.c

  #$ gcc -D__CUDA_ARCH_LIST__=520 -D__NV_LEGACY_LAUNCH -E -x c++ -D__CUDACC__
  -D__NVCC__ -D__CUDACC_VER_MAJOR__=12 -D__CUDACC_VER_MINOR__=4
  -D__CUDACC_VER_BUILD__=131 -D__CUDA_API_VER_MAJOR__=12
  -D__CUDA_API_VER_MINOR__=4 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include
  "cuda_runtime.h" "CMakeCUDACompilerId.cu" -o
  "tmp/CMakeCUDACompilerId.cpp4.ii"

  #$ cudafe++ --c++17 --builtin-ieee128-type --gnu_version=130400
  --display_error_number --orig_src_file_name "CMakeCUDACompilerId.cu"
  --orig_src_path_name
  
"/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/CMakeFiles/3.31.6/CompilerIdCUDA/CMakeCUDACompilerId.cu"
  --allow_managed --unsigned_chars --m64 --parse_templates --gen_c_file_name
  "tmp/CMakeCUDACompilerId.cudafe1.cpp" --stub_file_name
  "CMakeCUDACompilerId.cudafe1.stub.c" --gen_module_id_file
  --module_id_file_name "tmp/CMakeCUDACompilerId.module_id"
  "tmp/CMakeCUDACompilerId.cpp4.ii"

  /usr/include/c++/13/ext/numeric_traits.h(210): error: identifier "__ibm128"
  is undefined

        struct __numeric_traits_floating<__ibm128>
                                         ^


  /usr/include/c++/13/ext/numeric_traits.h(218): error: identifier "__ibm128"
  is undefined

        struct __numeric_traits<__ibm128>
                                ^


  /usr/include/c++/13/ext/numeric_traits.h(219): error: identifier "__ibm128"
  is undefined

        : public __numeric_traits_floating<__ibm128>
                                           ^


  3 errors detected in the compilation of "CMakeCUDACompilerId.cu".

  # --error 0x2 --


Call Stack (most recent call first):
  /usr/share/cmake-3.31/Modules/CMakeDetermineCompilerId.cmake:8 
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-3.31/Modules/CMakeDetermineCompilerId.cmake:53 
(__determine_compiler_id_test)
  /usr/share/cmake-3.31/Modules/CMakeDetermineCUDACompiler.cmake:131 
(CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:57 (enable_language)


-- Configuring incomplete, errors occurred!
"

Full log is available here:
https://launchpad.net/ubuntu/+source/stdgpu-contrib/1.3.0+git20220507.32e0517-3/+build/31033850
respectively here:
https://launchpadlibrarian.net/814994125/buildlog_ubuntu-questing-ppc64el.stdgpu-contrib_1.3.0+git20220507.32e0517-3_BUILDING.txt.gz

** Affects: ubuntu-power-systems
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New

** Affects: stdgpu-contrib (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cuda ppc64el

** Also affects: ubuntu-power-systems
   Importance: Undecided
       Status: New

** Changed in: ubuntu-power-systems
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122011

Title:
  stdgpu-contrib fails to build on questing with gcc-13 configured for
  IEEE long double

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2122011/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to