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