Determining if the pthread_create exist failed with the following output: Change Dir: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_66129/fast /usr/bin/gmake -f CMakeFiles/cmTC_66129.dir/build.make CMakeFiles/cmTC_66129.dir/build gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_66129.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -fPIE -o CMakeFiles/cmTC_66129.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_66129 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_66129.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_66129.dir/CheckSymbolExists.c.o -o cmTC_66129 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_66129.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_66129.dir/build.make:87: cmTC_66129] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_66129/fast] Error 2 File /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_92290/fast /usr/bin/gmake -f CMakeFiles/cmTC_92290.dir/build.make CMakeFiles/cmTC_92290.dir/build gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_92290.dir/CheckFunctionExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o CMakeFiles/cmTC_92290.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_92290 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_92290.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_92290.dir/CheckFunctionExists.c.o -o cmTC_92290 -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 gmake[1]: *** [CMakeFiles/cmTC_92290.dir/build.make:87: cmTC_92290] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_92290/fast] Error 2 Performing C++ SOURCE FILE Test HAVE_IS_SAME failed with the following output: Change Dir: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_2fa0e/fast /usr/bin/gmake -f CMakeFiles/cmTC_2fa0e.dir/build.make CMakeFiles/cmTC_2fa0e.dir/build gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_2fa0e.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -std=c++11 -O2 -pipe -march=native -std=c++11 -DHAVE_IS_SAME -fPIE -o CMakeFiles/cmTC_2fa0e.dir/src.cxx.o -c /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx:1:1: error: ‘::main’ must return ‘int’ 1 | void main() { return is_same::value; } | ^~~~ /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx:1:22: error: ‘is_same’ was not declared in this scope 1 | void main() { return is_same::value; } | ^~~~~~~ /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx:1:30: error: expected primary-expression before ‘bool’ 1 | void main() { return is_same::value; } | ^~~~ /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx:1:30: error: expected ‘;’ before ‘bool’ 1 | void main() { return is_same::value; } | ^~~~ | ; /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx:1:34: error: expected unqualified-id before ‘,’ token 1 | void main() { return is_same::value; } | ^ /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/src.cxx:1:35: error: expected unqualified-id before ‘char’ 1 | void main() { return is_same::value; } | ^~~~ gmake[1]: *** [CMakeFiles/cmTC_2fa0e.dir/build.make:66: CMakeFiles/cmTC_2fa0e.dir/src.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_2fa0e/fast] Error 2 Source file was: void main() { return is_same::value; } Determining if the include file sys/endian.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_ef297/fast /usr/bin/gmake -f CMakeFiles/cmTC_ef297.dir/build.make CMakeFiles/cmTC_ef297.dir/build gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ef297.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -fPIE -o CMakeFiles/cmTC_ef297.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/endian.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_ef297.dir/build.make:66: CMakeFiles/cmTC_ef297.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_ef297/fast] Error 2 Determining if the include file sys/byteorder.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_11fe5/fast /usr/bin/gmake -f CMakeFiles/cmTC_11fe5.dir/build.make CMakeFiles/cmTC_11fe5.dir/build gmake[1]: Entering directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_11fe5.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -fPIE -o CMakeFiles/cmTC_11fe5.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/byteorder.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_11fe5.dir/build.make:66: CMakeFiles/cmTC_11fe5.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-connector-c++-8.0.15/work/mysql-connector-c++-8.0.15_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_11fe5/fast] Error 2