Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4540e/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4540e.dir/build.make CMakeFiles/cmTC_4540e.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4540e.dir/src.c.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG -o CMakeFiles/cmTC_4540e.dir/src.c.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_4540e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4540e.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCMAKE_HAVE_LIBC_PTHREAD -DNDEBUG CMakeFiles/cmTC_4540e.dir/src.c.o -o cmTC_4540e CMakeFiles/cmTC_4540e.dir/src.c.o: In function `main': src.c:(.text.startup+0x2c): undefined reference to `pthread_create' src.c:(.text.startup+0x34): undefined reference to `pthread_detach' src.c:(.text.startup+0x40): undefined reference to `pthread_join' src.c:(.text.startup+0x50): undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_4540e.dir/build.make:87: cmTC_4540e] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_4540e/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8da14/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8da14.dir/build.make CMakeFiles/cmTC_8da14.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8da14.dir/CheckFunctionExists.c.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG -o CMakeFiles/cmTC_8da14.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_8da14 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8da14.dir/link.txt --verbose=1 /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DCHECK_FUNCTION_EXISTS=pthread_create -DNDEBUG CMakeFiles/cmTC_8da14.dir/CheckFunctionExists.c.o -o cmTC_8da14 -lpthreads /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/cmTC_8da14.dir/build.make:87: cmTC_8da14] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_8da14/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file emmintrin.h exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d1d81/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_d1d81.dir/build.make CMakeFiles/cmTC_d1d81.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d1d81.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -DNDEBUG -o CMakeFiles/cmTC_d1d81.dir/CheckIncludeFile.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx aarch64_be-linux-gnu-g++: error: unrecognized command line option '-msse2' make[2]: *** [CMakeFiles/cmTC_d1d81.dir/build.make:66: CMakeFiles/cmTC_d1d81.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_d1d81/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Performing C++ SOURCE FILE Test HAVE_WIN_SETTHREADPRIORITY failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_b30e2/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_b30e2.dir/build.make CMakeFiles/cmTC_b30e2.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b30e2.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_WIN_SETTHREADPRIORITY -DNDEBUG -o CMakeFiles/cmTC_b30e2.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_b30e2.dir/build.make:66: CMakeFiles/cmTC_b30e2.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_b30e2/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ SetThreadPriority(GetCurrentThread(), 0); SetPriorityClass(GetCurrentProcess(), 0); return 0; } Performing C++ SOURCE FILE Test HAVE_MACH_ABSOLUTE_TIME failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3e992/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3e992.dir/build.make CMakeFiles/cmTC_3e992.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3e992.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_MACH_ABSOLUTE_TIME -DNDEBUG -o CMakeFiles/cmTC_3e992.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: mach/mach_time.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_3e992.dir/build.make:66: CMakeFiles/cmTC_3e992.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_3e992/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ mach_timebase_info_data_t info; mach_timebase_info(&info); mach_absolute_time(); return 0; } Performing C++ SOURCE FILE Test HAVE_QUERY_PERFORMANCE_COUNTER failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4d9e8/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4d9e8.dir/build.make CMakeFiles/cmTC_4d9e8.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4d9e8.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_QUERY_PERFORMANCE_COUNTER -DNDEBUG -o CMakeFiles/cmTC_4d9e8.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: Windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_4d9e8.dir/build.make:66: CMakeFiles/cmTC_4d9e8.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_4d9e8/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #include int main(){ LARGE_INTEGER value; QueryPerformanceCounter(&value); QueryPerformanceFrequency(&value); return 0; } Performing C++ SOURCE FILE Test HAVE_LOAD_LIBRARY failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_80cb2/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_80cb2.dir/build.make CMakeFiles/cmTC_80cb2.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_80cb2.dir/src.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_LOAD_LIBRARY -DNDEBUG -o CMakeFiles/cmTC_80cb2.dir/src.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/src.cxx:3:14: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_80cb2.dir/build.make:66: CMakeFiles/cmTC_80cb2.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_80cb2/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Source file was: #define WIN32_LEAN_AND_MEAN #include int main(){ LoadLibrary(0); return 0; } Determining if the include file winsock2.h exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_592eb/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_592eb.dir/build.make CMakeFiles/cmTC_592eb.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_592eb.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_592eb.dir/CheckIncludeFile.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: winsock2.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_592eb.dir/build.make:66: CMakeFiles/cmTC_592eb.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_592eb/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Determining if the include file atlbase.h exists failed with the following output: Change Dir: /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e15e2/fast && make[1]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e15e2.dir/build.make CMakeFiles/cmTC_e15e2.dir/build make[2]: Entering directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_e15e2.dir/CheckIncludeFile.cxx.o /tmp/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ --sysroot=/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot -I/tmp/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -o CMakeFiles/cmTC_e15e2.dir/CheckIncludeFile.cxx.o -c /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: atlbase.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/cmTC_e15e2.dir/build.make:66: CMakeFiles/cmTC_e15e2.dir/CheckIncludeFile.cxx.o] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:121: cmTC_e15e2/fast] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/uhd-3.15.0.0/host/buildroot-build/CMakeFiles/CMakeTmp'