Performing C++ SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ea6fb/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ea6fb.dir/build.make CMakeFiles/cmTC_ea6fb.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ea6fb.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -static -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_ea6fb.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/src.cxx /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/rclinux/rc-buildroot-test/scripts/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); ^~~~~~~~~~~~~~ /home/rclinux/rc-buildroot-test/scripts/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 CMakeFiles/cmTC_ea6fb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ea6fb.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_ea6fb.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_ea6fb/fast' failed make[1]: *** [cmTC_ea6fb/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/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: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f1ef1/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f1ef1.dir/build.make CMakeFiles/cmTC_f1ef1.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f1ef1.dir/CheckFunctionExists.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_f1ef1.dir/CheckFunctionExists.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx Linking CXX executable cmTC_f1ef1 /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f1ef1.dir/link.txt --verbose=1 /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -static -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -Wl,-elf2flt -static CMakeFiles/cmTC_f1ef1.dir/CheckFunctionExists.cxx.o -o cmTC_f1ef1 -lpthreads /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f1ef1.dir/build.make:86: recipe for target 'cmTC_f1ef1' failed make[2]: *** [cmTC_f1ef1] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_f1ef1/fast' failed make[1]: *** [cmTC_f1ef1/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/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: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_34ebc/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_34ebc.dir/build.make CMakeFiles/cmTC_34ebc.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_34ebc.dir/CheckIncludeFile.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wl,-elf2flt -static -Wl,-elf2flt -static -DNDEBUG -o CMakeFiles/cmTC_34ebc.dir/CheckIncludeFile.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/rclinux/rc-buildroot-test/scripts/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. CMakeFiles/cmTC_34ebc.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_34ebc.dir/CheckIncludeFile.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_34ebc.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_34ebc/fast' failed make[1]: *** [cmTC_34ebc/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/libabseil-cpp-20200225/CMakeFiles/CMakeTmp'