Determining if the isfinite exist failed with the following output: Change Dir: /var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_76059/fast && /usr/bin/gmake -f CMakeFiles/cmTC_76059.dir/build.make CMakeFiles/cmTC_76059.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_76059.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o CMakeFiles/cmTC_76059.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/shogun-5.0.0-r1/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-r1/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/cmath:578:5: note: ‘std::isfinite’ declared here 578 | isfinite(_Tp __x) | ^~~~~~~~ gmake[1]: *** [CMakeFiles/cmTC_76059.dir/build.make:83: CMakeFiles/cmTC_76059.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_76059/fast] Error 2 File /var/tmp/portage/sci-libs/shogun-5.0.0-r1/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_7a138/fast && /usr/bin/gmake -f CMakeFiles/cmTC_7a138.dir/build.make CMakeFiles/cmTC_7a138.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7a138.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o CMakeFiles/cmTC_7a138.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/shogun-5.0.0-r1/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-r1/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/cmath:605:5: note: ‘std::isinf’ declared here 605 | isinf(_Tp __x) | ^~~~~ gmake[1]: *** [CMakeFiles/cmTC_7a138.dir/build.make:83: CMakeFiles/cmTC_7a138.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_7a138/fast] Error 2 File /var/tmp/portage/sci-libs/shogun-5.0.0-r1/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_5aef8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_5aef8.dir/build.make CMakeFiles/cmTC_5aef8.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5aef8.dir/CheckSymbolExists.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -o CMakeFiles/cmTC_5aef8.dir/CheckSymbolExists.cxx.o -c /var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /var/tmp/portage/sci-libs/shogun-5.0.0-r1/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-r1/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/cmath:632:5: note: ‘std::isnan’ declared here 632 | isnan(_Tp __x) | ^~~~~ gmake[1]: *** [CMakeFiles/cmTC_5aef8.dir/build.make:83: CMakeFiles/cmTC_5aef8.dir/CheckSymbolExists.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_5aef8/fast] Error 2 File /var/tmp/portage/sci-libs/shogun-5.0.0-r1/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_e7c5a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_e7c5a.dir/build.make CMakeFiles/cmTC_e7c5a.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e7c5a.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=isfinite -o CMakeFiles/cmTC_e7c5a.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_e7c5a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e7c5a.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=isfinite -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_e7c5a.dir/CheckFunctionExists.c.o -o cmTC_e7c5a -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_e7c5a.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_e7c5a.dir/build.make:104: cmTC_e7c5a] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_e7c5a/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_8fab0/fast && /usr/bin/gmake -f CMakeFiles/cmTC_8fab0.dir/build.make CMakeFiles/cmTC_8fab0.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8fab0.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=arc4random -o CMakeFiles/cmTC_8fab0.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_8fab0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8fab0.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=arc4random -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_8fab0.dir/CheckFunctionExists.c.o -o cmTC_8fab0 -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8fab0.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_8fab0.dir/build.make:104: cmTC_8fab0] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_8fab0/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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_7544b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_7544b.dir/build.make CMakeFiles/cmTC_7544b.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7544b.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_7544b.dir/src.c.o -c /var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_7544b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7544b.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_7544b.dir/src.c.o -o cmTC_7544b -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_7544b.dir/src.c.o: in function `main': src.c:(.text.startup+0x23): undefined reference to `pthread_create' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x2c): undefined reference to `pthread_detach' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x35): undefined reference to `pthread_cancel' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x40): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_7544b.dir/build.make:104: cmTC_7544b] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_7544b/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_cancel(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-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_88e01/fast && /usr/bin/gmake -f CMakeFiles/cmTC_88e01.dir/build.make CMakeFiles/cmTC_88e01.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_88e01.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_88e01.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_88e01 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88e01.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_88e01.dir/CheckFunctionExists.c.o -o cmTC_88e01 -lpthreads -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_88e01.dir/build.make:104: cmTC_88e01] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/shogun-5.0.0-r1/work/shogun-5.0.0_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:138: cmTC_88e01/fast] Error 2