Determining if the pthread_create exist failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bd31f/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bd31f.dir/build.make CMakeFiles/cmTC_bd31f.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bd31f.dir/CheckSymbolExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_bd31f.dir/CheckSymbolExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_bd31f /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd31f.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_bd31f.dir/CheckSymbolExists.c.o -o cmTC_bd31f /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: CMakeFiles/cmTC_bd31f.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x0): undefined reference to `pthread_create' /data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-linux-gnu/8.3.0/../../../../aarch64-linux-gnu/bin/ld: CheckSymbolExists.c:(.text.startup+0x4): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_bd31f.dir/build.make:98: cmTC_bd31f] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_bd31f/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' File /data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/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: /data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_15ec0/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_15ec0.dir/build.make CMakeFiles/cmTC_15ec0.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_15ec0.dir/CheckForPthreads.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -o CMakeFiles/cmTC_15ec0.dir/CheckForPthreads.c.o -c /data/buildroot/buildroot-test/instance-0/output/host/share/cmake-3.9/Modules/CheckForPthreads.c Linking C executable cmTC_15ec0 /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_15ec0.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/aarch64-linux-gnu-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/aarch64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -rdynamic CMakeFiles/cmTC_15ec0.dir/CheckForPthreads.c.o -o cmTC_15ec0 -pthread make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/uvw-2.2.0_libuv-v1.33/buildroot-build/CMakeFiles/CMakeTmp'