Performing C++ SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_efb9f/fast && gmake[1]: Entering directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_efb9f.dir/build.make CMakeFiles/cmTC_efb9f.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_efb9f.dir/src.cxx.o /home/naourr/work/instance-3/output-1/host/bin/m68k-linux-g++ --sysroot=/home/naourr/work/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_efb9f.dir/src.cxx.o -c /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/src.cxx /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/src.cxx:15:3: error: 'pthread_atfork' was not declared in this scope pthread_atfork(NULL, NULL, NULL); ^~~~~~~~~~~~~~ /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/src.cxx:15:3: note: suggested alternative: 'pthread_attr_t' pthread_atfork(NULL, NULL, NULL); ^~~~~~~~~~~~~~ pthread_attr_t gmake[2]: *** [CMakeFiles/cmTC_efb9f.dir/build.make:86: CMakeFiles/cmTC_efb9f.dir/src.cxx.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:141: cmTC_efb9f/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' 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: /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_945ab/fast && gmake[1]: Entering directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_945ab.dir/build.make CMakeFiles/cmTC_945ab.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_945ab.dir/CheckFunctionExists.cxx.o /home/naourr/work/instance-3/output-1/host/bin/m68k-linux-g++ --sysroot=/home/naourr/work/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_945ab.dir/CheckFunctionExists.cxx.o -c /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx Linking CXX executable cmTC_945ab /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_945ab.dir/link.txt --verbose=1 /home/naourr/work/instance-3/output-1/host/bin/m68k-linux-g++ --sysroot=/home/naourr/work/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-elf2flt -static CMakeFiles/cmTC_945ab.dir/CheckFunctionExists.cxx.o -o cmTC_945ab -lpthreads /home/naourr/work/instance-3/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/ld.real: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_945ab.dir/build.make:107: cmTC_945ab] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:141: cmTC_945ab/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Determining if the include file execinfo.h exists failed with the following output: Change Dir: /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_be41b/fast && gmake[1]: Entering directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_be41b.dir/build.make CMakeFiles/cmTC_be41b.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_be41b.dir/CheckIncludeFile.cxx.o /home/naourr/work/instance-3/output-1/host/bin/m68k-linux-g++ --sysroot=/home/naourr/work/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -o CMakeFiles/cmTC_be41b.dir/CheckIncludeFile.cxx.o -c /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: execinfo.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_be41b.dir/build.make:86: CMakeFiles/cmTC_be41b.dir/CheckIncludeFile.cxx.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:141: cmTC_be41b/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-3/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp'