Determining if the pthread_create exist failed with the following output: Change Dir: /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_56265/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_56265.dir/build.make CMakeFiles/cmTC_56265.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_56265.dir/CheckSymbolExists.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_56265.dir/CheckSymbolExists.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/test/autobuild/run/instance-0/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_56265.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_56265/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_66d1a/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_66d1a.dir/build.make CMakeFiles/cmTC_66d1a.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_66d1a.dir/CheckForPthreads.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_66d1a.dir/CheckForPthreads.c.o -c /home/test/autobuild/run/instance-0/output/host/share/cmake-3.8/Modules/CheckForPthreads.c Linking C executable cmTC_66d1a /home/test/autobuild/run/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_66d1a.dir/link.txt --verbose=1 /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_66d1a.dir/CheckForPthreads.c.o -o cmTC_66d1a -pthread make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0fb89/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0fb89.dir/build.make CMakeFiles/cmTC_0fb89.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0fb89.dir/CheckIncludeFile.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_0fb89.dir/CheckIncludeFile.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/test/autobuild/run/instance-0/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_0fb89.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_0fb89/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_67fb6/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_67fb6.dir/build.make CMakeFiles/cmTC_67fb6.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_67fb6.dir/CheckIncludeFile.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_67fb6.dir/CheckIncludeFile.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/test/autobuild/run/instance-0/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_67fb6.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_67fb6/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6462c/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6462c.dir/build.make CMakeFiles/cmTC_6462c.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6462c.dir/CheckIncludeFile.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_6462c.dir/CheckIncludeFile.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/test/autobuild/run/instance-0/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_6462c.dir/CheckIncludeFile.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_6462c/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_215fd/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_215fd.dir/build.make CMakeFiles/cmTC_215fd.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_215fd.dir/CheckFunctionExists.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_215fd.dir/CheckFunctionExists.c.o -c /home/test/autobuild/run/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_215fd /home/test/autobuild/run/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_215fd.dir/link.txt --verbose=1 /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_215fd.dir/CheckFunctionExists.c.o -o cmTC_215fd CMakeFiles/cmTC_215fd.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_215fd] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_215fd/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_287ad/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_287ad.dir/build.make CMakeFiles/cmTC_287ad.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_287ad.dir/CheckFunctionExists.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_287ad.dir/CheckFunctionExists.c.o -c /home/test/autobuild/run/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_287ad /home/test/autobuild/run/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_287ad.dir/link.txt --verbose=1 /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_287ad.dir/CheckFunctionExists.c.o -o cmTC_287ad CMakeFiles/cmTC_287ad.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_287ad] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_287ad/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Determining if the ntohll exist failed with the following output: Change Dir: /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6c6f4/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6c6f4.dir/build.make CMakeFiles/cmTC_6c6f4.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6c6f4.dir/CheckSymbolExists.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_6c6f4.dir/CheckSymbolExists.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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_6c6f4.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_6c6f4/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_40025/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_40025.dir/build.make CMakeFiles/cmTC_40025.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_40025.dir/CheckSymbolExists.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_40025.dir/CheckSymbolExists.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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_40025.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_40025/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_16260/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_16260.dir/build.make CMakeFiles/cmTC_16260.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_16260.dir/CheckFunctionExists.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_16260.dir/CheckFunctionExists.c.o -c /home/test/autobuild/run/instance-0/output/host/share/cmake-3.8/Modules/CheckFunctionExists.c Linking C executable cmTC_16260 /home/test/autobuild/run/instance-0/output/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16260.dir/link.txt --verbose=1 /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_16260.dir/CheckFunctionExists.c.o -o cmTC_16260 CMakeFiles/cmTC_16260.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_16260] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_16260/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8ec62/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8ec62.dir/build.make CMakeFiles/cmTC_8ec62.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8ec62.dir/src.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_8ec62.dir/src.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:2:1: warning: no previous prototype for '__declspec' [-Wmissing-prototypes] /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function '__declspec': /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:6:1: error: expected '{' at end of input } ^ /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/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_8ec62.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_8ec62/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4519b/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4519b.dir/build.make CMakeFiles/cmTC_4519b.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4519b.dir/src.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_4519b.dir/src.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: note: in expansion of macro 'FALL_THROUGH' FALL_THROUGH; ^~~~~~~~~~~~ /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:9:9: error: empty declaration make[2]: *** [CMakeFiles/cmTC_4519b.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_4519b/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/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/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_97941/fast" make[1]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_97941.dir/build.make CMakeFiles/cmTC_97941.dir/build make[2]: Entering directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_97941.dir/src.c.o /home/test/autobuild/run/instance-0/output/host/bin/x86_64-linux-gcc --sysroot=/home/test/autobuild/run/instance-0/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_97941.dir/src.c.o -c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp/src.c: In function 'main': /home/test/autobuild/run/instance-0/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_97941.dir/src.c.o] Error 1 make[2]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [cmTC_97941/fast] Error 2 make[1]: Leaving directory `/home/test/autobuild/run/instance-0/output/build/libssh-0.8.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(void) { printf("%s", __FUNCTION__); return 0; }