Determining if the isfinite exist failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_c622f/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c622f.dir/build.make CMakeFiles/cmTC_c622f.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c622f.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -o CMakeFiles/cmTC_c622f.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘isfinite’ was not declared in this scope; did you mean ‘std::isfinite’? 8 | return ((int*)(&isfinite))[argc]; | ^~~~~~~~ | std::isfinite In file included from /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cmath:578:5: note: ‘std::isfinite’ declared here 578 | isfinite(_Tp __x) | ^~~~~~~~ gmake[1]: *** [CMakeFiles/cmTC_c622f.dir/build.make:66: CMakeFiles/cmTC_c622f.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_c622f/fast] Error 2 File /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef isfinite return ((int*)(&isfinite))[argc]; #else (void)argc; return 0; #endif } Determining if the isinf exist failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_b3748/fast && /usr/bin/gmake -f CMakeFiles/cmTC_b3748.dir/build.make CMakeFiles/cmTC_b3748.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b3748.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -o CMakeFiles/cmTC_b3748.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘isinf’ was not declared in this scope; did you mean ‘std::isinf’? 8 | return ((int*)(&isinf))[argc]; | ^~~~~ | std::isinf In file included from /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cmath:605:5: note: ‘std::isinf’ declared here 605 | isinf(_Tp __x) | ^~~~~ gmake[1]: *** [CMakeFiles/cmTC_b3748.dir/build.make:66: CMakeFiles/cmTC_b3748.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_b3748/fast] Error 2 File /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef isinf return ((int*)(&isinf))[argc]; #else (void)argc; return 0; #endif } Determining if the isnan exist failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_febee/fast && /usr/bin/gmake -f CMakeFiles/cmTC_febee.dir/build.make CMakeFiles/cmTC_febee.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_febee.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -o CMakeFiles/cmTC_febee.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘isnan’ was not declared in this scope; did you mean ‘std::isnan’? 8 | return ((int*)(&isnan))[argc]; | ^~~~~ | std::isnan In file included from /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cmath:632:5: note: ‘std::isnan’ declared here 632 | isnan(_Tp __x) | ^~~~~ gmake[1]: *** [CMakeFiles/cmTC_febee.dir/build.make:66: CMakeFiles/cmTC_febee.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_febee/fast] Error 2 File /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef isnan return ((int*)(&isnan))[argc]; #else (void)argc; return 0; #endif } Determining if the function isfinite exists failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_3bd16/fast && /usr/bin/gmake -f CMakeFiles/cmTC_3bd16.dir/build.make CMakeFiles/cmTC_3bd16.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3bd16.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=isfinite -o CMakeFiles/cmTC_3bd16.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_3bd16 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3bd16.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=isfinite -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_3bd16.dir/CheckFunctionExists.c.o -o cmTC_3bd16 -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_3bd16.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `isfinite' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_3bd16.dir/build.make:87: cmTC_3bd16] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_3bd16/fast] Error 2 Determining if the function arc4random exists failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5f0a9/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5f0a9.dir/build.make CMakeFiles/cmTC_5f0a9.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5f0a9.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=arc4random -o CMakeFiles/cmTC_5f0a9.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_5f0a9 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5f0a9.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=arc4random -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_5f0a9.dir/CheckFunctionExists.c.o -o cmTC_5f0a9 -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_5f0a9.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `arc4random' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_5f0a9.dir/build.make:87: cmTC_5f0a9] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_5f0a9/fast] Error 2 Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5929d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5929d.dir/build.make CMakeFiles/cmTC_5929d.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5929d.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_5929d.dir/src.c.o -c /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_5929d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5929d.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_5929d.dir/src.c.o -o cmTC_5929d -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_5929d.dir/src.c.o: in function `main': src.c:(.text.startup+0x25): 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.startup+0x2e): 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.startup+0x39): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_5929d.dir/build.make:87: cmTC_5929d] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_5929d/fast] Error 2 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/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_b62e3/fast && /usr/bin/gmake -f CMakeFiles/cmTC_b62e3.dir/build.make CMakeFiles/cmTC_b62e3.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b62e3.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_b62e3.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_b62e3 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b62e3.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_b62e3.dir/CheckFunctionExists.c.o -o cmTC_b62e3 -lpthreads -lm /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 gmake[1]: *** [CMakeFiles/cmTC_b62e3.dir/build.make:87: cmTC_b62e3] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_b62e3/fast] Error 2