Performing C++ SOURCE FILE Test DEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.1.1/work/dealii-9.1.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2579b && [1/2] Building CXX object CMakeFiles/cmTC_2579b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_2579b.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DDEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS -O2 -pipe -march=native -std=c++17 -o CMakeFiles/cmTC_2579b.dir/src.cxx.o -c src.cxx src.cxx: In function ‘int main()’: src.cxx:6:14: error: no match for ‘operator*’ (operand types are ‘double’ and ‘std::complex’) 6 | double() * std::complex(); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 387 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: template argument deduction/substitution failed: src.cxx:6:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 6 | double() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 396 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: template argument deduction/substitution failed: src.cxx:6:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 6 | double() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 405 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: template argument deduction/substitution failed: src.cxx:6:36: note: deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’) 6 | double() * std::complex(); | ^ src.cxx:7:27: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘double’) 7 | std::complex() * double(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 387 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: template argument deduction/substitution failed: src.cxx:7:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 7 | std::complex() * double(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 396 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: template argument deduction/substitution failed: src.cxx:7:36: note: deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘double’) 7 | std::complex() * double(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 405 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: template argument deduction/substitution failed: src.cxx:7:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 7 | std::complex() * double(); | ^ src.cxx:8:13: error: no match for ‘operator*’ (operand types are ‘float’ and ‘std::complex’) 8 | float() * std::complex(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 387 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: template argument deduction/substitution failed: src.cxx:8:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 8 | float() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 396 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: template argument deduction/substitution failed: src.cxx:8:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 8 | float() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 405 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: template argument deduction/substitution failed: src.cxx:8:36: note: deduced conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’) 8 | float() * std::complex(); | ^ src.cxx:9:28: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘float’) 9 | std::complex() * float(); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 387 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: template argument deduction/substitution failed: src.cxx:9:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 9 | std::complex() * float(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 396 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: template argument deduction/substitution failed: src.cxx:9:36: note: deduced conflicting types for parameter ‘const _Tp’ (‘double’ and ‘float’) 9 | std::complex() * float(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 405 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: template argument deduction/substitution failed: src.cxx:9:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 9 | std::complex() * float(); | ^ src.cxx:10:28: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘std::complex’) 10 | std::complex() * std::complex(); | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ | | | | complex complex In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 387 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: template argument deduction/substitution failed: src.cxx:10:50: note: deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’) 10 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 396 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: template argument deduction/substitution failed: src.cxx:10:50: note: deduced conflicting types for parameter ‘const _Tp’ (‘double’ and ‘std::complex’) 10 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 405 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: template argument deduction/substitution failed: src.cxx:10:50: note: deduced conflicting types for parameter ‘_Tp’ (‘std::complex’ and ‘float’) 10 | std::complex() * std::complex(); | ^ src.cxx:11:27: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘std::complex’) 11 | std::complex() * std::complex(); | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ | | | | complex complex In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 387 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:387:5: note: template argument deduction/substitution failed: src.cxx:11:50: note: deduced conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’) 11 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 396 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:396:5: note: template argument deduction/substitution failed: src.cxx:11:50: note: deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘std::complex’) 11 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 405 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/complex:405:5: note: template argument deduction/substitution failed: src.cxx:11:50: note: deduced conflicting types for parameter ‘_Tp’ (‘std::complex’ and ‘double’) 11 | std::complex() * std::complex(); | ^ ninja: build stopped: subcommand failed. Source file was: #include int main() { double() * std::complex(); std::complex() * double(); float() * std::complex(); std::complex() * float(); std::complex() * std::complex(); std::complex() * std::complex(); return 0; } Performing C++ SOURCE FILE Test DEAL_II_COMPILER_HAS_FUSE_LD_LLD failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.1.1/work/dealii-9.1.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_9aadf && [1/2] Building CXX object CMakeFiles/cmTC_9aadf.dir/src.cxx.o [2/2] Linking CXX executable cmTC_9aadf FAILED: cmTC_9aadf : && /usr/bin/x86_64-pc-linux-gnu-g++ -DDEAL_II_COMPILER_HAS_FUSE_LD_LLD -O2 -pipe -march=native -Werror -fuse-ld=lld -rdynamic CMakeFiles/cmTC_9aadf.dir/src.cxx.o -o cmTC_9aadf -Wl,-O1 -Wl,--as-needed && : collect2: fatal error: cannot find ‘ld’ compilation terminated. ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test MKL_SYMBOL_CHECK failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.1.1/work/dealii-9.1.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2a555 && [1/2] Building CXX object CMakeFiles/cmTC_2a555.dir/src.cxx.o FAILED: CMakeFiles/cmTC_2a555.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DMKL_SYMBOL_CHECK -pthread -o CMakeFiles/cmTC_2a555.dir/src.cxx.o -c src.cxx src.cxx:2:14: fatal error: mkl.h: No such file or directory 2 | #include | ^~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(){ const int m = 5; const int n = 2; std::vector A(m*n,0.); std::vector B(m*n,0.); mkl_domatcopy('C', 'T', m, n, 1., A.data(), n, B.data(), m); return 0; } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.1.1/work/dealii-9.1.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_43d0d && [1/2] Building C object CMakeFiles/cmTC_43d0d.dir/src.c.o [2/2] Linking C executable cmTC_43d0d FAILED: cmTC_43d0d : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_43d0d.dir/src.c.o -o cmTC_43d0d && : /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_43d0d.dir/src.c.o: in function `main': src.c:(.text+0x3e): undefined reference to `pthread_create' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text+0x4a): undefined reference to `pthread_detach' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text+0x5b): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.1.1/work/dealii-9.1.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_46727 && [1/2] Building C object CMakeFiles/cmTC_46727.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_46727 FAILED: cmTC_46727 : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_46727.dir/CheckFunctionExists.c.o -o cmTC_46727 -lpthreads && : /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C++ SOURCE FILE Test DEAL_II_HAS_AUTO_PTR failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.1.1/work/dealii-9.1.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_3cb72 && [1/2] Building CXX object CMakeFiles/cmTC_3cb72.dir/src.cxx.o FAILED: CMakeFiles/cmTC_3cb72.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DDEAL_II_HAS_AUTO_PTR -O2 -pipe -march=native -std=c++17 -Werror -o CMakeFiles/cmTC_3cb72.dir/src.cxx.o -c src.cxx src.cxx: In function ‘int main()’: src.cxx:7:12: error: ‘template class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations] 7 | std::auto_ptr x(i); | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/memory:80, from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ cc1plus: all warnings being treated as errors ninja: build stopped: subcommand failed. Source file was: #include int main() { int *i = new int; std::auto_ptr x(i); return 0; }