You are not logged in.

#1 2021-05-19 13:04:11

loqs
Member
Registered: 2014-03-06
Posts: 13,701

[SOLVED] arrayfire FTBFS with gcc 11

In a clean chroot,  this is with cuda 11.3.0-2 using gcc10 1:10.2.0-3 / gcc10-libs 1:10.2.0-3 build fails with

-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
fatal: not a git repository (or any of the parent directories): .git
-- No git. Setting hash to default
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - found
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.0") 
-- Downloading https://github.com/KhronosGroup/OpenCL-CLHPP/releases/download/v2.0.10/cl2.hpp
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDA: /opt/cuda (found suitable version "11.3", minimum required is "9.0") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Found cuDNN: /usr/lib/libcudnn.so.8 (found suitable version "8.2", minimum required is "4.0") 
-- Found OpenCL: /usr/lib/libOpenCL.so (found suitable version "2.0", minimum required is "1.2") 
-- Found OpenGL: /usr/lib/libGL.so  
-- Found FreeImage: /usr/include  
-- Checking for module 'fftw3'
--   Found fftw3, version 3.3.9
-- Found FFTW: /usr/include  
-- Checking for module 'cblas'
--   Found cblas, version 3.9.1
-- Found CBLAS: /usr/lib/libcblas.so  
-- Found LAPACKE: /usr/lib/liblapacke.so  
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (LAPACK)
  does not match the name of the calling package (LAPACKE).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  CMakeModules/FindLAPACKE.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:45 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found LAPACK: /usr/include  
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.1") found components: doxygen dot 
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (OpenMP_C)
  does not match the name of the calling package (OpenMP).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  CMakeModules/FindOpenMP.cmake:402 (find_package_handle_standard_args)
  CMakeModules/FindMKL.cmake:67 (find_package)
  CMakeLists.txt:47 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (OpenMP_CXX)
  does not match the name of the calling package (OpenMP).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  CMakeModules/FindOpenMP.cmake:402 (find_package_handle_standard_args)
  CMakeModules/FindMKL.cmake:67 (find_package)
  CMakeLists.txt:47 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check size of int
-- Check size of int - done
-- MKL: Thread Layer(Intel OpenMP) Interface(4-byte Integer)
-- Found MKL_Shared: /opt/intel/mkl/include (found version "2020.0.4") 
-- Could NOT find MKL: Source the compilervars.sh or mklvars.sh scripts included with your installation of MKL. This script searches for the libraries in MKLROOT, LIBRARY_PATHS(Linux), and LIB(Windows) environment variables (missing: MKL_Core_STATIC_LINK_LIBRARY MKL_Interface_STATIC_LINK_LIBRARY MKL_ThreadLayer_STATIC_LINK_LIBRARY) (found version "2020.0.4")
-- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.66")  
Building with NONFREE requires the following patents
Method and apparatus for identifying scale invariant features
in an image and use of same for locating an object in an image, David
G. Lowe, US Patent 6,711,293 (March 23, 2004). Provisional application
filed March 8, 1999. Asignee: The University of British Columbia. For
further details, contact David Lowe (lowe@cs.ubc.ca) or the
University-Industry Liaison Office of the University of British
Columbia.
-- Performing Test has_ignored_attributes_flag
-- Performing Test has_ignored_attributes_flag - Success
-- Performing Test has_all_warnings_flag
-- Performing Test has_all_warnings_flag - Success
-- CUDA_architecture_build_targets: 5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6 ( 5.2 5.3 6.0 6.1 6.2 7.0 7.2 7.5 8.0 8.6  )
-- Performing Test group_flags
-- Performing Test group_flags - Success
-- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.0") 
CMake Deprecation Warning at test/gtest/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at test/gtest/googlemock/CMakeLists.txt:42 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at test/gtest/googletest/CMakeLists.txt:49 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /usr/bin/python (found version "3.9.5") 
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Performing Test pthread_flag
-- Performing Test pthread_flag - Success
fatal: not a git repository (or any of the parent directories): .git
-- No git. Setting hash to default
fatal: not a git repository (or any of the parent directories): .git
-- No git. Setting hash to default
-- Configuring done
-- Generating done
-- Build files have been written to: /build/arrayfire/src/arrayfire-full-3.8.0/build
ninja: Entering directory `build'
[1/2755] Building CXX object CMakeFiles/bin2cpp.dir/CMakeModules/bin2cpp.cpp.o
[2/2755] Linking CXX executable bin2cpp
[3/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_uintl.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[4/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_intl.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[5/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_double.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[6/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_float.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[7/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_int.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[8/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_uchar.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[9/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_uint.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[10/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_short.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[11/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/anisotropic_diffusion.cpp.o
[12/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/bilateral.cpp.o
[13/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/canny.cpp.o
[14/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/cholesky.cpp.o
[15/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/blas.cpp.o
[16/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/approx.cpp.o
[17/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/device_manager.cpp.o
[18/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/diagonal.cpp.o
[19/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/assign.cpp.o
[20/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/Event.cpp.o
[21/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/diff.cpp.o
[22/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/exampleFunction.cpp.o
[23/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/fft.cpp.o
[24/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/fast.cpp.o
[25/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/convolve.cpp.o
[26/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/flood_fill.cpp.o
[27/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/gradient.cpp.o
[28/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/harris.cpp.o
[29/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/hist_graphics.cpp.o
[30/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/Array.cpp.o
[31/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/histogram.cpp.o
[32/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/hsv_rgb.cpp.o
[33/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/scan.cpp.o
[34/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/homography.cpp.o
[35/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/iir.cpp.o
[36/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_ushort.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[37/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/identity.cpp.o
[38/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/inverse.cpp.o
[39/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/image.cpp.o
[40/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/iota.cpp.o
[41/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/fftconvolve.cpp.o
[42/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/math.cpp.o
[43/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/lu.cpp.o
[44/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/copy.cpp.o
[45/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/index.cpp.o
[46/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/match_template.cpp.o
[47/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/join.cpp.o
[48/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/meanshift.cpp.o
[49/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/moments.cpp.o
[50/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/mean.cpp.o
[51/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/memory.cpp.o
[52/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/orb.cpp.o
[53/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/platform.cpp.o
[54/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/ireduce.cpp.o
[55/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/nearest_neighbour.cpp.o
[56/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/medfilt.cpp.o
[57/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/plot.cpp.o
[58/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/morph.cpp.o
[59/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/qr.cpp.o
[60/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/range.cpp.o
[61/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/reorder.cpp.o
[62/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/random_engine.cpp.o
[63/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/regions.cpp.o
[64/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/resize.cpp.o
[65/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/set.cpp.o
[66/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/rotate.cpp.o
[67/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/lookup.cpp.o
[68/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/shift.cpp.o
[69/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/select.cpp.o
[70/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sift.cpp.o
[71/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sobel.cpp.o
[72/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/solve.cpp.o
[73/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sort_index.cpp.o
[74/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sort.cpp.o
[75/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sparse_blas.cpp.o
[76/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sparse.cpp.o
[77/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/reshape.cpp.o
[78/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/surface.cpp.o
[79/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sparse_arith.cpp.o
[80/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/svd.cpp.o
[81/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/tile.cpp.o
[82/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/susan.cpp.o
[83/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/topk.cpp.o
[84/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/transpose.cpp.o
[85/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/transform.cpp.o
[86/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/triangle.cpp.o
[87/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/unwrap.cpp.o
[88/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/where.cpp.o
[89/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/vector_field.cpp.o
[90/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/approx.cpp.o
[91/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/anisotropic_diffusion.cpp.o
[92/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/wrap.cpp.o
[93/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/bilateral.cpp.o
[94/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/array.cpp.o
[95/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/blas.cpp.o
[96/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/sort_by_key.cpp.o
[97/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/canny.cpp.o
[98/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/cholesky.cpp.o
[99/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/colorspace.cpp.o
[100/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/scan.cpp.o
[101/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/assign.cpp.o
[102/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/complex.cpp.o
[103/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/confidence_connected.cpp.o
[104/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/cast.cpp.o
[105/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/corrcoef.cpp.o
[106/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/covariance.cpp.o
[107/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/convolve.cpp.o
[108/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/clamp.cpp.o
[109/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/det.cpp.o
[110/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/deconvolution.cpp.o
[111/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/diff.cpp.o
[112/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/device.cpp.o
[113/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/data.cpp.o
[114/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/error.cpp.o
[115/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/events.cpp.o
[116/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/exampleFunction.cpp.o
[117/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/features.cpp.o
[118/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/fast.cpp.o
[119/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/dog.cpp.o
[120/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/fft.cpp.o
[121/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/filters.cpp.o
[122/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/hamming.cpp.o
[123/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/flip.cpp.o
[124/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/gradient.cpp.o
[125/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/gaussian_kernel.cpp.o
[126/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/harris.cpp.o
[127/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/histogram.cpp.o
[128/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/hist.cpp.o
[129/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/homography.cpp.o
[130/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/hsv_rgb.cpp.o
[131/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/histeq.cpp.o
[132/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/iir.cpp.o
[133/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/implicit.cpp.o
[134/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/image.cpp.o
[135/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/imageio.cpp.o
[136/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/imageio2.cpp.o
[137/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/index.cpp.o
[138/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/internal.cpp.o
[139/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/fftconvolve.cpp.o
[140/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/inverse.cpp.o
[141/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/lu.cpp.o
[142/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/match_template.cpp.o
[143/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/scan_by_key.cpp.o
[144/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/meanshift.cpp.o
[145/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/join.cpp.o
[146/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/binary.cpp.o
[147/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/moddims.cpp.o
[148/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/memory.cpp.o
[149/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/moments.cpp.o
[150/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/mean.cpp.o
[151/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/nearest_neighbour.cpp.o
[152/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/orb.cpp.o
[153/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/median.cpp.o
[154/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/norm.cpp.o
[155/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/qr.cpp.o
[156/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/pinverse.cpp.o
[157/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/random.cpp.o
[158/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/print.cpp.o
[159/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/rank.cpp.o
[160/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/regions.cpp.o
[161/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/plot.cpp.o
[162/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/resize.cpp.o
[163/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/morph.cpp.o
[164/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/reorder.cpp.o
[165/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/replace.cpp.o
[166/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/rgb_gray.cpp.o
[167/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/sat.cpp.o
[168/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/select.cpp.o
[169/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/set.cpp.o
[170/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/shift.cpp.o
[171/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/sift.cpp.o
[172/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/sobel.cpp.o
[173/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/solve.cpp.o
[174/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/reduce.cpp.o
[175/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/sparse.cpp.o
[176/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/sort.cpp.o
[177/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/susan.cpp.o
[178/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/stdev.cpp.o
[179/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/svd.cpp.o
[180/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/stream.cpp.o
[181/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/topk.cpp.o
[182/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/surface.cpp.o
[183/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/type_util.cpp.o
[184/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/transform.cpp.o
[185/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/tile.cpp.o
[186/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/transform_coordinates.cpp.o
[187/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/version.cpp.o
[188/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/rotate.cpp.o
[189/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/transpose.cpp.o
[190/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/unwrap.cpp.o
[191/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/where.cpp.o
[192/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/wrap.cpp.o
[193/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/anisotropic_diffusion.cpp.o
[194/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/approx.cpp.o
[195/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/window.cpp.o
[196/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/bilateral.cpp.o
[197/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/binary.cpp.o
[198/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/blas.cpp.o
[199/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/canny.cpp.o
[200/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/vector_field.cpp.o
[201/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/ycbcr_rgb.cpp.o
[202/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/clamp.cpp.o
[203/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/complex.cpp.o
[204/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/colorspace.cpp.o
[205/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/confidence_connected.cpp.o
[206/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/convolve.cpp.o
[207/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/covariance.cpp.o
[208/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/corrcoef.cpp.o
[209/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/deconvolution.cpp.o
[210/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/var.cpp.o
[211/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/diff.cpp.o
[212/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/dog.cpp.o
[213/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/event.cpp.o
[214/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/exception.cpp.o
[215/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/exampleFunction.cpp.o
[216/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/device.cpp.o
[217/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/fast.cpp.o
[218/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/data.cpp.o
[219/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/fftconvolve.cpp.o
[220/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/reduce.cpp.o
[221/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/features.cpp.o
[222/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/filters.cpp.o
[223/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/gaussian_kernel.cpp.o
[224/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/gfor.cpp.o
[225/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/fft.cpp.o
[226/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/gradient.cpp.o
[227/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/hamming.cpp.o
[228/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/harris.cpp.o
[229/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/homography.cpp.o
[230/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/histogram.cpp.o
[231/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/hsv_rgb.cpp.o
[232/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/iir.cpp.o
[233/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/graphics.cpp.o
[234/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/imageio.cpp.o
[235/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/internal.cpp.o
[236/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/index.cpp.o
[237/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/matchTemplate.cpp.o
[238/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/meanvar.cpp.o
[239/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/meanshift.cpp.o
[240/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/lapack.cpp.o
[241/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/moments.cpp.o
[242/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/median.cpp.o
[243/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/morph.cpp.o
[244/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/nearest_neighbour.cpp.o
[245/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/orb.cpp.o
[246/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/mean.cpp.o
[247/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/regions.cpp.o
[248/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/rgb_gray.cpp.o
[249/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/resize.cpp.o
[250/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/random.cpp.o
[251/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/rotate.cpp.o
[252/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/sat.cpp.o
[253/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/scale.cpp.o
[254/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/scan.cpp.o
[255/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/seq.cpp.o
[256/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/set.cpp.o
[257/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/sift.cpp.o
[258/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/skew.cpp.o
[259/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/sobel.cpp.o
[260/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/sort.cpp.o
[261/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/timing.cpp.o
[262/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/susan.cpp.o
[263/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/sparse.cpp.o
[264/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/topk.cpp.o
[265/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/transform.cpp.o
[266/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/stdev.cpp.o
[267/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/transform_coordinates.cpp.o
[268/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/translate.cpp.o
[269/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/transpose.cpp.o
[270/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/unwrap.cpp.o
[271/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/util.cpp.o
[272/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/where.cpp.o
[273/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/wrap.cpp.o
[274/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/reduce.cpp.o
[275/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/ycbcr_rgb.cpp.o
[276/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/unary.cpp.o
[277/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/var.cpp.o
[278/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/jit/Node.cpp.o
[279/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/ArrayInfo.cpp.o
[280/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/TemplateArg.cpp.o
[281/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/constants.cpp.o
[282/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/SparseArray.cpp.o
[283/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/dispatch.cpp.o
[284/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/cblas.cpp.o
[285/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/dim4.cpp.o
[286/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/half.cpp.o
[287/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/host_memory.cpp.o
[288/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/kernel_cache.cpp.o
[289/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/err_common.cpp.o
[290/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/DependencyModule.cpp.o
[291/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/module_loading_unix.cpp.o
[292/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/DefaultMemoryManager.cpp.o
[293/2755] Creating directories for 'CLBlast-ext'
[294/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/Logger.cpp.o
[295/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/anisotropic_diffusion.cuh to C++ source
[296/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/approx1.cuh to C++ source
[297/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/graphics_common.cpp.o
[298/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/approx2.cuh to C++ source
[299/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/assign_kernel_param.hpp to C++ source
[300/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/assign.cuh to C++ source
[301/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/../common/Binary.hpp to C++ source
[302/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/Param.hpp to C++ source
[303/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/../common/Transform.hpp to C++ source
[304/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/backend.hpp to C++ source
[305/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/bilateral.cuh to C++ source
[306/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/canny.cuh to C++ source
[307/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/convolve1.cuh to C++ source
[308/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/convolve2.cuh to C++ source
[309/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/convolve3.cuh to C++ source
[310/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/convolve_separable.cuh to C++ source
[311/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/copy.cuh to C++ source
[312/2755] Compiling /opt/cuda/include/cuComplex.h to C++ source
[313/2755] Compiling /opt/cuda/include/cuda_fp16.hpp to C++ source
[314/2755] Compiling /opt/cuda/include/cuda_fp16.h to C++ source
[315/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/diagonal.cuh to C++ source
[316/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/include/af/defines.h to C++ source
[317/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/dims_param.hpp to C++ source
[318/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/diff.cuh to C++ source
[319/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/exampleFunction.cuh to C++ source
[320/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/fftconvolve.cuh to C++ source
[321/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/flood_fill.cuh to C++ source
[322/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/gradient.cuh to C++ source
[323/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/histogram.cuh to C++ source
[324/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/../common/half.hpp to C++ source
[325/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/hsv_rgb.cuh to C++ source
[326/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/identity.cuh to C++ source
[327/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/iir.cuh to C++ source
[328/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/index.cuh to C++ source
[329/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/../common/internal_enums.hpp to C++ source
[330/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/iota.cuh to C++ source
[331/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/interp.hpp to C++ source
[332/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/join.cuh to C++ source
[333/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/ireduce.cuh to C++ source
[334/2755] Building C object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/__/extern/glad/src/glad.c.o
[335/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/lookup.cuh to C++ source
[336/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/../common/kernel_type.hpp to C++ source
[337/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/lu_split.cuh to C++ source
[338/2755] Compiling /opt/cuda/include/math_constants.h to C++ source
[339/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/match_template.cuh to C++ source
[340/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/math.hpp to C++ source
[341/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/meanshift.cuh to C++ source
[342/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/medfilt.cuh to C++ source
[343/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/memcopy.cuh to C++ source
[344/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/minmax_op.hpp to C++ source
[345/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/moments.cuh to C++ source
[346/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/morph.cuh to C++ source
[347/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/api/c/optypes.hpp to C++ source
[348/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/pad_array_borders.cuh to C++ source
[349/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/range.cuh to C++ source
[350/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/reorder.cuh to C++ source
[351/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/resize.cuh to C++ source
[352/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/rotate.cuh to C++ source
[353/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/scan_dim_by_key.cuh to C++ source
[354/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/scan_dim.cuh to C++ source
[355/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/scan_first_by_key.cuh to C++ source
[356/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/select.cuh to C++ source
[357/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/scan_first.cuh to C++ source
[358/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/shared.hpp to C++ source
[359/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/sparse_arith.cuh to C++ source
[360/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/sobel.cuh to C++ source
[361/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/sparse.cuh to C++ source
[362/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/tile.cuh to C++ source
[363/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/susan.cuh to C++ source
[364/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/include/af/traits.hpp to C++ source
[365/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/transform.cuh to C++ source
[366/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/transpose.cuh to C++ source
[367/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/transpose_inplace.cuh to C++ source
[368/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/triangle.cuh to C++ source
[369/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/types.hpp to C++ source
[370/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/unwrap.cuh to C++ source
[371/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/utility.hpp to C++ source
[372/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/build/include/af/version.h to C++ source
[373/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/where.cuh to C++ source
[374/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/wrap.cuh to C++ source
[375/2755] Compiling /build/arrayfire/src/arrayfire-full-3.8.0/src/backend/cuda/kernel/jit.cuh to C++ source
[376/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/cpp/array.cpp.o
[377/2755] Performing download step (git clone) for 'CLBlast-ext'
Cloning into 'CLBlast-ext'...
HEAD is now at 41f344d Merge pull request #392 from 9prady9/fix_Program_getIR
[378/2755] No update step for 'CLBlast-ext'
[379/2755] No patch step for 'CLBlast-ext'
[380/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/common/util.cpp.o
[381/2755] Building CXX object test/CMakeFiles/test_svd_dense_unified.dir/svd_dense.cpp.o
[382/2755] Building CXX object src/backend/cpu/CMakeFiles/afcpu.dir/__/__/api/c/unary.cpp.o
[383/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_cufft.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_cufft.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_cufft.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_cufft.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_cufft.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_cufft.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_cufft.cu.o


[384/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_fft.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_fft.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_fft.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_fft.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_fft.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_fft.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_fft.cu.o


[385/2755] Building CXX object src/backend/cpu/CMakeFiles/cpu_sort_by_key_char.dir/kernel/sort_by_key/sort_by_key_impl.cpp.o
[386/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_sparse_blas.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_sparse_blas.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse_blas.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse_blas.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_sparse_blas.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_sparse_blas.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse_blas.cu.o


[387/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_blas.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_blas.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_blas.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_blas.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_blas.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_blas.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_blas.cu.o


[388/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_solve.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_solve.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_solve.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_solve.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_solve.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_solve.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_solve.cu.o


[389/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_sparse_arith.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_sparse_arith.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse_arith.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse_arith.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_sparse_arith.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_sparse_arith.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse_arith.cu.o


[390/2755] Building NVCC (Device) object src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_sparse.cu.o
FAILED: src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir/af_cuda_static_cuda_library_generated_sparse.cu.o 
cd /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir && /usr/bin/cmake -E make_directory /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse.cu.o -D generated_cubin_file:STRING=/build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse.cu.o.cubin.txt -P /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//af_cuda_static_cuda_library_generated_sparse.cu.o.Release.cmake
/usr/include/c++/11.1.0/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
/usr/include/c++/11.1.0/chrono:512:154:   required from here
/usr/include/c++/11.1.0/chrono:454:34: internal compiler error: Segmentation fault
  454 |         _S_gcd(intmax_t __m, intmax_t __n) noexcept
      |                                  ^~~~~~
0x1797368 internal_error(char const*, ...)
	???:0
0x7e73b1 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7fa400 tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7bfa tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7e7d16 tsubst(tree_node*, tree_node*, int, tree_node*)
	???:0
0x7f227c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int)
	???:0
0x816d4d finish_template_type(tree_node*, tree_node*, int)
	???:0
0x7ce2fe c_parse_file()
	???:0
0x8a252d c_common_parse_file()
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.archlinux.org/> for instructions.
CMake Error at af_cuda_static_cuda_library_generated_sparse.cu.o.Release.cmake:280 (message):
  Error generating file
  /build/arrayfire/src/arrayfire-full-3.8.0/build/src/backend/cuda/CMakeFiles/af_cuda_static_cuda_library.dir//./af_cuda_static_cuda_library_generated_sparse.cu.o


ninja: build stopped: subcommand failed.

I tried adding

  export CC=gcc-10
  export CXX=g++-10

No change in the result.
Edit:

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 3fc42c1..f6c8fb0 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -35,7 +35,7 @@ build() {
       -DAF_BUILD_DOCS=ON \
       -DCUDA_architecture_build_targets="5.2;5.3;6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6" \
       -DCMAKE_BUILD_TYPE=Release \
-      -DCUDA_HOST_COMPILER=/usr/bin/gcc \
+      -DCUDA_HOST_COMPILER=/usr/bin/gcc-10 \
       -DBoost_NO_BOOST_CMAKE=ON
 
   ninja -C build

Last edited by loqs (2021-05-20 04:39:02)

Offline

#2 2021-06-30 10:09:33

vatai
Member
From: Japan
Registered: 2013-10-09
Posts: 3

Re: [SOLVED] arrayfire FTBFS with gcc 11

I compiled it with

CC=gcc-10 CXX=g++-10 pip install horovod

(we actually it was CC=gcc-10 CXX=g++-10 HOROVOD_BUILD_CUDA_CC_LIST=86 HOROVOD_WITH_PYTORCH=1 pip install 'horovod[pytorch]' but setting gcc-10 and g++-10 worked this way).

Offline

Board footer

Powered by FluxBB