Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/net-libs/ignition-msgs-5.2.0/work/ignition-msgs-5.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_26690 && [1/2] Building C object CMakeFiles/cmTC_26690.dir/src.c.o [2/2] Linking C executable cmTC_26690 FAILED: cmTC_26690 : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld CMakeFiles/cmTC_26690.dir/src.c.o -o cmTC_26690 && : ld.lld: error: undefined symbol: pthread_create >>> referenced by src.c >>> CMakeFiles/cmTC_26690.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_detach >>> referenced by src.c >>> CMakeFiles/cmTC_26690.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_cancel >>> referenced by src.c >>> CMakeFiles/cmTC_26690.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_join >>> referenced by src.c >>> CMakeFiles/cmTC_26690.dir/src.c.o:(main) clang-10: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. 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_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-libs/ignition-msgs-5.2.0/work/ignition-msgs-5.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d9ee9 && [1/2] Building C object CMakeFiles/cmTC_d9ee9.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_d9ee9 FAILED: cmTC_d9ee9 : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld CMakeFiles/cmTC_d9ee9.dir/CheckFunctionExists.c.o -o cmTC_d9ee9 -lpthreads && : ld.lld: error: unable to find library -lpthreads clang-10: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Performing C++ SOURCE FILE Test result-fvisibility failed with the following output: Change Dir: /var/tmp/portage/net-libs/ignition-msgs-5.2.0/work/ignition-msgs-5.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_e5529 && [1/2] Building CXX object CMakeFiles/cmTC_e5529.dir/src.cxx.o FAILED: CMakeFiles/cmTC_e5529.dir/src.cxx.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Dresult-fvisibility -fvisibility -MD -MT CMakeFiles/cmTC_e5529.dir/src.cxx.o -MF CMakeFiles/cmTC_e5529.dir/src.cxx.o.d -o CMakeFiles/cmTC_e5529.dir/src.cxx.o -c src.cxx clang-10: error: unknown argument: '-fvisibility' ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test result-fno-default-inline failed with the following output: Change Dir: /var/tmp/portage/net-libs/ignition-msgs-5.2.0/work/ignition-msgs-5.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_075a9 && [1/2] Building CXX object CMakeFiles/cmTC_075a9.dir/src.cxx.o clang-10: warning: optimization flag '-fno-default-inline' is not supported [-Wignored-optimization-argument] In file included from :418: :1:15: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define result-fno-default-inline 1 ^ 1 warning generated. [2/2] Linking CXX executable cmTC_075a9 Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test result-fno-implicit-inline-templates failed with the following output: Change Dir: /var/tmp/portage/net-libs/ignition-msgs-5.2.0/work/ignition-msgs-5.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_6cc56 && [1/2] Building CXX object CMakeFiles/cmTC_6cc56.dir/src.cxx.o FAILED: CMakeFiles/cmTC_6cc56.dir/src.cxx.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Dresult-fno-implicit-inline-templates -fno-implicit-inline-templates -MD -MT CMakeFiles/cmTC_6cc56.dir/src.cxx.o -MF CMakeFiles/cmTC_6cc56.dir/src.cxx.o.d -o CMakeFiles/cmTC_6cc56.dir/src.cxx.o -c src.cxx clang-10: error: unknown argument: '-fno-implicit-inline-templates' ninja: build stopped: subcommand failed. Source file was: int main() { return 0; }