Performing C SOURCE FILE Test WITH_STACK_PROTECTOR_STRONG failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bbae6/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bbae6.dir/build.make CMakeFiles/cmTC_bbae6.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bbae6.dir/src.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_bbae6.dir/src.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_bbae6 /home/buildroot/autobuild/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bbae6.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_bbae6.dir/src.c.o -o cmTC_bbae6 /home/buildroot/autobuild/instance-3/output/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/7.4.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared /home/buildroot/autobuild/instance-3/output/host/opt/ext-toolchain/bin/../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 CMakeFiles/cmTC_bbae6.dir/build.make:97: recipe for target 'cmTC_bbae6' failed make[2]: *** [cmTC_bbae6] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_bbae6/fast' failed make[1]: *** [cmTC_bbae6/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_167a4/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_167a4.dir/build.make CMakeFiles/cmTC_167a4.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_167a4.dir/src.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_167a4.dir/src.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c xtensa-linux-gcc.br_real: error: unrecognized command line option '-fstack-clash-protection'; did you mean '-fstack-protector'? CMakeFiles/cmTC_167a4.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_167a4.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_167a4.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_167a4/fast' failed make[1]: *** [cmTC_167a4/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_314cf/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_314cf.dir/build.make CMakeFiles/cmTC_314cf.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_314cf.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_314cf.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-3/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. CMakeFiles/cmTC_314cf.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_314cf.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_314cf.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_314cf/fast' failed make[1]: *** [cmTC_314cf/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d14cb/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d14cb.dir/build.make CMakeFiles/cmTC_d14cb.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d14cb.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_d14cb.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-3/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. CMakeFiles/cmTC_d14cb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_d14cb.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_d14cb.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_d14cb/fast' failed make[1]: *** [cmTC_d14cb/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_41d48/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_41d48.dir/build.make CMakeFiles/cmTC_41d48.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_41d48.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_41d48.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/instance-3/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. CMakeFiles/cmTC_41d48.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_41d48.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_41d48.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_41d48/fast' failed make[1]: *** [cmTC_41d48/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f0c40/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f0c40.dir/build.make CMakeFiles/cmTC_f0c40.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f0c40.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_f0c40.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_f0c40 /home/buildroot/autobuild/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0c40.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_f0c40.dir/CheckFunctionExists.c.o -o cmTC_f0c40 /home/buildroot/autobuild/instance-3/output/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so CMakeFiles/cmTC_f0c40.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `CRYPTO_THREADID_set_callback' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_f0c40.dir/build.make:98: recipe for target 'cmTC_f0c40' failed make[2]: *** [cmTC_f0c40] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f0c40/fast' failed make[1]: *** [cmTC_f0c40/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function explicit_bzero exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5ea95/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5ea95.dir/build.make CMakeFiles/cmTC_5ea95.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5ea95.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_5ea95.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_5ea95 /home/buildroot/autobuild/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ea95.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_5ea95.dir/CheckFunctionExists.c.o -o cmTC_5ea95 CMakeFiles/cmTC_5ea95.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `explicit_bzero' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_5ea95.dir/build.make:97: recipe for target 'cmTC_5ea95' failed make[2]: *** [cmTC_5ea95] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_5ea95/fast' failed make[1]: *** [cmTC_5ea95/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function memset_s exists failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_94e89/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_94e89.dir/build.make CMakeFiles/cmTC_94e89.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_94e89.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_94e89.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_94e89 /home/buildroot/autobuild/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94e89.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_94e89.dir/CheckFunctionExists.c.o -o cmTC_94e89 CMakeFiles/cmTC_94e89.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `memset_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_94e89.dir/build.make:97: recipe for target 'cmTC_94e89' failed make[2]: *** [cmTC_94e89] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_94e89/fast' failed make[1]: *** [cmTC_94e89/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Determining if the ntohll exist failed with the following output: Change Dir: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_50beb/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_50beb.dir/build.make CMakeFiles/cmTC_50beb.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_50beb.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_50beb.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-3/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 /home/buildroot/autobuild/instance-3/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 CMakeFiles/cmTC_50beb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_50beb.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_50beb.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_50beb/fast' failed make[1]: *** [cmTC_50beb/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_39e1b/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_39e1b.dir/build.make CMakeFiles/cmTC_39e1b.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_39e1b.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_39e1b.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/instance-3/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 /home/buildroot/autobuild/instance-3/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 CMakeFiles/cmTC_39e1b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_39e1b.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_39e1b.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_39e1b/fast' failed make[1]: *** [cmTC_39e1b/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4f9b2/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4f9b2.dir/build.make CMakeFiles/cmTC_4f9b2.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4f9b2.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_4f9b2.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/instance-3/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_4f9b2 /home/buildroot/autobuild/instance-3/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f9b2.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_4f9b2.dir/CheckFunctionExists.c.o -o cmTC_4f9b2 CMakeFiles/cmTC_4f9b2.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_4f9b2.dir/build.make:97: recipe for target 'cmTC_4f9b2' failed make[2]: *** [cmTC_4f9b2] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_4f9b2/fast' failed make[1]: *** [cmTC_4f9b2/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1f32f/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_1f32f.dir/build.make CMakeFiles/cmTC_1f32f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1f32f.dir/src.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_1f32f.dir/src.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/instance-3/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; ^~~~~~~~~~ /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token int main(void) { ^ /home/buildroot/autobuild/instance-3/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; ^~~~~~~~~~ /home/buildroot/autobuild/instance-3/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; ^~~ /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ CMakeFiles/cmTC_1f32f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1f32f.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_1f32f.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_1f32f/fast' failed make[1]: *** [cmTC_1f32f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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: /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ec87f/fast" make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_ec87f.dir/build.make CMakeFiles/cmTC_ec87f.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ec87f.dir/src.c.o /home/buildroot/autobuild/instance-3/output/host/bin/xtensa-linux-gcc --sysroot=/home/buildroot/autobuild/instance-3/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_ec87f.dir/src.c.o -c /home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/instance-3/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 CMakeFiles/cmTC_ec87f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ec87f.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_ec87f.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_ec87f/fast' failed make[1]: *** [cmTC_ec87f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/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; }