Determining if the pthread_create exist failed with the following output: Change Dir: /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7083b/fast" make[1]: Entering directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7083b.dir/build.make CMakeFiles/cmTC_7083b.dir/build make[2]: Entering directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7083b.dir/CheckSymbolExists.c.o /srv/storage/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wextra -fvisibility=hidden -std=gnu11 -DNDEBUG -o CMakeFiles/cmTC_7083b.dir/CheckSymbolExists.c.o -c /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_7083b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7083b.dir/link.txt --verbose=1 /srv/storage/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wextra -fvisibility=hidden -std=gnu11 -DNDEBUG CMakeFiles/cmTC_7083b.dir/CheckSymbolExists.c.o -o cmTC_7083b CMakeFiles/cmTC_7083b.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x1c): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_7083b.dir/build.make:87: cmTC_7083b] Error 1 make[2]: Leaving directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_7083b/fast] Error 2 make[1]: Leaving directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' File /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/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: /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_23998/fast" make[1]: Entering directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_23998.dir/build.make CMakeFiles/cmTC_23998.dir/build make[2]: Entering directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_23998.dir/CheckFunctionExists.c.o /srv/storage/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wextra -fvisibility=hidden -std=gnu11 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_23998.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c Linking C executable cmTC_23998 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_23998.dir/link.txt --verbose=1 /srv/storage/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wextra -fvisibility=hidden -std=gnu11 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_23998.dir/CheckFunctionExists.c.o -o cmTC_23998 -lpthreads /srv/storage/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_23998.dir/build.make:87: cmTC_23998] Error 1 make[2]: Leaving directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_23998/fast] Error 2 make[1]: Leaving directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' Determining if the include file stdatomic.h exists failed with the following output: Change Dir: /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_850f8/fast" make[1]: Entering directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_850f8.dir/build.make CMakeFiles/cmTC_850f8.dir/build make[2]: Entering directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_850f8.dir/CheckIncludeFile.c.o /srv/storage/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wextra -fvisibility=hidden -std=gnu11 -DNDEBUG -o CMakeFiles/cmTC_850f8.dir/CheckIncludeFile.c.o -c /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp/CheckIncludeFile.c /srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:23: fatal error: stdatomic.h: No such file or directory #include ^ compilation terminated. make[2]: *** [CMakeFiles/cmTC_850f8.dir/build.make:66: CMakeFiles/cmTC_850f8.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_850f8/fast] Error 2 make[1]: Leaving directory '/srv/storage/autobuild/run/instance-2/output-1/build/libnetconf2-1.1.3/CMakeFiles/CMakeTmp'