Performing C SOURCE FILE Test WITH_WIMPLICIT_FALLTHROUGH_FLAG failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_d45ed/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d45ed.dir/build.make CMakeFiles/cmTC_d45ed.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d45ed.dir/src.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DWITH_WIMPLICIT_FALLTHROUGH_FLAG -Werror -DNDEBUG -fPIE -Wimplicit-fallthrough -o CMakeFiles/cmTC_d45ed.dir/src.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c powerpc-linux-gcc.br_real: error: unrecognized command line option '-Wimplicit-fallthrough'; did you mean '-Wno-fallthrough'? gmake[2]: *** [CMakeFiles/cmTC_d45ed.dir/build.make:66: CMakeFiles/cmTC_d45ed.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_d45ed/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test WITH_STACK_PROTECTOR_STRONG failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_05ef1/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_05ef1.dir/build.make CMakeFiles/cmTC_05ef1.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_05ef1.dir/src.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DWITH_STACK_PROTECTOR_STRONG -fstack-protector-strong -DNDEBUG -fPIE -o CMakeFiles/cmTC_05ef1.dir/src.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_05ef1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_05ef1.dir/link.txt --verbose=1 /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DWITH_STACK_PROTECTOR_STRONG -fstack-protector-strong -DNDEBUG CMakeFiles/cmTC_05ef1.dir/src.c.o -o cmTC_05ef1 /home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/6.4.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: cannot find -lssp_nonshared /home/naourr/work/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/6.4.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: cannot find -lssp collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_05ef1.dir/build.make:87: cmTC_05ef1] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_05ef1/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/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/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_969ef/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_969ef.dir/build.make CMakeFiles/cmTC_969ef.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_969ef.dir/src.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DWITH_STACK_CLASH_PROTECTION -fstack-clash-protection -DNDEBUG -fPIE -o CMakeFiles/cmTC_969ef.dir/src.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c powerpc-linux-gcc.br_real: error: unrecognized command line option '-fstack-clash-protection'; did you mean '-fstack-protector'? gmake[2]: *** [CMakeFiles/cmTC_969ef.dir/build.make:66: CMakeFiles/cmTC_969ef.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_969ef/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/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/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_16bd5/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_16bd5.dir/build.make CMakeFiles/cmTC_16bd5.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_16bd5.dir/CheckIncludeFile.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_16bd5.dir/CheckIncludeFile.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:18: fatal error: util.h: No such file or directory #include ^ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_16bd5.dir/build.make:66: CMakeFiles/cmTC_16bd5.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_16bd5/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file libutil.h exists failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_d1893/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_d1893.dir/build.make CMakeFiles/cmTC_d1893.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d1893.dir/CheckIncludeFile.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d1893.dir/CheckIncludeFile.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: libutil.h: No such file or directory #include ^ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_d1893.dir/build.make:66: CMakeFiles/cmTC_d1893.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_d1893/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file sys/utime.h exists failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6170b/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6170b.dir/build.make CMakeFiles/cmTC_6170b.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6170b.dir/CheckIncludeFile.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_6170b.dir/CheckIncludeFile.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:23: fatal error: sys/utime.h: No such file or directory #include ^ compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_6170b.dir/build.make:66: CMakeFiles/cmTC_6170b.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_6170b/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function explicit_bzero exists failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_3e50e/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3e50e.dir/build.make CMakeFiles/cmTC_3e50e.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e50e.dir/CheckFunctionExists.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -fPIE -o CMakeFiles/cmTC_3e50e.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_3e50e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e50e.dir/link.txt --verbose=1 /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG CMakeFiles/cmTC_3e50e.dir/CheckFunctionExists.c.o -o cmTC_3e50e CMakeFiles/cmTC_3e50e.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x20): undefined reference to `explicit_bzero' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_3e50e.dir/build.make:87: cmTC_3e50e] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_3e50e/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function memset_s exists failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6d3dd/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6d3dd.dir/build.make CMakeFiles/cmTC_6d3dd.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6d3dd.dir/CheckFunctionExists.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -fPIE -o CMakeFiles/cmTC_6d3dd.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_6d3dd /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6d3dd.dir/link.txt --verbose=1 /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG CMakeFiles/cmTC_6d3dd.dir/CheckFunctionExists.c.o -o cmTC_6d3dd CMakeFiles/cmTC_6d3dd.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x20): undefined reference to `memset_s' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_6d3dd.dir/build.make:87: cmTC_6d3dd] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_6d3dd/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the ntohll exist failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_f270f/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_f270f.dir/build.make CMakeFiles/cmTC_f270f.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f270f.dir/CheckSymbolExists.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_f270f.dir/CheckSymbolExists.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'ntohll' undeclared (first use in this function) return ((int*)(&ntohll))[argc]; ^~~~~~ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_f270f.dir/build.make:66: CMakeFiles/cmTC_f270f.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_f270f/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /home/naourr/work/instance-0/output/build/libssh-0.8.6/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/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_3a66f/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3a66f.dir/build.make CMakeFiles/cmTC_3a66f.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3a66f.dir/CheckSymbolExists.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_3a66f.dir/CheckSymbolExists.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'htonll' undeclared (first use in this function) return ((int*)(&htonll))[argc]; ^~~~~~ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/cmTC_3a66f.dir/build.make:66: CMakeFiles/cmTC_3a66f.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_3a66f/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /home/naourr/work/instance-0/output/build/libssh-0.8.6/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/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_5ba2d/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_5ba2d.dir/build.make CMakeFiles/cmTC_5ba2d.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5ba2d.dir/CheckFunctionExists.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -fPIE -o CMakeFiles/cmTC_5ba2d.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_5ba2d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ba2d.dir/link.txt --verbose=1 /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG CMakeFiles/cmTC_5ba2d.dir/CheckFunctionExists.c.o -o cmTC_5ba2d CMakeFiles/cmTC_5ba2d.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x20): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/cmTC_5ba2d.dir/build.make:87: cmTC_5ba2d] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_5ba2d/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_MSC_THREAD_LOCAL_STORAGE failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_04156/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_04156.dir/build.make CMakeFiles/cmTC_04156.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_04156.dir/src.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_MSC_THREAD_LOCAL_STORAGE -DNDEBUG -fPIE -o CMakeFiles/cmTC_04156.dir/src.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] __declspec(thread) int tls; ^~~~~~~~~~ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token int main(void) { ^ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: type of 'thread' defaults to 'int' [-Wimplicit-int] __declspec(thread) int tls; ^~~~~~~~~~ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:24: error: declaration for parameter 'tls' but no such parameter __declspec(thread) int tls; ^~~ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ gmake[2]: *** [CMakeFiles/cmTC_04156.dir/build.make:66: CMakeFiles/cmTC_04156.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_04156/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Source file was: __declspec(thread) int tls; int main(void) { return 0; } Performing C SOURCE FILE Test HAVE_FALLTHROUGH_ATTRIBUTE failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_1c61d/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_1c61d.dir/build.make CMakeFiles/cmTC_1c61d.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1c61d.dir/src.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_FALLTHROUGH_ATTRIBUTE -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_1c61d.dir/src.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:22: error: a label can only be part of a statement and a declaration is not a statement #define FALL_THROUGH __attribute__((fallthrough)) ^ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: note: in expansion of macro 'FALL_THROUGH' FALL_THROUGH; ^~~~~~~~~~~~ /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: error: empty declaration [-Werror] cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/cmTC_1c61d.dir/build.make:66: CMakeFiles/cmTC_1c61d.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_1c61d/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #define FALL_THROUGH __attribute__((fallthrough)) int main(void) { int i = 2; switch (i) { case 0: FALL_THROUGH; case 1: break; default: break; } return 0; } Performing C SOURCE FILE Test HAVE_GCC_BOUNDED_ATTRIBUTE failed with the following output: Change Dir: /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_8a78a/fast" gmake[1]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_8a78a.dir/build.make CMakeFiles/cmTC_8a78a.dir/build gmake[2]: Entering directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8a78a.dir/src.c.o /home/naourr/work/instance-0/output/host/bin/powerpc-linux-gcc --sysroot=/home/naourr/work/instance-0/output/host/powerpc-buildroot-linux-uclibc/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_GCC_BOUNDED_ATTRIBUTE -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_8a78a.dir/src.c.o -c /home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/naourr/work/instance-0/output/build/libssh-0.8.6/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 gmake[2]: *** [CMakeFiles/cmTC_8a78a.dir/build.make:66: CMakeFiles/cmTC_8a78a.dir/src.c.o] Error 1 gmake[2]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [Makefile:121: cmTC_8a78a/fast] Error 2 gmake[1]: Leaving directory '/home/naourr/work/instance-0/output/build/libssh-0.8.6/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; }