Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ginkgo currently does not support GCC 9.1 #323

Closed
thoasm opened this issue Jul 4, 2019 · 9 comments · Fixed by #365
Closed

Ginkgo currently does not support GCC 9.1 #323

thoasm opened this issue Jul 4, 2019 · 9 comments · Fixed by #365
Assignees
Labels
is:bug Something looks wrong. reg:build This is related to the build system.
Milestone

Comments

@thoasm
Copy link
Member

thoasm commented Jul 4, 2019

After a update of my ArchLinux, my default compiler was set to gcc 9.1.0. When compiling ginkgo without tests (See cmake command below), I get the following linker error:

/usr/bin/ld: ../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status

CMake command:

cmake -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
    -DCMAKE_BUILD_TYPE=Debug \
    -DGINKGO_DEVEL_TOOLS=ON -DGINKGO_BUILD_TESTS=OFF \
    -DGINKGO_BUILD_REFERENCE=ON -DGINKGO_BUILD_OMP=ON -DGINKGO_BUILD_CUDA=ON -DGINKGO_CUDA_ARCHITECTURES="50" \
    ../..
full cmake output (with tests disabled)
- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test Ginkgo_C_COVERAGE_SUPPORTED
-- Performing Test Ginkgo_C_COVERAGE_SUPPORTED - Success
-- Performing Test Ginkgo_C_TSAN_SUPPORTED
-- Performing Test Ginkgo_C_TSAN_SUPPORTED - Failed
-- Performing Test Ginkgo_C_ASAN_SUPPORTED
-- Performing Test Ginkgo_C_ASAN_SUPPORTED - Success
-- Performing Test Ginkgo_CXX_COVERAGE_SUPPORTED
-- Performing Test Ginkgo_CXX_COVERAGE_SUPPORTED - Success
-- Performing Test Ginkgo_CXX_TSAN_SUPPORTED
-- Performing Test Ginkgo_CXX_TSAN_SUPPORTED - Failed
-- Performing Test Ginkgo_CXX_ASAN_SUPPORTED
-- Performing Test Ginkgo_CXX_ASAN_SUPPORTED - Success
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Could NOT find PAPI (missing: PAPI_LIBRARY PAPI_INCLUDE_DIR) 
-- The CUDA compiler identification is NVIDIA 10.1.168
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/CudaArchitectureSelector/download
Scanning dependencies of target CudaArchitectureSelector
[ 11%] Creating directories for 'CudaArchitectureSelector'
[ 22%] Performing download step (git clone) for 'CudaArchitectureSelector'
Cloning into 'src'...
Note: checking out '0b46fb7d653404db312cbc1fc702cb528fd1c1b0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0b46fb7 Make the feature checked compatible with C++03
[ 33%] No patch step for 'CudaArchitectureSelector'
[ 44%] Skipping update step for 'CudaArchitectureSelector'
[ 55%] Performing configure step for 'CudaArchitectureSelector'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:5 (set):
  Cannot set "CMAKE_MODULE_PATH": current scope has no parent.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/CudaArchitectureSelector/build
[ 66%] Performing build step for 'CudaArchitectureSelector'
[ 77%] No install step for 'CudaArchitectureSelector'
[ 88%] No test step for 'CudaArchitectureSelector'
[100%] Completed 'CudaArchitectureSelector'
[100%] Built target CudaArchitectureSelector
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/git-cmake-format/download
Scanning dependencies of target git-cmake-format
[ 11%] Creating directories for 'git-cmake-format'
[ 22%] Performing download step (git clone) for 'git-cmake-format'
Cloning into 'src'...
Note: checking out '9fdc1553c525b3d7ce758892fe666078903a1b21'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 9fdc155 Fix typo
[ 33%] No patch step for 'git-cmake-format'
[ 44%] Skipping update step for 'git-cmake-format'
[ 55%] Performing configure step for 'git-cmake-format'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.22.0") 
-- Found PythonInterp: /usr/bin/python (found version "3.7.3") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/git-cmake-format/build
[ 66%] Performing build step for 'git-cmake-format'
[ 77%] No install step for 'git-cmake-format'
[ 88%] No test step for 'git-cmake-format'
[100%] Completed 'git-cmake-format'
[100%] Built target git-cmake-format
-- Found Git: /usr/bin/git (found version "2.22.0") 
-- Found PythonInterp: /usr/bin/python (found version "3.7.3") 
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/download
Scanning dependencies of target gflags_external
[ 11%] Creating directories for 'gflags_external'
[ 22%] Performing download step (git clone) for 'gflags_external'
Cloning into 'src'...
Note: checking out 'e171aa2d15ed9eb17054558e0b3a6a413bb01067'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e171aa2 Release v2.2.2
Submodule 'doc' (https://github.com/gflags/gflags.git) registered for path 'doc'
Cloning into '/home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/src/doc'...
Submodule path 'doc': checked out '8411df715cf522606e3b1aca386ddfc0b63d34b4'
[ 33%] No patch step for 'gflags_external'
[ 44%] Skipping update step for 'gflags_external'
[ 55%] Performing configure step for 'gflags_external'
-- The CXX compiler identification is GNU 9.1.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include fnmatch.h
-- Looking for C++ include fnmatch.h - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Looking for strtoll
-- Looking for strtoll - found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/build
[ 66%] Performing build step for 'gflags_external'
Scanning dependencies of target gflags_nothreads_static
[ 25%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o
[ 50%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o
[ 75%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o
[100%] Linking CXX static library lib/libgflags_nothreads_debug.a
[100%] Built target gflags_nothreads_static
[ 77%] No install step for 'gflags_external'
[ 88%] No test step for 'gflags_external'
[100%] Completed 'gflags_external'
[100%] Built target gflags_external
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/download
Scanning dependencies of target rapidjson_external
[ 11%] Creating directories for 'rapidjson_external'
[ 22%] Performing download step (git clone) for 'rapidjson_external'
Cloning into 'src'...
Note: checking out '8d272e53a4d1dc405e08ce2dd50159c58f4451e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8d272e53 CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'thirdparty/gtest'
Cloning into '/home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/src/thirdparty/gtest'...
Submodule path 'thirdparty/gtest': checked out 'ba96d0b1161f540656efdaed035b3c062b60e006'
[ 33%] No patch step for 'rapidjson_external'
[ 44%] Skipping update step for 'rapidjson_external'
[ 55%] Performing configure step for 'rapidjson_external'
-- The CXX compiler identification is GNU 9.1.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/build
[ 66%] Performing build step for 'rapidjson_external'
[ 77%] No install step for 'rapidjson_external'
[ 88%] No test step for 'rapidjson_external'
[100%] Completed 'rapidjson_external'
[100%] Built target rapidjson_external
-- The CUDA compiler supports the following architectures: 30;32;35;37;50;52;53;60;61;62;70;72;75
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
CMake Warning at benchmark/CMakeLists.txt:2 (message):
  Ginkgo is not being built in "Release" mode, benchmark performance will be
  affected


-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug
full make -j 6 output (with tests disabled):
Scanning dependencies of target generate_ginkgo_header
Scanning dependencies of target ginkgo_omp_device
Scanning dependencies of target ginkgo_reference_device
Scanning dependencies of target ginkgo_cuda_device
Scanning dependencies of target make_run_all_benchmarks
[  0%] Building CXX object core/devices/omp/CMakeFiles/ginkgo_omp_device.dir/executor.cpp.o
[  0%] Building CXX object core/devices/reference/CMakeFiles/ginkgo_reference_device.dir/dummy.cpp.o
[  1%] Building CXX object core/devices/cuda/CMakeFiles/ginkgo_cuda_device.dir/executor.cpp.o
[  1%] Built target make_run_all_benchmarks
[  1%] Built target ginkgo_reference_device
Scanning dependencies of target ginkgo_reference
[  1%] Built target generate_ginkgo_header
[  2%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/factorization/par_ilu_kernels.cpp.o
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/base/version.cpp.o
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/csr_kernels.cpp.o
[  4%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/coo_kernels.cpp.o
[  5%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/dense_kernels.cpp.o
[  5%] Built target ginkgo_cuda_device
[  6%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/ell_kernels.cpp.o
[  6%] Built target ginkgo_omp_device
[  7%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/hybrid_kernels.cpp.o
Scanning dependencies of target ginkgo_cuda
[  7%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/exception.cpp.o
In file included from /home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:51:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3:   required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25:   required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31:   required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18:   required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:486:18:   required from ‘void gko::kernels::reference::csr::sort_by_column_index(std::shared_ptr<const gko::ReferenceExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:490:1:   required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:149:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
  149 |         operator element() const { return {dominant(), secondary()}; }
      |         ^~~~~~~~
[  8%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/executor.cpp.o
[  9%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/version.cpp.o
[ 10%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/components/zero_array.cu.o
[ 10%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/factorization/par_ilu_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class

[ 11%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/coo_kernels.cu.o
[ 12%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/csr_kernels.cu.o
[ 12%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/dense_kernels.cu.o
[ 13%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/ell_kernels.cu.o
[ 14%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/hybrid_kernels.cu.o
[ 15%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/sellp_kernels.cu.o
[ 15%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_advanced_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 16%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_generate_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 17%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 18%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_simple_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 18%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/bicgstab_kernels.cu.o
[ 19%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cg_kernels.cu.o
[ 20%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cgs_kernels.cu.o
[ 20%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/fcg_kernels.cu.o
[ 21%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/gmres_kernels.cu.o
[ 22%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/ir_kernels.cu.o
[ 23%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/criterion_kernels.cu.o
[ 23%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/residual_norm_reduction_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class

[ 24%] Linking CUDA device code CMakeFiles/ginkgo_cuda.dir/cmake_device_link.o
[ 25%] Linking CXX shared library libginkgo_cudad.so
[ 25%] Built target ginkgo_cuda
[ 25%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/sellp_kernels.cpp.o
Scanning dependencies of target ginkgo_omp
[ 26%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/preconditioner/jacobi_kernels.cpp.o
[ 27%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cg_kernels.cpp.o
[ 27%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/bicgstab_kernels.cpp.o
[ 28%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cgs_kernels.cpp.o
[ 28%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/base/version.cpp.o
[ 29%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/factorization/par_ilu_kernels.cpp.o
[ 30%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/fcg_kernels.cpp.o
[ 31%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/gmres_kernels.cpp.o
[ 31%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/ir_kernels.cpp.o
[ 33%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/coo_kernels.cpp.o
[ 33%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/criterion_kernels.cpp.o
[ 34%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 35%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/csr_kernels.cpp.o
[ 35%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/dense_kernels.cpp.o
[ 36%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/ell_kernels.cpp.o
[ 37%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/hybrid_kernels.cpp.o
[ 37%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/sellp_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:52:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3:   required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25:   required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31:   required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18:   required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:398:18:   required from ‘void gko::kernels::omp::csr::sort_by_column_index(std::shared_ptr<const gko::OmpExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:402:1:   required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:149:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
  149 |         operator element() const { return {dominant(), secondary()}; }
      |         ^~~~~~~~
[ 38%] Linking CXX shared library libginkgo_referenced.so
[ 38%] Built target ginkgo_reference
[ 39%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/preconditioner/jacobi_kernels.cpp.o
[ 40%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/bicgstab_kernels.cpp.o
[ 41%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cg_kernels.cpp.o
[ 41%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cgs_kernels.cpp.o
[ 42%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/fcg_kernels.cpp.o
[ 43%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/gmres_kernels.cpp.o
[ 44%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/ir_kernels.cpp.o
[ 44%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/criterion_kernels.cpp.o
[ 45%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 46%] Linking CXX shared library libginkgo_ompd.so
[ 46%] Built target ginkgo_omp
Scanning dependencies of target ginkgo
[ 47%] Building CXX object core/CMakeFiles/ginkgo.dir/base/mtx_io.cpp.o
[ 48%] Building CXX object core/CMakeFiles/ginkgo.dir/factorization/par_ilu.cpp.o
[ 50%] Building CXX object core/CMakeFiles/ginkgo.dir/base/composition.cpp.o
[ 50%] Building CXX object core/CMakeFiles/ginkgo.dir/base/executor.cpp.o
[ 50%] Building CXX object core/CMakeFiles/ginkgo.dir/base/combination.cpp.o
[ 50%] Building CXX object core/CMakeFiles/ginkgo.dir/base/version.cpp.o
[ 51%] Building CXX object core/CMakeFiles/ginkgo.dir/log/convergence.cpp.o
[ 52%] Building CXX object core/CMakeFiles/ginkgo.dir/log/logger.cpp.o
[ 52%] Building CXX object core/CMakeFiles/ginkgo.dir/log/record.cpp.o
[ 53%] Building CXX object core/CMakeFiles/ginkgo.dir/log/stream.cpp.o
[ 54%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/coo.cpp.o
[ 55%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/csr.cpp.o
[ 55%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/dense.cpp.o
[ 56%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/ell.cpp.o
[ 57%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/hybrid.cpp.o
[ 57%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/identity.cpp.o
[ 58%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/sellp.cpp.o
[ 59%] Building CXX object core/CMakeFiles/ginkgo.dir/preconditioner/jacobi.cpp.o
[ 60%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/bicgstab.cpp.o
[ 60%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cg.cpp.o
[ 61%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cgs.cpp.o
[ 62%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/fcg.cpp.o
[ 63%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/gmres.cpp.o
[ 63%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/ir.cpp.o
[ 64%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/combined.cpp.o
[ 65%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/criterion.cpp.o
[ 66%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/iteration.cpp.o
[ 66%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/residual_norm_reduction.cpp.o
[ 67%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/time.cpp.o
[ 68%] Linking CXX shared library libginkgod.so
[ 68%] Built target ginkgo
Scanning dependencies of target ginkgo-overhead
Scanning dependencies of target inverse-iteration
Scanning dependencies of target custom-logger
Scanning dependencies of target ginkgo-ranges
Scanning dependencies of target custom-stopping-criterion
Scanning dependencies of target custom-matrix-format
[ 69%] Building CXX object examples/inverse-iteration/CMakeFiles/inverse-iteration.dir/inverse-iteration.cpp.o
[ 69%] Building CXX object examples/ginkgo-overhead/CMakeFiles/ginkgo-overhead.dir/ginkgo-overhead.cpp.o
[ 70%] Building CXX object examples/custom-stopping-criterion/CMakeFiles/custom-stopping-criterion.dir/custom-stopping-criterion.cpp.o
[ 71%] Building CXX object examples/custom-logger/CMakeFiles/custom-logger.dir/custom-logger.cpp.o
[ 72%] Building CXX object examples/custom-matrix-format/CMakeFiles/custom-matrix-format.dir/custom-matrix-format.cpp.o
[ 73%] Building CXX object examples/ginkgo-ranges/CMakeFiles/ginkgo-ranges.dir/ginkgo-ranges.cpp.o
[ 74%] Linking CXX executable ginkgo-ranges
[ 74%] Built target ginkgo-ranges
Scanning dependencies of target minimal-cuda-solver
[ 74%] Building CXX object examples/minimal-cuda-solver/CMakeFiles/minimal-cuda-solver.dir/minimal-cuda-solver.cpp.o
[ 75%] Linking CXX executable ginkgo-overhead
[ 75%] Built target ginkgo-overhead
Scanning dependencies of target nine-pt-stencil-solver
[ 76%] Building CXX object examples/nine-pt-stencil-solver/CMakeFiles/nine-pt-stencil-solver.dir/nine-pt-stencil-solver.cpp.o
[ 77%] Linking CXX executable inverse-iteration
[ 78%] Linking CXX executable custom-stopping-criterion
[ 78%] Built target inverse-iteration
[ 79%] Building CUDA object examples/custom-matrix-format/CMakeFiles/custom-matrix-format.dir/stencil_kernel.cu.o
Scanning dependencies of target poisson-solver
[ 79%] Built target custom-stopping-criterion
Scanning dependencies of target preconditioned-solver
[ 79%] Building CXX object examples/poisson-solver/CMakeFiles/poisson-solver.dir/poisson-solver.cpp.o
[ 80%] Building CXX object examples/preconditioned-solver/CMakeFiles/preconditioned-solver.dir/preconditioned-solver.cpp.o
[ 80%] Linking CXX executable custom-logger
[ 80%] Built target custom-logger
Scanning dependencies of target simple-solver
[ 81%] Building CXX object examples/simple-solver/CMakeFiles/simple-solver.dir/simple-solver.cpp.o
[ 82%] Linking CUDA device code CMakeFiles/custom-matrix-format.dir/cmake_device_link.o
[ 82%] Linking CXX executable custom-matrix-format
/usr/bin/ld: ../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/custom-matrix-format/CMakeFiles/custom-matrix-format.dir/build.make:128: examples/custom-matrix-format/custom-matrix-format] Error 1
make[1]: *** [CMakeFiles/Makefile2:915: examples/custom-matrix-format/CMakeFiles/custom-matrix-format.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 83%] Linking CXX executable minimal-cuda-solver
[ 83%] Built target minimal-cuda-solver
[ 84%] Linking CXX executable nine-pt-stencil-solver
[ 84%] Built target nine-pt-stencil-solver
[ 85%] Linking CXX executable poisson-solver
[ 85%] Linking CXX executable simple-solver
[ 86%] Linking CXX executable preconditioned-solver
[ 86%] Built target poisson-solver
[ 86%] Built target simple-solver
[ 86%] Built target preconditioned-solver
make: *** [Makefile:152: all] Error 2

When enabling the tests, there are even more errors, so I think there is also an Issue with GTest (or it is the same that we have, I haven't looked too much into it yet).

CMake output with tests enabled
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- GINKGO_BUILD_TESTS is ON, enabling GINKGO_BUILD_REFERENCE
-- Performing Test Ginkgo_C_COVERAGE_SUPPORTED
-- Performing Test Ginkgo_C_COVERAGE_SUPPORTED - Success
-- Performing Test Ginkgo_C_TSAN_SUPPORTED
-- Performing Test Ginkgo_C_TSAN_SUPPORTED - Failed
-- Performing Test Ginkgo_C_ASAN_SUPPORTED
-- Performing Test Ginkgo_C_ASAN_SUPPORTED - Success
-- Performing Test Ginkgo_CXX_COVERAGE_SUPPORTED
-- Performing Test Ginkgo_CXX_COVERAGE_SUPPORTED - Success
-- Performing Test Ginkgo_CXX_TSAN_SUPPORTED
-- Performing Test Ginkgo_CXX_TSAN_SUPPORTED - Failed
-- Performing Test Ginkgo_CXX_ASAN_SUPPORTED
-- Performing Test Ginkgo_CXX_ASAN_SUPPORTED - Success
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Could NOT find PAPI (missing: PAPI_LIBRARY PAPI_INCLUDE_DIR) 
-- The CUDA compiler identification is NVIDIA 10.1.168
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/CudaArchitectureSelector/download
Scanning dependencies of target CudaArchitectureSelector
[ 11%] Creating directories for 'CudaArchitectureSelector'
[ 22%] Performing download step (git clone) for 'CudaArchitectureSelector'
Cloning into 'src'...
Note: checking out '0b46fb7d653404db312cbc1fc702cb528fd1c1b0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 0b46fb7 Make the feature checked compatible with C++03
[ 33%] No patch step for 'CudaArchitectureSelector'
[ 44%] Skipping update step for 'CudaArchitectureSelector'
[ 55%] Performing configure step for 'CudaArchitectureSelector'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:5 (set):
  Cannot set "CMAKE_MODULE_PATH": current scope has no parent.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/CudaArchitectureSelector/build
[ 66%] Performing build step for 'CudaArchitectureSelector'
[ 77%] No install step for 'CudaArchitectureSelector'
[ 88%] No test step for 'CudaArchitectureSelector'
[100%] Completed 'CudaArchitectureSelector'
[100%] Built target CudaArchitectureSelector
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/download
Scanning dependencies of target gtest_external
[ 11%] Creating directories for 'gtest_external'
[ 22%] Performing download step (git clone) for 'gtest_external'
Cloning into 'src'...
Note: checking out '2fe3bd994b3189899d93f1d5a881e725e046fdc2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 2fe3bd99 Merge pull request #1433 from dsacre/fix-clang-warnings
[ 33%] No patch step for 'gtest_external'
[ 44%] Skipping update step for 'gtest_external'
[ 55%] Performing configure step for 'gtest_external'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "3.7.3") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/build
[ 66%] Performing build step for 'gtest_external'
Scanning dependencies of target gtest
[ 12%] Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 25%] Linking CXX static library libgtestd.a
[ 25%] Built target gtest
Scanning dependencies of target gmock
[ 37%] Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 50%] Linking CXX static library libgmockd.a
[ 50%] Built target gmock
Scanning dependencies of target gmock_main
[ 62%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 75%] Linking CXX static library libgmock_maind.a
[ 75%] Built target gmock_main
Scanning dependencies of target gtest_main
[ 87%] Building CXX object googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[100%] Linking CXX static library libgtest_maind.a
[100%] Built target gtest_main
[ 77%] No install step for 'gtest_external'
[ 88%] No test step for 'gtest_external'
[100%] Completed 'gtest_external'
[100%] Built target gtest_external
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/git-cmake-format/download
Scanning dependencies of target git-cmake-format
[ 11%] Creating directories for 'git-cmake-format'
[ 22%] Performing download step (git clone) for 'git-cmake-format'
Cloning into 'src'...
Note: checking out '9fdc1553c525b3d7ce758892fe666078903a1b21'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 9fdc155 Fix typo
[ 33%] No patch step for 'git-cmake-format'
[ 44%] Skipping update step for 'git-cmake-format'
[ 55%] Performing configure step for 'git-cmake-format'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.22.0") 
-- Found PythonInterp: /usr/bin/python (found version "3.7.3") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/git-cmake-format/build
[ 66%] Performing build step for 'git-cmake-format'
[ 77%] No install step for 'git-cmake-format'
[ 88%] No test step for 'git-cmake-format'
[100%] Completed 'git-cmake-format'
[100%] Built target git-cmake-format
-- Found Git: /usr/bin/git (found version "2.22.0") 
-- Found PythonInterp: /usr/bin/python (found version "3.7.3") 
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/download
Scanning dependencies of target gflags_external
[ 11%] Creating directories for 'gflags_external'
[ 22%] Performing download step (git clone) for 'gflags_external'
Cloning into 'src'...
Note: checking out 'e171aa2d15ed9eb17054558e0b3a6a413bb01067'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e171aa2 Release v2.2.2
Submodule 'doc' (https://github.com/gflags/gflags.git) registered for path 'doc'
Cloning into '/home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/src/doc'...
Submodule path 'doc': checked out '8411df715cf522606e3b1aca386ddfc0b63d34b4'
[ 33%] No patch step for 'gflags_external'
[ 44%] Skipping update step for 'gflags_external'
[ 55%] Performing configure step for 'gflags_external'
-- The CXX compiler identification is GNU 9.1.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include fnmatch.h
-- Looking for C++ include fnmatch.h - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Looking for strtoll
-- Looking for strtoll - found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/build
[ 66%] Performing build step for 'gflags_external'
Scanning dependencies of target gflags_nothreads_static
[ 25%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o
[ 50%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o
[ 75%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o
[100%] Linking CXX static library lib/libgflags_nothreads_debug.a
[100%] Built target gflags_nothreads_static
[ 77%] No install step for 'gflags_external'
[ 88%] No test step for 'gflags_external'
[100%] Completed 'gflags_external'
[100%] Built target gflags_external
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/download
Scanning dependencies of target rapidjson_external
[ 11%] Creating directories for 'rapidjson_external'
[ 22%] Performing download step (git clone) for 'rapidjson_external'
Cloning into 'src'...
Note: checking out '8d272e53a4d1dc405e08ce2dd50159c58f4451e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 8d272e53 CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'thirdparty/gtest'
Cloning into '/home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/src/thirdparty/gtest'...
Submodule path 'thirdparty/gtest': checked out 'ba96d0b1161f540656efdaed035b3c062b60e006'
[ 33%] No patch step for 'rapidjson_external'
[ 44%] Skipping update step for 'rapidjson_external'
[ 55%] Performing configure step for 'rapidjson_external'
-- The CXX compiler identification is GNU 9.1.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/build
[ 66%] Performing build step for 'rapidjson_external'
[ 77%] No install step for 'rapidjson_external'
[ 88%] No test step for 'rapidjson_external'
[100%] Completed 'rapidjson_external'
[100%] Built target rapidjson_external
-- The CUDA compiler supports the following architectures: 30;32;35;37;50;52;53;60;61;62;70;72;75
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
CMake Warning at benchmark/CMakeLists.txt:2 (message):
  Ginkgo is not being built in "Release" mode, benchmark performance will be
  affected


-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug
make -j 6 output with tests enabled
Scanning dependencies of target ginkgo_cuda_device
Scanning dependencies of target generate_ginkgo_header
Scanning dependencies of target ginkgo_reference_device
Scanning dependencies of target ginkgo_omp_device
Scanning dependencies of target make_run_all_benchmarks
[  1%] Building CXX object core/devices/cuda/CMakeFiles/ginkgo_cuda_device.dir/executor.cpp.o
[  2%] Building CXX object core/devices/reference/CMakeFiles/ginkgo_reference_device.dir/dummy.cpp.o
[  2%] Building CXX object core/devices/omp/CMakeFiles/ginkgo_omp_device.dir/executor.cpp.o
[  2%] Built target make_run_all_benchmarks
[  2%] Built target ginkgo_reference_device
Scanning dependencies of target ginkgo_reference
[  2%] Built target generate_ginkgo_header
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/factorization/par_ilu_kernels.cpp.o
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/coo_kernels.cpp.o
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/base/version.cpp.o
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/csr_kernels.cpp.o
[  3%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/dense_kernels.cpp.o
[  3%] Built target ginkgo_omp_device
[  4%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/ell_kernels.cpp.o
[  4%] Built target ginkgo_cuda_device
[  4%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/hybrid_kernels.cpp.o
[  4%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/sellp_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:51:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3:   required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25:   required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31:   required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18:   required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:486:18:   required from ‘void gko::kernels::reference::csr::sort_by_column_index(std::shared_ptr<const gko::ReferenceExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:490:1:   required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:149:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
  149 |         operator element() const { return {dominant(), secondary()}; }
      |         ^~~~~~~~
Scanning dependencies of target ginkgo_cuda
[  4%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/exception.cpp.o
[  5%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/executor.cpp.o
[  5%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/version.cpp.o
[  5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/components/zero_array.cu.o
[  6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/factorization/par_ilu_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class

[  6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/coo_kernels.cu.o
[  7%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cg_kernels.cpp.o
[  7%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/preconditioner/jacobi_kernels.cpp.o
[  7%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/bicgstab_kernels.cpp.o
[  7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/csr_kernels.cu.o
[  7%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cgs_kernels.cpp.o
[  7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/dense_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class

[  8%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/fcg_kernels.cpp.o
[  9%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/ell_kernels.cu.o
[  9%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/hybrid_kernels.cu.o
[  9%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/gmres_kernels.cpp.o
[  9%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/ir_kernels.cpp.o
[ 10%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/criterion_kernels.cpp.o
[ 10%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/sellp_kernels.cu.o
[ 10%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 10%] Linking CXX shared library libginkgo_referenced.so
[ 10%] Built target ginkgo_reference
[ 11%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_advanced_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 11%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_generate_kernel.cu.o
[ 11%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 11%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_simple_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 12%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/bicgstab_kernels.cu.o
[ 12%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cg_kernels.cu.o
[ 12%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cgs_kernels.cu.o
[ 13%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/fcg_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 13%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/gmres_kernels.cu.o
[ 13%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/ir_kernels.cu.o
[ 13%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/criterion_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 14%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/residual_norm_reduction_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(445): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[ 14%] Linking CUDA device code CMakeFiles/ginkgo_cuda.dir/cmake_device_link.o
[ 14%] Linking CXX shared library libginkgo_cudad.so
[ 14%] Built target ginkgo_cuda
Scanning dependencies of target ginkgo_omp
[ 14%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/coo_kernels.cpp.o
[ 15%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/csr_kernels.cpp.o
[ 15%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/factorization/par_ilu_kernels.cpp.o
[ 15%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/base/version.cpp.o
[ 15%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/dense_kernels.cpp.o
[ 15%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/ell_kernels.cpp.o
[ 16%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/hybrid_kernels.cpp.o
[ 16%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/sellp_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:52:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3:   required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25:   required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31:   required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18:   required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:398:18:   required from ‘void gko::kernels::omp::csr::sort_by_column_index(std::shared_ptr<const gko::OmpExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:402:1:   required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:149:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
  149 |         operator element() const { return {dominant(), secondary()}; }
      |         ^~~~~~~~
[ 16%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/preconditioner/jacobi_kernels.cpp.o
[ 16%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/bicgstab_kernels.cpp.o
[ 17%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cg_kernels.cpp.o
[ 17%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cgs_kernels.cpp.o
[ 17%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/fcg_kernels.cpp.o
[ 18%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/gmres_kernels.cpp.o
[ 18%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/ir_kernels.cpp.o
[ 18%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/criterion_kernels.cpp.o
[ 18%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 19%] Linking CXX shared library libginkgo_ompd.so
[ 19%] Built target ginkgo_omp
Scanning dependencies of target ginkgo
[ 19%] Building CXX object core/CMakeFiles/ginkgo.dir/base/executor.cpp.o
[ 19%] Building CXX object core/CMakeFiles/ginkgo.dir/base/mtx_io.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/combination.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/composition.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/factorization/par_ilu.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/version.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/log/convergence.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/logger.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/record.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/stream.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/coo.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/csr.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/dense.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/ell.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/hybrid.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/identity.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/sellp.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/preconditioner/jacobi.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/bicgstab.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cg.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cgs.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/fcg.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/gmres.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/ir.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/combined.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/criterion.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/iteration.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/residual_norm_reduction.cpp.o
[ 28%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/time.cpp.o
[ 28%] Linking CXX shared library libginkgod.so
[ 28%] Built target ginkgo
Scanning dependencies of target cuda_test_matrix_hybrid_kernels
Scanning dependencies of target cuda_test_factorization_par_ilu_kernels
Scanning dependencies of target cuda_test_base_exception_helpers
Scanning dependencies of target cuda_test_base_cuda_executor
Scanning dependencies of target cuda_test_matrix_dense_kernels
Scanning dependencies of target cuda_test_matrix_coo_kernels
[ 28%] Building CXX object cuda/test/matrix/CMakeFiles/cuda_test_matrix_hybrid_kernels.dir/hybrid_kernels.cpp.o
[ 28%] Building CXX object cuda/test/factorization/CMakeFiles/cuda_test_factorization_par_ilu_kernels.dir/par_ilu_kernels.cpp.o
[ 29%] Building CUDA object cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/exception_helpers.cu.o
[ 30%] Building CUDA object cuda/test/base/CMakeFiles/cuda_test_base_cuda_executor.dir/cuda_executor.cu.o
[ 30%] Building CXX object cuda/test/matrix/CMakeFiles/cuda_test_matrix_dense_kernels.dir/dense_kernels.cpp.o
[ 30%] Building CXX object cuda/test/matrix/CMakeFiles/cuda_test_matrix_coo_kernels.dir/coo_kernels.cpp.o
[ 31%] Linking CXX executable par_ilu_kernels
[ 31%] Built target cuda_test_factorization_par_ilu_kernels
Scanning dependencies of target cuda_test_matrix_ell_kernels
[ 32%] Building CXX object cuda/test/matrix/CMakeFiles/cuda_test_matrix_ell_kernels.dir/ell_kernels.cpp.o
[ 32%] Linking CUDA device code CMakeFiles/cuda_test_base_exception_helpers.dir/cmake_device_link.o
[ 32%] Linking CUDA executable exception_helpers
[ 32%] Linking CXX executable coo_kernels
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::Message::Message()':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:990: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::edit_distance::CreateUnifiedDiff(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, unsigned long)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1253: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::WideStringToUtf8[abi:cxx11](wchar_t const*, int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1872: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatIntWidth2[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2005: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatHexInt[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2012: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o):/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2019: more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: ../../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/build.make:115: cuda/test/base/exception_helpers] Error 1
make[1]: *** [CMakeFiles/Makefile2:1392: cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 32%] Linking CUDA device code CMakeFiles/cuda_test_base_cuda_executor.dir/cmake_device_link.o
[ 32%] Linking CUDA executable cuda_executor
[ 32%] Built target cuda_test_matrix_coo_kernels
[ 33%] Linking CXX executable hybrid_kernels
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::Message::Message()':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:990: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::edit_distance::CreateUnifiedDiff(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, unsigned long)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1253: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::WideStringToUtf8[abi:cxx11](wchar_t const*, int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1872: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatIntWidth2[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2005: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatHexInt[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2012: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o):/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2019: more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: ../../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [cuda/test/base/CMakeFiles/cuda_test_base_cuda_executor.dir/build.make:115: cuda/test/base/cuda_executor] Error 1
make[1]: *** [CMakeFiles/Makefile2:1432: cuda/test/base/CMakeFiles/cuda_test_base_cuda_executor.dir/all] Error 2
[ 33%] Built target cuda_test_matrix_hybrid_kernels
[ 33%] Linking CXX executable dense_kernels
[ 33%] Built target cuda_test_matrix_dense_kernels
[ 33%] Linking CXX executable ell_kernels
[ 33%] Built target cuda_test_matrix_ell_kernels
make: *** [Makefile:163: all] Error 2
@thoasm thoasm added is:bug Something looks wrong. reg:build This is related to the build system. labels Jul 4, 2019
@tcojean
Copy link
Member

tcojean commented Jul 4, 2019

Since this happens with custom-matrix-format format when not enabling the tests, what if you remove from examples/CMakeLists.txt the following:

add_subdirectory(custom-matrix-format)

If it is the only example where it fails, working on this example to find the problem is interesting as it is (relatively) self contained. There is basically only the print_solution function and two places for debugging and result which use streams.

@thoasm
Copy link
Member Author

thoasm commented Jul 4, 2019

Your are right, custom-matrix-format seems to be the only issue when compiling without tests because it works when I did what you suggested.
But I think we should address the GTest issue at some point by using a later version of GTest (if they have a version that works).

But, for now, I will leave this as an issue, and revisit it if there is a specific request, or when I have time.

@yhmtsai
Copy link
Member

yhmtsai commented Sep 10, 2019

@thoasm Did you try this config CXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'?
Reference

@thoasm
Copy link
Member Author

thoasm commented Sep 10, 2019

Unfortunately, it did not work. I used this configuration:

cmake -G "Unix Makefiles"     -DCMAKE_EXPORT_COMPILE_COMMANDS=ON  \
-DCMAKE_BUILD_TYPE=Debug     -DGINKGO_DEVEL_TOOLS=ON \
-DGINKGO_BUILD_TESTS=ON      -DGINKGO_BUILD_REFERENCE=ON \
-DGINKGO_BUILD_OMP=ON        -DGINKGO_BUILD_CUDA=ON \
-DGINKGO_CUDA_ARCHITECTURES="50"     -DBUILD_SHARED_LIBS=ON  \
../..  -DCXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'

And I pretty much got the same error again.

full cmake output (with tests enabled)
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- GINKGO_BUILD_TESTS is ON, enabling GINKGO_BUILD_REFERENCE
-- Performing Test Ginkgo_C_COVERAGE_SUPPORTED
-- Performing Test Ginkgo_C_COVERAGE_SUPPORTED - Success
-- Performing Test Ginkgo_C_TSAN_SUPPORTED
-- Performing Test Ginkgo_C_TSAN_SUPPORTED - Failed
-- Performing Test Ginkgo_C_ASAN_SUPPORTED
-- Performing Test Ginkgo_C_ASAN_SUPPORTED - Success
-- Performing Test Ginkgo_CXX_COVERAGE_SUPPORTED
-- Performing Test Ginkgo_CXX_COVERAGE_SUPPORTED - Success
-- Performing Test Ginkgo_CXX_TSAN_SUPPORTED
-- Performing Test Ginkgo_CXX_TSAN_SUPPORTED - Failed
-- Performing Test Ginkgo_CXX_ASAN_SUPPORTED
-- Performing Test Ginkgo_CXX_ASAN_SUPPORTED - Success
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Could NOT find PAPI (missing: PAPI_LIBRARY PAPI_INCLUDE_DIR) 
-- The CUDA compiler identification is NVIDIA 10.1.243
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/CudaArchitectureSelector/download
Scanning dependencies of target CudaArchitectureSelector
[ 11%] Creating directories for 'CudaArchitectureSelector'
[ 22%] Performing download step (git clone) for 'CudaArchitectureSelector'
Cloning into 'src'...
Note: switching to '0b46fb7d653404db312cbc1fc702cb528fd1c1b0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 0b46fb7 Make the feature checked compatible with C++03
[ 33%] No patch step for 'CudaArchitectureSelector'
[ 44%] Skipping update step for 'CudaArchitectureSelector'
[ 55%] Performing configure step for 'CudaArchitectureSelector'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:5 (set):
  Cannot set "CMAKE_MODULE_PATH": current scope has no parent.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/CudaArchitectureSelector/build
[ 66%] Performing build step for 'CudaArchitectureSelector'
[ 77%] No install step for 'CudaArchitectureSelector'
[ 88%] No test step for 'CudaArchitectureSelector'
[100%] Completed 'CudaArchitectureSelector'
[100%] Built target CudaArchitectureSelector
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/download
Scanning dependencies of target gtest_external
[ 11%] Creating directories for 'gtest_external'
[ 22%] Performing download step (git clone) for 'gtest_external'
Cloning into 'src'...
Note: switching to '2fe3bd994b3189899d93f1d5a881e725e046fdc2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 2fe3bd99 Merge pull request #1433 from dsacre/fix-clang-warnings
[ 33%] No patch step for 'gtest_external'
[ 44%] Skipping update step for 'gtest_external'
[ 55%] Performing configure step for 'gtest_external'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "3.7.4") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/build
[ 66%] Performing build step for 'gtest_external'
Scanning dependencies of target gtest
[ 12%] Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 25%] Linking CXX static library libgtestd.a
[ 25%] Built target gtest
Scanning dependencies of target gmock
[ 37%] Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 50%] Linking CXX static library libgmockd.a
[ 50%] Built target gmock
Scanning dependencies of target gmock_main
[ 62%] Building CXX object googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 75%] Linking CXX static library libgmock_maind.a
[ 75%] Built target gmock_main
Scanning dependencies of target gtest_main
[ 87%] Building CXX object googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[100%] Linking CXX static library libgtest_maind.a
[100%] Built target gtest_main
[ 77%] No install step for 'gtest_external'
[ 88%] No test step for 'gtest_external'
[100%] Completed 'gtest_external'
[100%] Built target gtest_external
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/git-cmake-format/download
Scanning dependencies of target git-cmake-format
[ 11%] Creating directories for 'git-cmake-format'
[ 22%] Performing download step (git clone) for 'git-cmake-format'
Cloning into 'src'...
Note: switching to '9fdc1553c525b3d7ce758892fe666078903a1b21'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 9fdc155 Fix typo
[ 33%] No patch step for 'git-cmake-format'
[ 44%] Skipping update step for 'git-cmake-format'
[ 55%] Performing configure step for 'git-cmake-format'
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.23.0") 
-- Found PythonInterp: /usr/bin/python (found version "3.7.4") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/git-cmake-format/build
[ 66%] Performing build step for 'git-cmake-format'
[ 77%] No install step for 'git-cmake-format'
[ 88%] No test step for 'git-cmake-format'
[100%] Completed 'git-cmake-format'
[100%] Built target git-cmake-format
-- Found Git: /usr/bin/git (found version "2.23.0") 
-- Found PythonInterp: /usr/bin/python (found version "3.7.4") 
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/download
Scanning dependencies of target gflags_external
[ 11%] Creating directories for 'gflags_external'
[ 22%] Performing download step (git clone) for 'gflags_external'
Cloning into 'src'...
Note: switching to 'e171aa2d15ed9eb17054558e0b3a6a413bb01067'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e171aa2 Release v2.2.2
Submodule 'doc' (https://github.com/gflags/gflags.git) registered for path 'doc'
Cloning into '/home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/src/doc'...
Submodule path 'doc': checked out '8411df715cf522606e3b1aca386ddfc0b63d34b4'
[ 33%] No patch step for 'gflags_external'
[ 44%] Skipping update step for 'gflags_external'
[ 55%] Performing configure step for 'gflags_external'
-- The CXX compiler identification is GNU 9.1.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include fnmatch.h
-- Looking for C++ include fnmatch.h - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Looking for strtoll
-- Looking for strtoll - found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/gflags/build
[ 66%] Performing build step for 'gflags_external'
Scanning dependencies of target gflags_nothreads_static
[ 25%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags.cc.o
[ 50%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_reporting.cc.o
[ 75%] Building CXX object CMakeFiles/gflags_nothreads_static.dir/src/gflags_completions.cc.o
[100%] Linking CXX static library lib/libgflags_nothreads_debug.a
[100%] Built target gflags_nothreads_static
[ 77%] No install step for 'gflags_external'
[ 88%] No test step for 'gflags_external'
[100%] Completed 'gflags_external'
[100%] Built target gflags_external
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/download
Scanning dependencies of target rapidjson_external
[ 11%] Creating directories for 'rapidjson_external'
[ 22%] Performing download step (git clone) for 'rapidjson_external'
Cloning into 'src'...
Note: switching to '8d272e53a4d1dc405e08ce2dd50159c58f4451e9'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 8d272e53 CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'thirdparty/gtest'
Cloning into '/home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/src/thirdparty/gtest'...
Submodule path 'thirdparty/gtest': checked out 'ba96d0b1161f540656efdaed035b3c062b60e006'
[ 33%] No patch step for 'rapidjson_external'
[ 44%] Skipping update step for 'rapidjson_external'
[ 55%] Performing configure step for 'rapidjson_external'
-- The CXX compiler identification is GNU 9.1.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COMPILER_PREFIX
    CMAKE_C_COMPILER
    CMAKE_C_FLAGS
    CMAKE_RC_COMPILER


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug/third_party/rapidjson/build
[ 66%] Performing build step for 'rapidjson_external'
[ 77%] No install step for 'rapidjson_external'
[ 88%] No test step for 'rapidjson_external'
[100%] Completed 'rapidjson_external'
[100%] Built target rapidjson_external
-- The CUDA compiler supports the following architectures: 30;32;35;37;50;52;53;60;61;62;70;72;75
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
CMake Warning at benchmark/CMakeLists.txt:2 (message):
  Ginkgo is not being built in "Release" mode, benchmark performance will be
  affected


-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CXXFLAGS


-- Build files have been written to: /home/thomas/projects/ginkgo_github/build/debug

and I got the following output:

full make output (with tests enabled)
Scanning dependencies of target generate_ginkgo_header
[  0%] Built target generate_ginkgo_header
Scanning dependencies of target ginkgo_cuda_device
[  1%] Building CXX object core/devices/cuda/CMakeFiles/ginkgo_cuda_device.dir/executor.cpp.o
[  1%] Built target ginkgo_cuda_device
Scanning dependencies of target ginkgo_cuda
[  2%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/exception.cpp.o
[  2%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/executor.cpp.o
[  2%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/version.cpp.o
[  3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/components/zero_array.cu.o
[  3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/factorization/par_ilu_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class

[  3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/coo_kernels.cu.o
[  3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/csr_kernels.cu.o
[  4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/dense_kernels.cu.o
[  4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/ell_kernels.cu.o
[  4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/hybrid_kernels.cu.o
[  4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/sellp_kernels.cu.o
[  5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_advanced_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[  5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_generate_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[  5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[  6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_simple_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration

[  6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/bicgstab_kernels.cu.o
[  6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cg_kernels.cu.o
[  6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cgs_kernels.cu.o
[  7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/fcg_kernels.cu.o
[  7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/gmres_kernels.cu.o
[  7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/ir_kernels.cu.o
[  7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/lower_trs_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/solver/lower_trs.hpp(127): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/solver/lower_trs.hpp(127): warning: inheriting constructors must be inherited from a direct base class

[  8%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/criterion_kernels.cu.o
[  8%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/residual_norm_reduction_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class

/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class

[  8%] Linking CXX shared library libginkgo_cudad.so
[  8%] Built target ginkgo_cuda
Scanning dependencies of target ginkgo_omp_device
[  8%] Building CXX object core/devices/omp/CMakeFiles/ginkgo_omp_device.dir/executor.cpp.o
[  8%] Built target ginkgo_omp_device
Scanning dependencies of target ginkgo_omp
[  8%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/base/version.cpp.o
[  8%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/factorization/par_ilu_kernels.cpp.o
[  8%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/coo_kernels.cpp.o
[  9%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/csr_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:52:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3:   required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25:   required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31:   required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18:   required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:398:18:   required from ‘void gko::kernels::omp::csr::sort_by_column_index(std::shared_ptr<const gko::OmpExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:402:1:   required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:154:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
  154 |         operator element() const { return {dominant(), secondary()}; }
      |         ^~~~~~~~
[  9%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/dense_kernels.cpp.o
[  9%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/ell_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/hybrid_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/sellp_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/preconditioner/jacobi_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/bicgstab_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cg_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cgs_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/fcg_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/gmres_kernels.cpp.o
[ 12%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/ir_kernels.cpp.o
[ 12%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/lower_trs_kernels.cpp.o
[ 12%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/criterion_kernels.cpp.o
[ 13%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 13%] Linking CXX shared library libginkgo_ompd.so
[ 13%] Built target ginkgo_omp
Scanning dependencies of target ginkgo_reference_device
[ 14%] Building CXX object core/devices/reference/CMakeFiles/ginkgo_reference_device.dir/dummy.cpp.o
[ 14%] Built target ginkgo_reference_device
Scanning dependencies of target ginkgo_reference
[ 14%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/base/version.cpp.o
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/factorization/par_ilu_kernels.cpp.o
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/coo_kernels.cpp.o
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/csr_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:51:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3:   required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25:   required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31:   required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18:   required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:486:18:   required from ‘void gko::kernels::reference::csr::sort_by_column_index(std::shared_ptr<const gko::ReferenceExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:490:1:   required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:154:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
  154 |         operator element() const { return {dominant(), secondary()}; }
      |         ^~~~~~~~
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/dense_kernels.cpp.o
[ 16%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/ell_kernels.cpp.o
[ 16%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/hybrid_kernels.cpp.o
[ 16%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/sellp_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/preconditioner/jacobi_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/bicgstab_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cg_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cgs_kernels.cpp.o
[ 18%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/fcg_kernels.cpp.o
[ 18%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/gmres_kernels.cpp.o
[ 18%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/ir_kernels.cpp.o
[ 19%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/lower_trs_kernels.cpp.o
[ 19%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/criterion_kernels.cpp.o
[ 19%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 19%] Linking CXX shared library libginkgo_referenced.so
[ 19%] Built target ginkgo_reference
Scanning dependencies of target ginkgo
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/combination.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/composition.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/executor.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/mtx_io.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/perturbation.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/version.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/factorization/par_ilu.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/convergence.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/logger.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/record.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/stream.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/coo.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/csr.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/dense.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/ell.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/hybrid.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/identity.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/sellp.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/preconditioner/jacobi.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/bicgstab.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cg.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cgs.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/fcg.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/gmres.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/ir.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/lower_trs.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/combined.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/criterion.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/iteration.cpp.o
[ 28%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/residual_norm_reduction.cpp.o
[ 28%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/time.cpp.o
[ 28%] Linking CXX shared library libginkgod.so
[ 28%] Built target ginkgo
Scanning dependencies of target cuda_test_base_exception_helpers
[ 28%] Building CUDA object cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/exception_helpers.cu.o
[ 29%] Linking CUDA executable exception_helpers
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::Message::Message()':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:990: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::edit_distance::CreateUnifiedDiff(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, unsigned long)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1253: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::WideStringToUtf8[abi:cxx11](wchar_t const*, int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1872: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatIntWidth2[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2005: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatHexInt[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2012: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o):/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2019: more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: ../../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/build.make:90: cuda/test/base/exception_helpers] Error 1
make[1]: *** [CMakeFiles/Makefile2:1273: cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

@yhmtsai
Copy link
Member

yhmtsai commented Sep 10, 2019

Could you try custom-matrix-format without test?
I think the CXXFLAG does not pass to the CMake of Gtest

@thoasm
Copy link
Member Author

thoasm commented Sep 10, 2019

Makes sense, my bad (should have thought of that).
I get the following error (without compiling tests):

[ 74%] Linking CXX executable custom-matrix-format
/usr/bin/ld: ../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/custom-matrix-format/CMakeFiles/custom-matrix-format.dir/build.make:103: examples/custom-matrix-format/custom-matrix-format] Error 1
make[1]: *** [CMakeFiles/Makefile2:835: examples/custom-matrix-format/CMakeFiles/custom-matrix-format.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Everything else looks normal.

@yhmtsai
Copy link
Member

yhmtsai commented Sep 10, 2019

Okay, CXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0' can not help this problem

@thoasm
Copy link
Member Author

thoasm commented Sep 10, 2019

Looks like it, but thanks for the input!

@tcojean tcojean mentioned this issue Oct 14, 2019
26 tasks
@tcojean tcojean added this to the v1.1.0 milestone Oct 14, 2019
@tcojean tcojean self-assigned this Oct 14, 2019
@tcojean
Copy link
Member

tcojean commented Oct 14, 2019

I cannot get this problem anymore with either of these setups:

  • home computer, cmake 3.13.4, gcc 9.2.1, CUDA 10.1.105,
  • container CUDA 10.1 with gcc upgrade to 9, cmake 3.14.5, gcc 9.1.0 (Ubuntu 9.1.0-2ubuntu2~16.04), CUDA 10.1.243
  • container without CUDA, cmake 3.14.5, gcc 9 (same as above, but ubuntu 18.04)

I think these were related to some bugs in the compiler which has now been fixed. I will push a CI and container update to have a GCC 9.1 container compilation (without CUDA) and close this issue if all goes well.

tcojean added a commit that referenced this issue Oct 17, 2019
This PR updates the CI setup in accordance with what was previously in #307. This
allows to simplify #307 as well as multiple early benefits: testing ginkgo against
CUDA 10.1, gcc 9, clang 7 and 8. In addition, this allows the usage of the AMDCI
system as part of testing (CPU jobs, later AMD HIP ones also) which can help
reduce contention on the fineci system.

### Closes #323

### Overview
+ Test jobs are fusioned with build jobs, this removes the need for artifacts
  which Ginkgo overuses and can speedup the build process.
+ No CUDA containers are upgraded to gcc 9.1 and llvm 8
+ New CUDA 10.1 container and related jobs are introduced.
+ Use tags to allow using the AMDCI system and track between CUDA and CPU
  requirements.

### Unrelated change
+ Temporarily disable codecov since wrong coverage results are reported all of a sudden

### Related PR: #365
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Something looks wrong. reg:build This is related to the build system.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants