Determining if files CommonCrypto/CommonCrypto.h exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_5c2d5/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5c2d5.dir/build.make CMakeFiles/cmTC_5c2d5.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5c2d5.dir/COMMONCRYPTO_FOUND.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_5c2d5.dir/COMMONCRYPTO_FOUND.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c:2:10: fatal error: CommonCrypto/CommonCrypto.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_5c2d5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5c2d5.dir/COMMONCRYPTO_FOUND.c.o' failed make[2]: *** [CMakeFiles/cmTC_5c2d5.dir/COMMONCRYPTO_FOUND.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_5c2d5/fast' failed make[1]: *** [cmTC_5c2d5/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Source: /* */ #include int main(void){return 0;} Determining if the function _close exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_75f6c/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_75f6c.dir/build.make CMakeFiles/cmTC_75f6c.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_75f6c.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_close -DNDEBUG -o CMakeFiles/cmTC_75f6c.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_75f6c /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75f6c.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_close -DNDEBUG CMakeFiles/cmTC_75f6c.dir/CheckFunctionExists.c.o -o cmTC_75f6c /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_75f6c.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_close' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_75f6c.dir/build.make:86: recipe for target 'cmTC_75f6c' failed make[2]: *** [cmTC_75f6c] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_75f6c/fast' failed make[1]: *** [cmTC_75f6c/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _dup exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_81ce0/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_81ce0.dir/build.make CMakeFiles/cmTC_81ce0.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81ce0.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_dup -DNDEBUG -o CMakeFiles/cmTC_81ce0.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_81ce0 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81ce0.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_dup -DNDEBUG CMakeFiles/cmTC_81ce0.dir/CheckFunctionExists.c.o -o cmTC_81ce0 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_81ce0.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_dup' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_81ce0.dir/build.make:86: recipe for target 'cmTC_81ce0' failed make[2]: *** [cmTC_81ce0] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_81ce0/fast' failed make[1]: *** [cmTC_81ce0/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _fdopen exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a8cdc/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a8cdc.dir/build.make CMakeFiles/cmTC_a8cdc.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a8cdc.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_fdopen -DNDEBUG -o CMakeFiles/cmTC_a8cdc.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_a8cdc /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a8cdc.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_fdopen -DNDEBUG CMakeFiles/cmTC_a8cdc.dir/CheckFunctionExists.c.o -o cmTC_a8cdc /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_a8cdc.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_fdopen' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a8cdc.dir/build.make:86: recipe for target 'cmTC_a8cdc' failed make[2]: *** [cmTC_a8cdc] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_a8cdc/fast' failed make[1]: *** [cmTC_a8cdc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _fileno exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6a1c6/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6a1c6.dir/build.make CMakeFiles/cmTC_6a1c6.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6a1c6.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_fileno -DNDEBUG -o CMakeFiles/cmTC_6a1c6.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_6a1c6 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a1c6.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_fileno -DNDEBUG CMakeFiles/cmTC_6a1c6.dir/CheckFunctionExists.c.o -o cmTC_6a1c6 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_6a1c6.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_fileno' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_6a1c6.dir/build.make:86: recipe for target 'cmTC_6a1c6' failed make[2]: *** [cmTC_6a1c6] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_6a1c6/fast' failed make[1]: *** [cmTC_6a1c6/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _setmode exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_538a6/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_538a6.dir/build.make CMakeFiles/cmTC_538a6.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_538a6.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_setmode -DNDEBUG -o CMakeFiles/cmTC_538a6.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_538a6 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_538a6.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_setmode -DNDEBUG CMakeFiles/cmTC_538a6.dir/CheckFunctionExists.c.o -o cmTC_538a6 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_538a6.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_setmode' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_538a6.dir/build.make:86: recipe for target 'cmTC_538a6' failed make[2]: *** [cmTC_538a6] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_538a6/fast' failed make[1]: *** [cmTC_538a6/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _snprintf exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a441f/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a441f.dir/build.make CMakeFiles/cmTC_a441f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a441f.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_snprintf -DNDEBUG -o CMakeFiles/cmTC_a441f.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_a441f /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a441f.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_snprintf -DNDEBUG CMakeFiles/cmTC_a441f.dir/CheckFunctionExists.c.o -o cmTC_a441f /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_a441f.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a441f.dir/build.make:86: recipe for target 'cmTC_a441f' failed make[2]: *** [cmTC_a441f] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_a441f/fast' failed make[1]: *** [cmTC_a441f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _strdup exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f6fde/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f6fde.dir/build.make CMakeFiles/cmTC_f6fde.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f6fde.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG -o CMakeFiles/cmTC_f6fde.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_f6fde /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6fde.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_strdup -DNDEBUG CMakeFiles/cmTC_f6fde.dir/CheckFunctionExists.c.o -o cmTC_f6fde /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_f6fde.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_strdup' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f6fde.dir/build.make:86: recipe for target 'cmTC_f6fde' failed make[2]: *** [cmTC_f6fde] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_f6fde/fast' failed make[1]: *** [cmTC_f6fde/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _stricmp exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6a954/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6a954.dir/build.make CMakeFiles/cmTC_6a954.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6a954.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_stricmp -DNDEBUG -o CMakeFiles/cmTC_6a954.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_6a954 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a954.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_stricmp -DNDEBUG CMakeFiles/cmTC_6a954.dir/CheckFunctionExists.c.o -o cmTC_6a954 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_6a954.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_stricmp' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_6a954.dir/build.make:86: recipe for target 'cmTC_6a954' failed make[2]: *** [cmTC_6a954] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_6a954/fast' failed make[1]: *** [cmTC_6a954/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _strtoi64 exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_475be/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_475be.dir/build.make CMakeFiles/cmTC_475be.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_475be.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_strtoi64 -DNDEBUG -o CMakeFiles/cmTC_475be.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_475be /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_475be.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_strtoi64 -DNDEBUG CMakeFiles/cmTC_475be.dir/CheckFunctionExists.c.o -o cmTC_475be /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_475be.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_strtoi64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_475be.dir/build.make:86: recipe for target 'cmTC_475be' failed make[2]: *** [cmTC_475be] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_475be/fast' failed make[1]: *** [cmTC_475be/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _strtoui64 exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_92052/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_92052.dir/build.make CMakeFiles/cmTC_92052.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_92052.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_strtoui64 -DNDEBUG -o CMakeFiles/cmTC_92052.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_92052 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_92052.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_strtoui64 -DNDEBUG CMakeFiles/cmTC_92052.dir/CheckFunctionExists.c.o -o cmTC_92052 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_92052.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_strtoui64' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_92052.dir/build.make:86: recipe for target 'cmTC_92052' failed make[2]: *** [cmTC_92052] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_92052/fast' failed make[1]: *** [cmTC_92052/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function _unlink exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_19ad8/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_19ad8.dir/build.make CMakeFiles/cmTC_19ad8.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_19ad8.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_unlink -DNDEBUG -o CMakeFiles/cmTC_19ad8.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_19ad8 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19ad8.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=_unlink -DNDEBUG CMakeFiles/cmTC_19ad8.dir/CheckFunctionExists.c.o -o cmTC_19ad8 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_19ad8.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `_unlink' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_19ad8.dir/build.make:86: recipe for target 'cmTC_19ad8' failed make[2]: *** [cmTC_19ad8] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_19ad8/fast' failed make[1]: *** [cmTC_19ad8/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function arc4random exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_49a60/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_49a60.dir/build.make CMakeFiles/cmTC_49a60.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_49a60.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=arc4random -DNDEBUG -o CMakeFiles/cmTC_49a60.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_49a60 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_49a60.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=arc4random -DNDEBUG CMakeFiles/cmTC_49a60.dir/CheckFunctionExists.c.o -o cmTC_49a60 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_49a60.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `arc4random' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_49a60.dir/build.make:86: recipe for target 'cmTC_49a60' failed make[2]: *** [cmTC_49a60] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_49a60/fast' failed make[1]: *** [cmTC_49a60/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function clonefile exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e71dc/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e71dc.dir/build.make CMakeFiles/cmTC_e71dc.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e71dc.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=clonefile -DNDEBUG -o CMakeFiles/cmTC_e71dc.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_e71dc /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e71dc.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=clonefile -DNDEBUG CMakeFiles/cmTC_e71dc.dir/CheckFunctionExists.c.o -o cmTC_e71dc /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_e71dc.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `clonefile' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_e71dc.dir/build.make:86: recipe for target 'cmTC_e71dc' failed make[2]: *** [cmTC_e71dc] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_e71dc/fast' failed make[1]: *** [cmTC_e71dc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function explicit_memset exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_ed9e1/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ed9e1.dir/build.make CMakeFiles/cmTC_ed9e1.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ed9e1.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=explicit_memset -DNDEBUG -o CMakeFiles/cmTC_ed9e1.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_ed9e1 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed9e1.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=explicit_memset -DNDEBUG CMakeFiles/cmTC_ed9e1.dir/CheckFunctionExists.c.o -o cmTC_ed9e1 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_ed9e1.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `explicit_memset' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_ed9e1.dir/build.make:86: recipe for target 'cmTC_ed9e1' failed make[2]: *** [cmTC_ed9e1] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_ed9e1/fast' failed make[1]: *** [cmTC_ed9e1/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function getprogname exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f0f84/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f0f84.dir/build.make CMakeFiles/cmTC_f0f84.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f0f84.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=getprogname -DNDEBUG -o CMakeFiles/cmTC_f0f84.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_f0f84 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0f84.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=getprogname -DNDEBUG CMakeFiles/cmTC_f0f84.dir/CheckFunctionExists.c.o -o cmTC_f0f84 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_f0f84.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `getprogname' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f0f84.dir/build.make:86: recipe for target 'cmTC_f0f84' failed make[2]: *** [cmTC_f0f84] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_f0f84/fast' failed make[1]: *** [cmTC_f0f84/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function setmode exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6fb17/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6fb17.dir/build.make CMakeFiles/cmTC_6fb17.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6fb17.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=setmode -DNDEBUG -o CMakeFiles/cmTC_6fb17.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_6fb17 /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6fb17.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=setmode -DNDEBUG CMakeFiles/cmTC_6fb17.dir/CheckFunctionExists.c.o -o cmTC_6fb17 /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_6fb17.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `setmode' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_6fb17.dir/build.make:86: recipe for target 'cmTC_6fb17' failed make[2]: *** [cmTC_6fb17] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_6fb17/fast' failed make[1]: *** [cmTC_6fb17/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining if the function stricmp exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_7d86a/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7d86a.dir/build.make CMakeFiles/cmTC_7d86a.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7d86a.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=stricmp -DNDEBUG -o CMakeFiles/cmTC_7d86a.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_7d86a /home/buildroot/autobuild/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7d86a.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=stricmp -DNDEBUG CMakeFiles/cmTC_7d86a.dir/CheckFunctionExists.c.o -o cmTC_7d86a /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/8.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: CMakeFiles/cmTC_7d86a.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `stricmp' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_7d86a.dir/build.make:86: recipe for target 'cmTC_7d86a' failed make[2]: *** [cmTC_7d86a] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_7d86a/fast' failed make[1]: *** [cmTC_7d86a/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Determining size of __int8 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_87114/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_87114.dir/build.make CMakeFiles/cmTC_87114.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_87114.dir/__INT8_LIBZIP.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_87114.dir/__INT8_LIBZIP.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:23:22: error: '__int8' undeclared here (not in a function); did you mean 'u_int'? #define SIZE (sizeof(__int8)) ^~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:25:12: note: in expansion of macro 'SIZE' ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_87114.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_87114.dir/__INT8_LIBZIP.c.o' failed make[2]: *** [CMakeFiles/cmTC_87114.dir/__INT8_LIBZIP.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_87114/fast' failed make[1]: *** [cmTC_87114/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int8)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __int16 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_36966/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_36966.dir/build.make CMakeFiles/cmTC_36966.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_36966.dir/__INT16_LIBZIP.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_36966.dir/__INT16_LIBZIP.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:23:22: error: '__int16' undeclared here (not in a function); did you mean '__int16_t'? #define SIZE (sizeof(__int16)) ^~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:25:12: note: in expansion of macro 'SIZE' ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_36966.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_36966.dir/__INT16_LIBZIP.c.o' failed make[2]: *** [CMakeFiles/cmTC_36966.dir/__INT16_LIBZIP.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_36966/fast' failed make[1]: *** [cmTC_36966/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int16)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __int32 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_daf92/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_daf92.dir/build.make CMakeFiles/cmTC_daf92.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_daf92.dir/__INT32_LIBZIP.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_daf92.dir/__INT32_LIBZIP.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:23:22: error: '__int32' undeclared here (not in a function); did you mean '__int32_t'? #define SIZE (sizeof(__int32)) ^~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:25:12: note: in expansion of macro 'SIZE' ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_daf92.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_daf92.dir/__INT32_LIBZIP.c.o' failed make[2]: *** [CMakeFiles/cmTC_daf92.dir/__INT32_LIBZIP.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_daf92/fast' failed make[1]: *** [cmTC_daf92/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int32)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __int64 failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_63c57/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_63c57.dir/build.make CMakeFiles/cmTC_63c57.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_63c57.dir/__INT64_LIBZIP.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DNDEBUG -o CMakeFiles/cmTC_63c57.dir/__INT64_LIBZIP.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:23:22: error: '__int64' undeclared here (not in a function); did you mean '__int64_t'? #define SIZE (sizeof(__int64)) ^~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:25:12: note: in expansion of macro 'SIZE' ('0' + ((SIZE / 10000)%10)), ^~~~ CMakeFiles/cmTC_63c57.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_63c57.dir/__INT64_LIBZIP.c.o' failed make[2]: *** [CMakeFiles/cmTC_63c57.dir/__INT64_LIBZIP.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_63c57/fast' failed make[1]: *** [cmTC_63c57/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Performing C SOURCE FILE Test HAVE_NULLABLE failed with the following output: Change Dir: /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8ec59/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8ec59.dir/build.make CMakeFiles/cmTC_8ec59.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ec59.dir/src.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/riscv64-linux-gcc --sysroot=/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -DHAVE_NULLABLE -DNDEBUG -o CMakeFiles/cmTC_8ec59.dir/src.c.o -c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp/src.c:2:26: error: expected ';', ',' or ')' before 'bar' int foo(char * _Nullable bar); ^~~ CMakeFiles/cmTC_8ec59.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8ec59.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_8ec59.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_8ec59/fast' failed make[1]: *** [cmTC_8ec59/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libzip-1.7.3/CMakeFiles/CMakeTmp' Source file was: int foo(char * _Nullable bar); int main(int argc, char *argv[]) { }