Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_29fea/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_29fea.dir/build.make CMakeFiles/cmTC_29fea.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_29fea.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_29fea.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_29fea /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_29fea.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_29fea.dir/CheckSymbolExists.c.o -o cmTC_29fea CMakeFiles/cmTC_29fea.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0xc): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_29fea.dir/build.make:97: recipe for target 'cmTC_29fea' failed make[2]: *** [cmTC_29fea] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_29fea/fast' failed make[1]: *** [cmTC_29fea/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/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 compiler accepts -pthread returned PLEASE_FILL_OUT-FAILED_TO_RUN instead of 2. The compiler had the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a8406/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a8406.dir/build.make CMakeFiles/cmTC_a8406.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a8406.dir/CheckForPthreads.c.o /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_a8406.dir/CheckForPthreads.c.o -c /home/buildroot/autobuild/instance-2/output-1/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_a8406 /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a8406.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_a8406.dir/CheckForPthreads.c.o -o cmTC_a8406 -pthread make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Determining if the getpassphrase exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_54b98/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_54b98.dir/build.make CMakeFiles/cmTC_54b98.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_54b98.dir/CheckSymbolExists.cxx.o /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++ --sysroot=/home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_54b98.dir/CheckSymbolExists.cxx.o -c /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: 'getpassphrase' was not declared in this scope return ((int*)(&getpassphrase))[argc]; ^ CMakeFiles/cmTC_54b98.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_54b98.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_54b98.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_54b98/fast' failed make[1]: *** [cmTC_54b98/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-2/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef getpassphrase return ((int*)(&getpassphrase))[argc]; #else (void)argc; return 0; #endif }