Performing C SOURCE FILE Test WITH_STACK_PROTECTOR_STRONG failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a1992/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a1992.dir/build.make CMakeFiles/cmTC_a1992.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a1992.dir/src.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DWITH_STACK_PROTECTOR_STRONG -fstack-protector-strong -DNDEBUG -fPIE -o CMakeFiles/cmTC_a1992.dir/src.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_a1992 /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a1992.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DWITH_STACK_PROTECTOR_STRONG -fstack-protector-strong -DNDEBUG -rdynamic CMakeFiles/cmTC_a1992.dir/src.c.o -o cmTC_a1992 /data/buildroot/buildroot-test/instance-0/output/host/lib/gcc/xtensa-buildroot-linux-uclibc/7.4.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared /data/buildroot/buildroot-test/instance-0/output/host/lib/gcc/xtensa-buildroot-linux-uclibc/7.4.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lssp collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_a1992.dir/build.make:98: cmTC_a1992] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_a1992/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main(int argc, char **argv) { char buffer[256]; return buffer[argc]=0;} Performing C SOURCE FILE Test WITH_STACK_CLASH_PROTECTION failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9299e/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9299e.dir/build.make CMakeFiles/cmTC_9299e.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9299e.dir/src.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DWITH_STACK_CLASH_PROTECTION -fstack-clash-protection -DNDEBUG -fPIE -o CMakeFiles/cmTC_9299e.dir/src.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c xtensa-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-fstack-clash-protection'; did you mean '-fstack-protector'? make[2]: *** [CMakeFiles/cmTC_9299e.dir/build.make:66: CMakeFiles/cmTC_9299e.dir/src.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_9299e/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main(int argc, char **argv) { char buffer[256]; return buffer[argc]=0;} Determining if the include file util.h exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e2664/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e2664.dir/build.make CMakeFiles/cmTC_e2664.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e2664.dir/CheckIncludeFile.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_e2664.dir/CheckIncludeFile.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: util.h: No such file or directory #include ^~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_e2664.dir/build.make:66: CMakeFiles/cmTC_e2664.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_e2664/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file libutil.h exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a0051/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a0051.dir/build.make CMakeFiles/cmTC_a0051.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a0051.dir/CheckIncludeFile.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_a0051.dir/CheckIncludeFile.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: libutil.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_a0051.dir/build.make:66: CMakeFiles/cmTC_a0051.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_a0051/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file sys/utime.h exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_da331/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_da331.dir/build.make CMakeFiles/cmTC_da331.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_da331.dir/CheckIncludeFile.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_da331.dir/CheckIncludeFile.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/utime.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_da331.dir/build.make:66: CMakeFiles/cmTC_da331.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_da331/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function CRYPTO_THREADID_set_callback exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_eec80/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_eec80.dir/build.make CMakeFiles/cmTC_eec80.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_eec80.dir/CheckFunctionExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=CRYPTO_THREADID_set_callback -DNDEBUG -fPIE -o CMakeFiles/cmTC_eec80.dir/CheckFunctionExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_eec80 /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eec80.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=CRYPTO_THREADID_set_callback -DNDEBUG -rdynamic CMakeFiles/cmTC_eec80.dir/CheckFunctionExists.c.o -o cmTC_eec80 /data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so CMakeFiles/cmTC_eec80.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `CRYPTO_THREADID_set_callback' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_eec80.dir/build.make:99: cmTC_eec80] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_eec80/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function explicit_bzero exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ef1c4/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ef1c4.dir/build.make CMakeFiles/cmTC_ef1c4.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ef1c4.dir/CheckFunctionExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -fPIE -o CMakeFiles/cmTC_ef1c4.dir/CheckFunctionExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_ef1c4 /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ef1c4.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -rdynamic CMakeFiles/cmTC_ef1c4.dir/CheckFunctionExists.c.o -o cmTC_ef1c4 CMakeFiles/cmTC_ef1c4.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `explicit_bzero' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_ef1c4.dir/build.make:98: cmTC_ef1c4] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_ef1c4/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function memset_s exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2f68d/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2f68d.dir/build.make CMakeFiles/cmTC_2f68d.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2f68d.dir/CheckFunctionExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -fPIE -o CMakeFiles/cmTC_2f68d.dir/CheckFunctionExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_2f68d /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2f68d.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -rdynamic CMakeFiles/cmTC_2f68d.dir/CheckFunctionExists.c.o -o cmTC_2f68d CMakeFiles/cmTC_2f68d.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `memset_s' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_2f68d.dir/build.make:98: cmTC_2f68d] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_2f68d/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the ntohll exist failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ddcd0/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ddcd0.dir/build.make CMakeFiles/cmTC_ddcd0.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ddcd0.dir/CheckSymbolExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_ddcd0.dir/CheckSymbolExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'ntohll' undeclared (first use in this function); did you mean 'ntohl'? return ((int*)(&ntohll))[argc]; ^~~~~~ ntohl /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_ddcd0.dir/build.make:66: CMakeFiles/cmTC_ddcd0.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_ddcd0/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' File /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef ntohll return ((int*)(&ntohll))[argc]; #else (void)argc; return 0; #endif } Determining if the htonll exist failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4872f/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4872f.dir/build.make CMakeFiles/cmTC_4872f.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4872f.dir/CheckSymbolExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4872f.dir/CheckSymbolExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'htonll' undeclared (first use in this function); did you mean 'htonl'? return ((int*)(&htonll))[argc]; ^~~~~~ htonl /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [CMakeFiles/cmTC_4872f.dir/build.make:66: CMakeFiles/cmTC_4872f.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_4872f/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' File /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef htonll return ((int*)(&htonll))[argc]; #else (void)argc; return 0; #endif } Determining if the function __strtoull exists failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c2691/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c2691.dir/build.make CMakeFiles/cmTC_c2691.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c2691.dir/CheckFunctionExists.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -fPIE -o CMakeFiles/cmTC_c2691.dir/CheckFunctionExists.c.o -c /data/buildroot/buildroot-test/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_c2691 /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2691.dir/link.txt --verbose=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -rdynamic CMakeFiles/cmTC_c2691.dir/CheckFunctionExists.c.o -o cmTC_c2691 CMakeFiles/cmTC_c2691.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_c2691.dir/build.make:98: cmTC_c2691] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_c2691/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_MSC_THREAD_LOCAL_STORAGE failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8d0de/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8d0de.dir/build.make CMakeFiles/cmTC_8d0de.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8d0de.dir/src.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DHAVE_MSC_THREAD_LOCAL_STORAGE -DNDEBUG -fPIE -o CMakeFiles/cmTC_8d0de.dir/src.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] __declspec(thread) int tls; ^~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token int main(void) { ^ /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: type of 'thread' defaults to 'int' [-Wimplicit-int] __declspec(thread) int tls; ^~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:24: error: declaration for parameter 'tls' but no such parameter __declspec(thread) int tls; ^~~ /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ make[2]: *** [CMakeFiles/cmTC_8d0de.dir/build.make:66: CMakeFiles/cmTC_8d0de.dir/src.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_8d0de/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Source file was: __declspec(thread) int tls; int main(void) { return 0; } Performing C SOURCE FILE Test HAVE_GCC_BOUNDED_ATTRIBUTE failed with the following output: Change Dir: /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f109b/fast" make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f109b.dir/build.make CMakeFiles/cmTC_f109b.dir/build make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f109b.dir/src.c.o /data/buildroot/buildroot-test/instance-0/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/data/buildroot/buildroot-test/instance-0/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -DHAVE_GCC_BOUNDED_ATTRIBUTE -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_f109b.dir/src.c.o -c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c /data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:5: error: '__bounded__' attribute directive ignored [-Werror=attributes] __attribute__((__bounded__(__minbytes__, 2, 16))); ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [CMakeFiles/cmTC_f109b.dir/build.make:66: CMakeFiles/cmTC_f109b.dir/src.c.o] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:126: cmTC_f109b/fast] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #define ARRAY_LEN 16 void test_attr(const unsigned char *k) __attribute__((__bounded__(__minbytes__, 2, 16))); int main(void) { return 0; }