Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_80eb3/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_80eb3.dir/build.make CMakeFiles/cmTC_80eb3.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_80eb3.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_80eb3.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_80eb3 /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_80eb3.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_80eb3.dir/CheckSymbolExists.c.o -o cmTC_80eb3 CMakeFiles/cmTC_80eb3.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_80eb3] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_80eb3/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_dd2a4/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_dd2a4.dir/build.make CMakeFiles/cmTC_dd2a4.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_dd2a4.dir/CheckForPthreads.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -o CMakeFiles/cmTC_dd2a4.dir/CheckForPthreads.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_dd2a4 /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dd2a4.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -std=c99 -D_DEFAULT_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_dd2a4.dir/CheckForPthreads.c.o -o cmTC_dd2a4 -pthread make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ee558/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ee558.dir/build.make CMakeFiles/cmTC_ee558.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ee558.dir/src.cxx.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/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_ee558.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx /home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx: In function 'int main()': /home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.cxx:2:0: /home/buildroot/autobuild/run/instance-2/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_ee558.dir/src.cxx.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_ee558/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_aecad/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_aecad.dir/build.make CMakeFiles/cmTC_aecad.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_aecad.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -o CMakeFiles/cmTC_aecad.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_aecad /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aecad.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=fseek64 -DNDEBUG -rdynamic CMakeFiles/cmTC_aecad.dir/CheckFunctionExists.c.o -o cmTC_aecad CMakeFiles/cmTC_aecad.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_aecad] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_aecad/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d9163/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d9163.dir/build.make CMakeFiles/cmTC_d9163.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d9163.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -o CMakeFiles/cmTC_d9163.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_d9163 /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9163.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=ftell64 -DNDEBUG -rdynamic CMakeFiles/cmTC_d9163.dir/CheckFunctionExists.c.o -o cmTC_d9163 CMakeFiles/cmTC_d9163.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_d9163] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_d9163/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5947f/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5947f.dir/build.make CMakeFiles/cmTC_5947f.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5947f.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -o CMakeFiles/cmTC_5947f.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_5947f /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5947f.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcpy_s -DNDEBUG -rdynamic CMakeFiles/cmTC_5947f.dir/CheckFunctionExists.c.o -o cmTC_5947f CMakeFiles/cmTC_5947f.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_5947f] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_5947f/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_03634/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_03634.dir/build.make CMakeFiles/cmTC_03634.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_03634.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -o CMakeFiles/cmTC_03634.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_03634 /home/buildroot/autobuild/run/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_03634.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=strcat_s -DNDEBUG -rdynamic CMakeFiles/cmTC_03634.dir/CheckFunctionExists.c.o -o cmTC_03634 CMakeFiles/cmTC_03634.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_03634] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_03634/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7c006/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7c006.dir/build.make CMakeFiles/cmTC_7c006.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7c006.dir/src.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_7c006.dir/src.c.o -c /home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-2/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_7c006.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_7c006/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/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-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c6a8b/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c6a8b.dir/build.make CMakeFiles/cmTC_c6a8b.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c6a8b.dir/src.c.o /home/buildroot/autobuild/run/instance-2/output/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/run/instance-2/output/host/riscv64-buildroot-linux-gnu/sysroot -Wall -std=c99 -D_DEFAULT_SOURCE -DHAVE_SYS_NDIR_H -DNDEBUG -o CMakeFiles/cmTC_c6a8b.dir/src.c.o -c /home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-2/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_c6a8b.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_c6a8b/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output/build/poppler-0.77.0/CMakeFiles/CMakeTmp' Source file was: #include int main(int argc, char *argv[]) { DIR* d = 0; return 0; }