Determining if the pthread_create exist failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_161d5/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_161d5.dir/build.make CMakeFiles/cmTC_161d5.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_161d5.dir/CheckSymbolExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_161d5.dir/CheckSymbolExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_161d5 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_161d5.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_161d5.dir/CheckSymbolExists.c.o -o cmTC_161d5 CMakeFiles/cmTC_161d5.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x14): undefined reference to `pthread_create' CheckSymbolExists.c:(.text+0x18): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_161d5] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_161d5/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/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/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6e129/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6e129.dir/build.make CMakeFiles/cmTC_6e129.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6e129.dir/CheckForPthreads.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_6e129.dir/CheckForPthreads.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_6e129 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6e129.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_6e129.dir/CheckForPthreads.c.o -o cmTC_6e129 -pthread make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fac59/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fac59.dir/build.make CMakeFiles/cmTC_fac59.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fac59.dir/src.cxx.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_fac59.dir/src.cxx.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:9:17: error: invalid conversion from 'const char**' to 'char**' [-fpermissive] iconv(conv, &in, &ilen, &out, &olen); ^~~ In file included from /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/iconv.h:42:15: note: initializing argument 2 of 'size_t iconv(iconv_t, char**, size_t*, char**, size_t*)' extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, ^~~~~ make[2]: *** [CMakeFiles/cmTC_fac59.dir/src.cxx.o] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_fac59/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(){ iconv_t conv = 0; const char* in = 0; size_t ilen = 0; char* out = 0; size_t olen = 0; iconv(conv, &in, &ilen, &out, &olen); return 0; } Determining if the function fseek64 exists failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e7552/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e7552.dir/build.make CMakeFiles/cmTC_e7552.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e7552.dir/CheckFunctionExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_e7552.dir/CheckFunctionExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_e7552 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e7552.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_e7552.dir/CheckFunctionExists.c.o -o cmTC_e7552 CMakeFiles/cmTC_e7552.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `fseek64' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_e7552] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_e7552/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function ftell64 exists failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e83b2/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e83b2.dir/build.make CMakeFiles/cmTC_e83b2.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e83b2.dir/CheckFunctionExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_e83b2.dir/CheckFunctionExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_e83b2 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e83b2.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_e83b2.dir/CheckFunctionExists.c.o -o cmTC_e83b2 CMakeFiles/cmTC_e83b2.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `ftell64' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_e83b2] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_e83b2/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcpy_s exists failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7ab73/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7ab73.dir/build.make CMakeFiles/cmTC_7ab73.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7ab73.dir/CheckFunctionExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_7ab73.dir/CheckFunctionExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_7ab73 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7ab73.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_7ab73.dir/CheckFunctionExists.c.o -o cmTC_7ab73 CMakeFiles/cmTC_7ab73.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_7ab73] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_7ab73/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcat_s exists failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_652f3/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_652f3.dir/build.make CMakeFiles/cmTC_652f3.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_652f3.dir/CheckFunctionExists.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_652f3.dir/CheckFunctionExists.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_652f3 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_652f3.dir/link.txt --verbose=1 /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_652f3.dir/CheckFunctionExists.c.o -o cmTC_652f3 CMakeFiles/cmTC_652f3.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x10): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_652f3] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_652f3/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0e3f1/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0e3f1.dir/build.make CMakeFiles/cmTC_0e3f1.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0e3f1.dir/src.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_0e3f1.dir/src.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_0e3f1.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_0e3f1/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; } Performing C SOURCE FILE Test HAVE_SYS_NDIR_H failed with the following output: Change Dir: /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b516f/fast" make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b516f.dir/build.make CMakeFiles/cmTC_b516f.dir/build make[2]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b516f.dir/src.c.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/home/dawncrow/buildroot-test/scripts/instance-0/output/host/aarch64_be-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_b516f.dir/src.c.o -c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c:1:10: fatal error: sys/ndir.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_b516f.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_b516f/fast] Error 2 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }