Determining size of unsigned __int16 failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_fd483/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_fd483.dir/build.make CMakeFiles/cmTC_fd483.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fd483.dir/HAVE___UINT16.cpp.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -fPIE -o CMakeFiles/cmTC_fd483.dir/HAVE___UINT16.cpp.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:27:22: error: expected primary-expression before 'unsigned' 27 | #define SIZE (sizeof(unsigned __int16)) | ^~~~~~~~ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:27:22: error: expected ')' before 'unsigned' 27 | #define SIZE (sizeof(unsigned __int16)) | ~^~~~~~~~ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:38:7: error: expected ')' before '}' token 38 | '\0'}; | ^ | ) /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:27:14: note: to match this '(' 27 | #define SIZE (sizeof(unsigned __int16)) | ^ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:38:7: error: expected ')' before '}' token 38 | '\0'}; | ^ | ) /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:29:11: note: to match this '(' 29 | ('0' + ((SIZE / 10000)%10)), | ^ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:38:7: error: expected ')' before '}' token 38 | '\0'}; | ^ | ) /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:29:10: note: to match this '(' 29 | ('0' + ((SIZE / 10000)%10)), | ^ /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:38:7: error: expected ')' before '}' token 38 | '\0'}; | ^ | ) /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp:29:3: note: to match this '(' 29 | ('0' + ((SIZE / 10000)%10)), | ^ CMakeFiles/cmTC_fd483.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_fd483.dir/HAVE___UINT16.cpp.o' failed make[2]: *** [CMakeFiles/cmTC_fd483.dir/HAVE___UINT16.cpp.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_fd483/fast' failed make[1]: *** [cmTC_fd483/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckTypeSize/HAVE___UINT16.cpp: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(unsigned __int16)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Performing C++ SOURCE FILE Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_f8387/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f8387.dir/build.make CMakeFiles/cmTC_f8387.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f8387.dir/src.cxx.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -DHAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -fPIE -Wunnamed-type-template-args -o CMakeFiles/cmTC_f8387.dir/src.cxx.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp/src.cxx arm-linux-g++.br_real: error: unrecognized command line option '-Wunnamed-type-template-args' CMakeFiles/cmTC_f8387.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_f8387.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_f8387.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_f8387/fast' failed make[1]: *** [cmTC_f8387/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Determining if the pthread_threadid_np exist failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_20fc6/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_20fc6.dir/build.make CMakeFiles/cmTC_20fc6.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_20fc6.dir/CheckSymbolExists.cxx.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DNDEBUG -fPIE -o CMakeFiles/cmTC_20fc6.dir/CheckSymbolExists.cxx.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:2:10: fatal error: pthread.h: No such file or directory 2 | #include | ^~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_20fc6.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_20fc6.dir/CheckSymbolExists.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_20fc6.dir/CheckSymbolExists.cxx.o] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_20fc6/fast' failed make[1]: *** [cmTC_20fc6/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' File /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_threadid_np return ((int*)(&pthread_threadid_np))[argc]; #else (void)argc; return 0; #endif } Determining if the function UnDecorateSymbolName exists in the dbghelp failed with the following output: Change Dir: /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make -f Makefile cmTC_740a4/fast && make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_740a4.dir/build.make CMakeFiles/cmTC_740a4.dir/build make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_740a4.dir/CheckFunctionExists.cxx.o /home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=UnDecorateSymbolName -DNDEBUG -fPIE -o CMakeFiles/cmTC_740a4.dir/CheckFunctionExists.cxx.o -c /home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx Linking CXX executable cmTC_740a4 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_740a4.dir/link.txt --verbose=1 /home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-linux-g++ --sysroot=/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -DCHECK_FUNCTION_EXISTS=UnDecorateSymbolName -DNDEBUG CMakeFiles/cmTC_740a4.dir/CheckFunctionExists.cxx.o -o cmTC_740a4 -ldbghelp /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -ldbghelp collect2: error: ld returned 1 exit status CMakeFiles/cmTC_740a4.dir/build.make:98: recipe for target 'cmTC_740a4' failed make[2]: *** [cmTC_740a4] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp' Makefile:127: recipe for target 'cmTC_740a4/fast' failed make[1]: *** [cmTC_740a4/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/glog-0.6.0/CMakeFiles/CMakeTmp'