Determining if the pthread_create exist failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_37f11/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_37f11.dir/build.make CMakeFiles/cmTC_37f11.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_37f11.dir/CheckSymbolExists.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_37f11.dir/CheckSymbolExists.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:11: error: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] return ((int*)(&pthread_create))[argc]; ^ make[2]: *** [CMakeFiles/cmTC_37f11.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_37f11/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/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/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2aaa7/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2aaa7.dir/build.make CMakeFiles/cmTC_2aaa7.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2aaa7.dir/CheckForPthreads.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_2aaa7.dir/CheckForPthreads.c.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_2aaa7 /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2aaa7.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -rdynamic CMakeFiles/cmTC_2aaa7.dir/CheckForPthreads.c.o -o cmTC_2aaa7 -pthread make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file util.h exists failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6f862/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6f862.dir/build.make CMakeFiles/cmTC_6f862.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6f862.dir/CheckIncludeFile.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_6f862.dir/CheckIncludeFile.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:18: fatal error: util.h: No such file or directory #include ^ compilation terminated. make[2]: *** [CMakeFiles/cmTC_6f862.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_6f862/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file libutil.h exists failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_28ef9/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_28ef9.dir/build.make CMakeFiles/cmTC_28ef9.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_28ef9.dir/CheckIncludeFile.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_28ef9.dir/CheckIncludeFile.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: libutil.h: No such file or directory #include ^ compilation terminated. make[2]: *** [CMakeFiles/cmTC_28ef9.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_28ef9/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file sys/utime.h exists failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_df191/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_df191.dir/build.make CMakeFiles/cmTC_df191.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_df191.dir/CheckIncludeFile.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_df191.dir/CheckIncludeFile.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:23: fatal error: sys/utime.h: No such file or directory #include ^ compilation terminated. make[2]: *** [CMakeFiles/cmTC_df191.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_df191/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function explicit_bzero exists failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a3c4f/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a3c4f.dir/build.make CMakeFiles/cmTC_a3c4f.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a3c4f.dir/CheckFunctionExists.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -o CMakeFiles/cmTC_a3c4f.dir/CheckFunctionExists.c.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_a3c4f /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a3c4f.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=explicit_bzero -DNDEBUG -rdynamic CMakeFiles/cmTC_a3c4f.dir/CheckFunctionExists.c.o -o cmTC_a3c4f CMakeFiles/cmTC_a3c4f.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xd): undefined reference to `explicit_bzero' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_a3c4f] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_a3c4f/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the function memset_s exists failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4c06e/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4c06e.dir/build.make CMakeFiles/cmTC_4c06e.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4c06e.dir/CheckFunctionExists.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -o CMakeFiles/cmTC_4c06e.dir/CheckFunctionExists.c.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_4c06e /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4c06e.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=memset_s -DNDEBUG -rdynamic CMakeFiles/cmTC_4c06e.dir/CheckFunctionExists.c.o -o cmTC_4c06e CMakeFiles/cmTC_4c06e.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xd): undefined reference to `memset_s' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_4c06e] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_4c06e/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the ntohll exist failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c1c46/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_c1c46.dir/build.make CMakeFiles/cmTC_c1c46.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c1c46.dir/CheckSymbolExists.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_c1c46.dir/CheckSymbolExists.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'ntohll' undeclared (first use in this function) return ((int*)(&ntohll))[argc]; ^~~~~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter 'argc' set but not used [-Wunused-but-set-parameter] int main(int argc, char** argv) ^~~~ make[2]: *** [CMakeFiles/cmTC_c1c46.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_c1c46/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/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/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fe0ad/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fe0ad.dir/build.make CMakeFiles/cmTC_fe0ad.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fe0ad.dir/CheckSymbolExists.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DNDEBUG -o CMakeFiles/cmTC_fe0ad.dir/CheckSymbolExists.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'htonll' undeclared (first use in this function) return ((int*)(&htonll))[argc]; ^~~~~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter 'argc' set but not used [-Wunused-but-set-parameter] int main(int argc, char** argv) ^~~~ make[2]: *** [CMakeFiles/cmTC_fe0ad.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_fe0ad/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/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/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f59dc/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f59dc.dir/build.make CMakeFiles/cmTC_f59dc.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f59dc.dir/CheckFunctionExists.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -o CMakeFiles/cmTC_f59dc.dir/CheckFunctionExists.c.o -c /home/buildroot/buildroot-test/instance-1/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_f59dc /home/buildroot/buildroot-test/instance-1/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f59dc.dir/link.txt --verbose=1 /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=__strtoull -DNDEBUG -rdynamic CMakeFiles/cmTC_f59dc.dir/CheckFunctionExists.c.o -o cmTC_f59dc CMakeFiles/cmTC_f59dc.dir/CheckFunctionExists.c.o: In function `main': CheckFunctionExists.c:(.text.startup+0xd): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status make[2]: *** [cmTC_f59dc] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_f59dc/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_MSC_THREAD_LOCAL_STORAGE failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_3878c/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3878c.dir/build.make CMakeFiles/cmTC_3878c.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3878c.dir/src.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DHAVE_MSC_THREAD_LOCAL_STORAGE -DNDEBUG -o CMakeFiles/cmTC_3878c.dir/src.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] __declspec(thread) int tls; ^~~~~~~~~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: no previous prototype for '__declspec' [-Wmissing-prototypes] /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token int main(void) { ^ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: error: type of 'thread' defaults to 'int' [-Wimplicit-int] __declspec(thread) int tls; ^~~~~~~~~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:24: error: declaration for parameter 'tls' but no such parameter __declspec(thread) int tls; ^~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: unused parameter 'thread' [-Wunused-parameter] __declspec(thread) int tls; ^~~~~~~~~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:24: warning: unused parameter 'tls' [-Wunused-parameter] __declspec(thread) int tls; ^~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[2]: *** [CMakeFiles/cmTC_3878c.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_3878c/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/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/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_05907/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_05907.dir/build.make CMakeFiles/cmTC_05907.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_05907.dir/src.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DHAVE_FALLTHROUGH_ATTRIBUTE -Werror -DNDEBUG -o CMakeFiles/cmTC_05907.dir/src.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/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/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: note: in expansion of macro 'FALL_THROUGH' FALL_THROUGH; ^~~~~~~~~~~~ /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: error: empty declaration make[2]: *** [CMakeFiles/cmTC_05907.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_05907/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/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_COMPILER__FUNCTION__ failed with the following output: Change Dir: /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_65d11/fast" make[1]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_65d11.dir/build.make CMakeFiles/cmTC_65d11.dir/build make[2]: Entering directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_65d11.dir/src.c.o /home/buildroot/buildroot-test/instance-1/output/host/bin/x86_64-linux-gcc --sysroot=/home/buildroot/buildroot-test/instance-1/output/host/x86_64-buildroot-linux-musl/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -D_LARGEFILE64_SOURCE -DHAVE_COMPILER__FUNCTION__ -Werror -DNDEBUG -o CMakeFiles/cmTC_65d11.dir/src.c.o -c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:4:18: error: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] printf("%s", __FUNCTION__); ^~~~~~~~~~~~ make[2]: *** [CMakeFiles/cmTC_65d11.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_65d11/fast] Error 2 make[1]: Leaving directory `/home/buildroot/buildroot-test/instance-1/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(void) { printf("%s", __FUNCTION__); return 0; }