Performing C SOURCE FILE Test WITH_WIMPLICIT_FALLTHROUGH_FLAG failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_f82cd/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_f82cd.dir/build.make CMakeFiles/cmTC_f82cd.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f82cd.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_f82cd.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c mips-linux-gnu-gcc: error: unrecognized command line option '-Wimplicit-fallthrough' gmake[2]: *** [CMakeFiles/cmTC_f82cd.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_f82cd/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_177bc/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_177bc.dir/build.make CMakeFiles/cmTC_177bc.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_177bc.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_177bc.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c mips-linux-gnu-gcc: error: unrecognized command line option '-fstack-clash-protection' gmake[2]: *** [CMakeFiles/cmTC_177bc.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_177bc/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_4db08/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4db08.dir/build.make CMakeFiles/cmTC_4db08.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4db08.dir/CheckSymbolExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4db08.dir/CheckSymbolExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_4db08 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4db08.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_4db08.dir/CheckSymbolExists.c.o -o cmTC_4db08 CMakeFiles/cmTC_4db08.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0xc): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_4db08] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_4db08/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_fc6a8/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_fc6a8.dir/build.make CMakeFiles/cmTC_fc6a8.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fc6a8.dir/CheckForPthreads.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_fc6a8.dir/CheckForPthreads.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_fc6a8 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc6a8.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -rdynamic CMakeFiles/cmTC_fc6a8.dir/CheckForPthreads.c.o -o cmTC_fc6a8 -pthread gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_4b9ab/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_4b9ab.dir/build.make CMakeFiles/cmTC_4b9ab.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4b9ab.dir/CheckIncludeFile.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4b9ab.dir/CheckIncludeFile.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:18: fatal error: util.h: No such file or directory compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_4b9ab.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_4b9ab/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_c8964/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_c8964.dir/build.make CMakeFiles/cmTC_c8964.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c8964.dir/CheckIncludeFile.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_c8964.dir/CheckIncludeFile.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: libutil.h: No such file or directory compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_c8964.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_c8964/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_069fd/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_069fd.dir/build.make CMakeFiles/cmTC_069fd.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_069fd.dir/CheckIncludeFile.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_069fd.dir/CheckIncludeFile.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:23: fatal error: sys/utime.h: No such file or directory compilation terminated. gmake[2]: *** [CMakeFiles/cmTC_069fd.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_069fd/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function explicit_bzero exists failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_af100/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_af100.dir/build.make CMakeFiles/cmTC_af100.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_af100.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -fPIE -o CMakeFiles/cmTC_af100.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_af100 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_af100.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -rdynamic CMakeFiles/cmTC_af100.dir/CheckFunctionExists.c.o -o cmTC_af100 CMakeFiles/cmTC_af100.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `explicit_bzero' CheckFunctionExists.c:(.text.startup+0x2c): undefined reference to `explicit_bzero' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_af100] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_af100/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function memset_s exists failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_40eb6/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_40eb6.dir/build.make CMakeFiles/cmTC_40eb6.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_40eb6.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_40eb6.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_40eb6 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40eb6.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_40eb6.dir/CheckFunctionExists.c.o -o cmTC_40eb6 CMakeFiles/cmTC_40eb6.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `memset_s' CheckFunctionExists.c:(.text.startup+0x2c): undefined reference to `memset_s' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_40eb6] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_40eb6/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Determining if the ntohll exist failed with the following output: Change Dir: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6df57/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6df57.dir/build.make CMakeFiles/cmTC_6df57.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6df57.dir/CheckSymbolExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_6df57.dir/CheckSymbolExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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]; ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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_6df57.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_6df57/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_cc60a/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_cc60a.dir/build.make CMakeFiles/cmTC_cc60a.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cc60a.dir/CheckSymbolExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -fPIE -o CMakeFiles/cmTC_cc60a.dir/CheckSymbolExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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]; ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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_cc60a.dir/CheckSymbolExists.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_cc60a/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' File /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_3aa1a/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_3aa1a.dir/build.make CMakeFiles/cmTC_3aa1a.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3aa1a.dir/CheckFunctionExists.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_3aa1a.dir/CheckFunctionExists.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_3aa1a /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3aa1a.dir/link.txt --verbose=1 /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -rdynamic CMakeFiles/cmTC_3aa1a.dir/CheckFunctionExists.c.o -o cmTC_3aa1a CMakeFiles/cmTC_3aa1a.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `__strtoull' CheckFunctionExists.c:(.text.startup+0x2c): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status gmake[2]: *** [cmTC_3aa1a] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_3aa1a/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_b3c0c/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_b3c0c.dir/build.make CMakeFiles/cmTC_b3c0c.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b3c0c.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_b3c0c.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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; ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token int main(void) { ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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; ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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; ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ gmake[2]: *** [CMakeFiles/cmTC_b3c0c.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_b3c0c/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6a40e/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_6a40e.dir/build.make CMakeFiles/cmTC_6a40e.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6a40e.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_6a40e.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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)) ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: note: in expansion of macro 'FALL_THROUGH' FALL_THROUGH; ^ /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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_6a40e.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_6a40e/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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: /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_2c63a/fast" gmake[1]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTC_2c63a.dir/build.make CMakeFiles/cmTC_2c63a.dir/build gmake[2]: Entering directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2c63a.dir/src.c.o /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/mips-linux-gnu-gcc --sysroot=/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-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_2c63a.dir/src.c.o -c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp/src.c /usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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_2c63a.dir/src.c.o] Error 1 gmake[2]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/build/libssh-0.8.6/buildroot-build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTC_2c63a/fast] Error 2 gmake[1]: Leaving directory `/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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; }