Performing C SOURCE FILE Test WITH_WIMPLICIT_FALLTHROUGH_FLAG failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c77b0/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c77b0.dir/build.make CMakeFiles/cmTC_c77b0.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c77b0.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/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_c77b0.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c powerpc64-linux-gcc.br_real: error: unrecognized command line option '-Wimplicit-fallthrough'; did you mean '-Wno-fallthrough'? CMakeFiles/cmTC_c77b0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c77b0.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_c77b0.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c77b0/fast' failed make[1]: *** [cmTC_c77b0/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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_CLASH_PROTECTION failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5f083/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5f083.dir/build.make CMakeFiles/cmTC_5f083.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5f083.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/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_5f083.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c powerpc64-linux-gcc.br_real: error: unrecognized command line option '-fstack-clash-protection'; did you mean '-fstack-protector'? CMakeFiles/cmTC_5f083.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5f083.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_5f083.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_5f083/fast' failed make[1]: *** [cmTC_5f083/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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 pthread_create exist failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7f345/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_7f345.dir/build.make CMakeFiles/cmTC_7f345.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7f345.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_7f345.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_7f345 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f345.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_7f345.dir/CheckSymbolExists.c.o -o cmTC_7f345 CMakeFiles/cmTC_7f345.dir/CheckSymbolExists.c.o:(.toc+0x0): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_7f345.dir/build.make:97: recipe for target 'cmTC_7f345' failed make[2]: *** [cmTC_7f345] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_7f345/fast' failed make[1]: *** [cmTC_7f345/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if compiler accepts -pthread returned OFF instead of 2. The compiler had the following output: Change Dir: /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b0526/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b0526.dir/build.make CMakeFiles/cmTC_b0526.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b0526.dir/CheckForPthreads.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_b0526.dir/CheckForPthreads.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_b0526 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b0526.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_b0526.dir/CheckForPthreads.c.o -o cmTC_b0526 -pthread make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file util.h exists failed with the following output: Change Dir: /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c7ddc/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c7ddc.dir/build.make CMakeFiles/cmTC_c7ddc.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c7ddc.dir/CheckIncludeFile.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_c7ddc.dir/CheckIncludeFile.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/build/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. CMakeFiles/cmTC_c7ddc.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c7ddc.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_c7ddc.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c7ddc/fast' failed make[1]: *** [cmTC_c7ddc/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_52b3f/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_52b3f.dir/build.make CMakeFiles/cmTC_52b3f.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_52b3f.dir/CheckIncludeFile.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_52b3f.dir/CheckIncludeFile.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/build/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. CMakeFiles/cmTC_52b3f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_52b3f.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_52b3f.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_52b3f/fast' failed make[1]: *** [cmTC_52b3f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c004f/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c004f.dir/build.make CMakeFiles/cmTC_c004f.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c004f.dir/CheckIncludeFile.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_c004f.dir/CheckIncludeFile.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/build/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. CMakeFiles/cmTC_c004f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c004f.dir/CheckIncludeFile.c.o' failed make[2]: *** [CMakeFiles/cmTC_c004f.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c004f/fast' failed make[1]: *** [cmTC_c004f/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_de1fe/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_de1fe.dir/build.make CMakeFiles/cmTC_de1fe.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_de1fe.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -fPIE -o CMakeFiles/cmTC_de1fe.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_de1fe /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de1fe.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -rdynamic CMakeFiles/cmTC_de1fe.dir/CheckFunctionExists.c.o -o cmTC_de1fe CMakeFiles/cmTC_de1fe.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x1c): undefined reference to `memset_s' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_de1fe.dir/build.make:97: recipe for target 'cmTC_de1fe' failed make[2]: *** [cmTC_de1fe] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_de1fe/fast' failed make[1]: *** [cmTC_de1fe/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e71ae/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e71ae.dir/build.make CMakeFiles/cmTC_e71ae.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e71ae.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_e71ae.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/build/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/buildroot/build/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 CMakeFiles/cmTC_e71ae.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_e71ae.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_e71ae.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_e71ae/fast' failed make[1]: *** [cmTC_e71ae/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_3e459/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3e459.dir/build.make CMakeFiles/cmTC_3e459.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3e459.dir/CheckSymbolExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_3e459.dir/CheckSymbolExists.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/build/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/buildroot/build/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 CMakeFiles/cmTC_3e459.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3e459.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_3e459.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_3e459/fast' failed make[1]: *** [cmTC_3e459/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5e409/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_5e409.dir/build.make CMakeFiles/cmTC_5e409.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5e409.dir/CheckFunctionExists.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -fPIE -o CMakeFiles/cmTC_5e409.dir/CheckFunctionExists.c.o -c /home/buildroot/build/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_5e409 /home/buildroot/build/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e409.dir/link.txt --verbose=1 /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -rdynamic CMakeFiles/cmTC_5e409.dir/CheckFunctionExists.c.o -o cmTC_5e409 CMakeFiles/cmTC_5e409.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x1c): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_5e409.dir/build.make:97: recipe for target 'cmTC_5e409' failed make[2]: *** [cmTC_5e409] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_5e409/fast' failed make[1]: *** [cmTC_5e409/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c4ac3/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c4ac3.dir/build.make CMakeFiles/cmTC_c4ac3.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c4ac3.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_MSC_THREAD_LOCAL_STORAGE -DNDEBUG -fPIE -o CMakeFiles/cmTC_c4ac3.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/buildroot/build/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/buildroot/build/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/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ CMakeFiles/cmTC_c4ac3.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c4ac3.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_c4ac3.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_c4ac3/fast' failed make[1]: *** [cmTC_c4ac3/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0eee2/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0eee2.dir/build.make CMakeFiles/cmTC_0eee2.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0eee2.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_FALLTHROUGH_ATTRIBUTE -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_0eee2.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/buildroot/build/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/buildroot/build/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/buildroot/build/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 CMakeFiles/cmTC_0eee2.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0eee2.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_0eee2.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0eee2/fast' failed make[1]: *** [cmTC_0eee2/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_915bb/fast" make[1]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_915bb.dir/build.make CMakeFiles/cmTC_915bb.dir/build make[2]: Entering directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_915bb.dir/src.c.o /home/buildroot/build/instance-0/output/host/bin/powerpc64-linux-gcc --sysroot=/home/buildroot/build/instance-0/output/host/powerpc64-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAVE_GCC_BOUNDED_ATTRIBUTE -Werror -DNDEBUG -fPIE -o CMakeFiles/cmTC_915bb.dir/src.c.o -c /home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/build/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 CMakeFiles/cmTC_915bb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_915bb.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_915bb.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/buildroot/build/instance-0/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_915bb/fast' failed make[1]: *** [cmTC_915bb/fast] Error 2 make[1]: Leaving directory '/home/buildroot/build/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; }