Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/net-wireless/srslte-20.10.1-r1/work/srslte-20.10.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_49b66 && [1/2] Building C object CMakeFiles/cmTC_49b66.dir/src.c.o [2/2] Linking C executable cmTC_49b66 FAILED: cmTC_49b66 : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_49b66.dir/src.c.o -o cmTC_49b66 && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_49b66.dir/src.c.o: in function `main': src.c:(.text.startup+0x25): undefined reference to `pthread_create' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x2e): undefined reference to `pthread_detach' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x37): undefined reference to `pthread_cancel' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text.startup+0x42): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(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: /var/tmp/portage/net-wireless/srslte-20.10.1-r1/work/srslte-20.10.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_b1900 && [1/2] Building C object CMakeFiles/cmTC_b1900.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_b1900 FAILED: cmTC_b1900 : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_b1900.dir/CheckFunctionExists.c.o -o cmTC_b1900 -lpthreads && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C SOURCE FILE Test HAVE_AVX512 failed with the following output: Change Dir: /var/tmp/portage/net-wireless/srslte-20.10.1-r1/work/srslte-20.10.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_cda78 && [1/2] Building C object CMakeFiles/cmTC_cda78.dir/src.c.o [2/2] Linking C executable cmTC_cda78 Return value: FAILED_TO_RUN Source file was: #include int main() { __m512i a, b, c; const int src[16] = { 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8 , 0x9, 0xA, 0xB, 0xC, 0xD, 0xE, 0xF}; int dst[16]; a = _mm512_loadu_si512( (__m512i*)src ); b = _mm512_loadu_si512( (__m512i*)src ); c = _mm512_add_epi32( a, b ); _mm512_storeu_si512( (__m512i*)dst, c ); int i = 0; for( i = 0; i < 16; i++ ){ if( ( src[i] + src[i] ) != dst[i] ){ return -1; } } return 0; }