Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e3984/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e3984.dir/build.make CMakeFiles/cmTC_e3984.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e3984.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_e3984.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_e3984 /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e3984.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_e3984.dir/CheckSymbolExists.c.o -o cmTC_e3984 CMakeFiles/cmTC_e3984.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x20): undefined reference to `pthread_create' CheckSymbolExists.c:(.text+0x24): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_e3984] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_e3984/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-3/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/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6725d/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6725d.dir/build.make CMakeFiles/cmTC_6725d.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6725d.dir/CheckForPthreads.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_6725d.dir/CheckForPthreads.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_6725d /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6725d.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_6725d.dir/CheckForPthreads.c.o -o cmTC_6725d -pthread make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b6054/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b6054.dir/build.make CMakeFiles/cmTC_b6054.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b6054.dir/src.cxx.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE -DICONV_SECOND_ARGUMENT_IS_CONST -DNDEBUG -o CMakeFiles/cmTC_b6054.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/run/instance-3/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/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/run/instance-3/output/host/riscv64-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_b6054.dir/src.cxx.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_b6054/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_280ce/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_280ce.dir/build.make CMakeFiles/cmTC_280ce.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_280ce.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_280ce.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_280ce /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_280ce.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_280ce.dir/CheckFunctionExists.c.o -o cmTC_280ce CMakeFiles/cmTC_280ce.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `fseek64' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_280ce] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_280ce/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function ftell64 exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_71665/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_71665.dir/build.make CMakeFiles/cmTC_71665.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_71665.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_71665.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_71665 /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_71665.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_71665.dir/CheckFunctionExists.c.o -o cmTC_71665 CMakeFiles/cmTC_71665.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `ftell64' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_71665] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_71665/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcpy_s exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b070a/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b070a.dir/build.make CMakeFiles/cmTC_b070a.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b070a.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_b070a.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_b070a /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b070a.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_b070a.dir/CheckFunctionExists.c.o -o cmTC_b070a CMakeFiles/cmTC_b070a.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `strcpy_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_b070a] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_b070a/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Determining if the function strcat_s exists failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_425ea/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_425ea.dir/build.make CMakeFiles/cmTC_425ea.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_425ea.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_425ea.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_425ea /home/buildroot/autobuild/run/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_425ea.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_425ea.dir/CheckFunctionExists.c.o -o cmTC_425ea CMakeFiles/cmTC_425ea.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text+0x1c): undefined reference to `strcat_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_425ea] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_425ea/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_NDIR_H failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_33339/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_33339.dir/build.make CMakeFiles/cmTC_33339.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_33339.dir/src.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_33339.dir/src.c.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-3/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_33339.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_33339/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/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/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4d58c/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4d58c.dir/build.make CMakeFiles/cmTC_4d58c.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4d58c.dir/src.c.o /home/buildroot/autobuild/run/instance-3/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-3/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_4d58c.dir/src.c.o -c /home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-3/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_4d58c.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_4d58c/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }