Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2b476/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2b476.dir/build.make CMakeFiles/cmTC_2b476.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2b476.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-3/output-1/host/bin/mipsel-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_2b476.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_2b476 /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b476.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output-1/host/bin/mipsel-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_2b476.dir/CheckSymbolExists.c.o -o cmTC_2b476 /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/7.4.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_2b476.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x8): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_2b476.dir/build.make:97: recipe for target 'cmTC_2b476' failed make[2]: *** [cmTC_2b476] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_2b476/fast' failed make[1]: *** [cmTC_2b476/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-3/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-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_89f2f/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_89f2f.dir/build.make CMakeFiles/cmTC_89f2f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_89f2f.dir/CheckForPthreads.c.o /home/buildroot/autobuild/instance-3/output-1/host/bin/mipsel-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_89f2f.dir/CheckForPthreads.c.o -c /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_89f2f /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89f2f.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output-1/host/bin/mipsel-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_89f2f.dir/CheckForPthreads.c.o -o cmTC_89f2f -pthread make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_aa2a4/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_aa2a4.dir/build.make CMakeFiles/cmTC_aa2a4.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_aa2a4.dir/CheckSymbolExists.cxx.o /home/buildroot/autobuild/instance-3/output-1/host/bin/mipsel-linux-g++ --sysroot=/home/buildroot/autobuild/instance-3/output-1/host/mipsel-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_aa2a4.dir/CheckSymbolExists.cxx.o -c /home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function 'int main(int, char**)': /home/buildroot/autobuild/instance-3/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_aa2a4.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_aa2a4.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_aa2a4.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_aa2a4/fast' failed make[1]: *** [cmTC_aa2a4/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/znc-1.7.5/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-3/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 }