Performing C SOURCE FILE Test WITH_STACK_PROTECTOR_STRONG failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a3da7/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a3da7.dir/build.make CMakeFiles/cmTC_a3da7.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a3da7.dir/src.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DWITH_STACK_PROTECTOR_STRONG -fstack-protector-strong -fPIE -o CMakeFiles/cmTC_a3da7.dir/src.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_a3da7 /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a3da7.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DWITH_STACK_PROTECTOR_STRONG -fstack-protector-strong -rdynamic CMakeFiles/cmTC_a3da7.dir/src.c.o -o cmTC_a3da7 /home/buildroot/autobuild/run/instance-1/output/host/lib/gcc/xtensa-buildroot-linux-uclibc/7.4.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared /home/buildroot/autobuild/run/instance-1/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]: *** [cmTC_a3da7] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_a3da7/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a009a/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a009a.dir/build.make CMakeFiles/cmTC_a009a.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a009a.dir/src.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DWITH_STACK_CLASH_PROTECTION -fstack-clash-protection -fPIE -o CMakeFiles/cmTC_a009a.dir/src.c.o -c /home/buildroot/autobuild/run/instance-1/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_a009a.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_a009a/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8e9d0/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8e9d0.dir/build.make CMakeFiles/cmTC_8e9d0.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8e9d0.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -fPIE -o CMakeFiles/cmTC_8e9d0.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-1/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_8e9d0.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_8e9d0/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_de650/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_de650.dir/build.make CMakeFiles/cmTC_de650.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_de650.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -fPIE -o CMakeFiles/cmTC_de650.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-1/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_de650.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_de650/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_31db9/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_31db9.dir/build.make CMakeFiles/cmTC_31db9.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_31db9.dir/CheckIncludeFile.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -fPIE -o CMakeFiles/cmTC_31db9.dir/CheckIncludeFile.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/autobuild/run/instance-1/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_31db9.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_31db9/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_3a66f/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3a66f.dir/build.make CMakeFiles/cmTC_3a66f.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3a66f.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=CRYPTO_THREADID_set_callback -fPIE -o CMakeFiles/cmTC_3a66f.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_3a66f /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3a66f.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=CRYPTO_THREADID_set_callback -rdynamic CMakeFiles/cmTC_3a66f.dir/CheckFunctionExists.c.o -o cmTC_3a66f /home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.so CMakeFiles/cmTC_3a66f.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `CRYPTO_THREADID_set_callback' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_3a66f] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_3a66f/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bd4de/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bd4de.dir/build.make CMakeFiles/cmTC_bd4de.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bd4de.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -fPIE -o CMakeFiles/cmTC_bd4de.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_bd4de /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd4de.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -rdynamic CMakeFiles/cmTC_bd4de.dir/CheckFunctionExists.c.o -o cmTC_bd4de CMakeFiles/cmTC_bd4de.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `explicit_bzero' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_bd4de] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_bd4de/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2a7cf/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2a7cf.dir/build.make CMakeFiles/cmTC_2a7cf.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2a7cf.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=memset_s -fPIE -o CMakeFiles/cmTC_2a7cf.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_2a7cf /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2a7cf.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=memset_s -rdynamic CMakeFiles/cmTC_2a7cf.dir/CheckFunctionExists.c.o -o cmTC_2a7cf CMakeFiles/cmTC_2a7cf.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `memset_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_2a7cf] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_2a7cf/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8e205/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8e205.dir/build.make CMakeFiles/cmTC_8e205.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8e205.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -fPIE -o CMakeFiles/cmTC_8e205.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-1/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/run/instance-1/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_8e205.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_8e205/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_330fd/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_330fd.dir/build.make CMakeFiles/cmTC_330fd.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_330fd.dir/CheckSymbolExists.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -fPIE -o CMakeFiles/cmTC_330fd.dir/CheckSymbolExists.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/autobuild/run/instance-1/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/run/instance-1/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_330fd.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_330fd/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_da8ef/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_da8ef.dir/build.make CMakeFiles/cmTC_da8ef.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_da8ef.dir/CheckFunctionExists.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=__strtoull -fPIE -o CMakeFiles/cmTC_da8ef.dir/CheckFunctionExists.c.o -c /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_da8ef /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_da8ef.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DCHECK_FUNCTION_EXISTS=__strtoull -rdynamic CMakeFiles/cmTC_da8ef.dir/CheckFunctionExists.c.o -o cmTC_da8ef CMakeFiles/cmTC_da8ef.dir/CheckFunctionExists.c.o:(.text.startup+0x0): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_da8ef] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_da8ef/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_994d5/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_994d5.dir/build.make CMakeFiles/cmTC_994d5.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_994d5.dir/src.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DHAVE_MSC_THREAD_LOCAL_STORAGE -fPIE -o CMakeFiles/cmTC_994d5.dir/src.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/buildroot/autobuild/run/instance-1/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/run/instance-1/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/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ make[2]: *** [CMakeFiles/cmTC_994d5.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_994d5/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bcac2/fast" make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_bcac2.dir/build.make CMakeFiles/cmTC_bcac2.dir/build make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bcac2.dir/src.c.o /home/buildroot/autobuild/run/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-gcc --sysroot=/home/buildroot/autobuild/run/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O2 -g2 -DHAVE_GCC_BOUNDED_ATTRIBUTE -Werror -fPIE -o CMakeFiles/cmTC_bcac2.dir/src.c.o -c /home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/autobuild/run/instance-1/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_bcac2.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/libssh-0.8.7/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_bcac2/fast] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/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; }