Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_17d56/fast && /usr/bin/gmake -f CMakeFiles/cmTC_17d56.dir/build.make CMakeFiles/cmTC_17d56.dir/build gmake[1]: Entering directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_17d56.dir/src.c.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -DNDEBUG -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_17d56.dir/src.c.o -c /var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_17d56 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_17d56.dir/link.txt --verbose=1 /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 -rdynamic CMakeFiles/cmTC_17d56.dir/src.c.o -o cmTC_17d56 ld.lld: error: undefined symbol: pthread_create >>> referenced by src.c >>> CMakeFiles/cmTC_17d56.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_detach >>> referenced by src.c >>> CMakeFiles/cmTC_17d56.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_cancel >>> referenced by src.c >>> CMakeFiles/cmTC_17d56.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_join >>> referenced by src.c >>> CMakeFiles/cmTC_17d56.dir/src.c.o:(main) clang-10: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_17d56.dir/build.make:106: cmTC_17d56] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:140: cmTC_17d56/fast] Error 2 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/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_29fca/fast && /usr/bin/gmake -f CMakeFiles/cmTC_29fca.dir/build.make CMakeFiles/cmTC_29fca.dir/build gmake[1]: Entering directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_29fca.dir/CheckFunctionExists.c.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -DNDEBUG -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_29fca.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_29fca /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_29fca.dir/link.txt --verbose=1 /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 -rdynamic CMakeFiles/cmTC_29fca.dir/CheckFunctionExists.c.o -o cmTC_29fca -lpthreads ld.lld: error: unable to find library -lpthreads clang-10: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_29fca.dir/build.make:106: cmTC_29fca] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:140: cmTC_29fca/fast] Error 2 Determining if the function libiconv_open exists in the iconv failed with the following output: Change Dir: /var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_61757/fast && /usr/bin/gmake -f CMakeFiles/cmTC_61757.dir/build.make CMakeFiles/cmTC_61757.dir/build gmake[1]: Entering directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_61757.dir/CheckFunctionExists.c.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -DNDEBUG -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=libiconv_open -o CMakeFiles/cmTC_61757.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_61757 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_61757.dir/link.txt --verbose=1 /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=libiconv_open -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_61757.dir/CheckFunctionExists.c.o -o cmTC_61757 -L/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp/iconv.h -Wl,-rpath,/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp/iconv.h -liconv ld.lld: error: unable to find library -liconv clang-10: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_61757.dir/build.make:106: cmTC_61757] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:140: cmTC_61757/fast] Error 2 Determining if the function iconv_open exists in the iconv failed with the following output: Change Dir: /var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake cmTC_99469/fast && /usr/bin/gmake -f CMakeFiles/cmTC_99469.dir/build.make CMakeFiles/cmTC_99469.dir/build gmake[1]: Entering directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_99469.dir/CheckFunctionExists.c.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -DNDEBUG -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=iconv_open -o CMakeFiles/cmTC_99469.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTC_99469 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99469.dir/link.txt --verbose=1 /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DCHECK_FUNCTION_EXISTS=iconv_open -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_99469.dir/CheckFunctionExists.c.o -o cmTC_99469 -L/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp/iconv.h -Wl,-rpath,/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp/iconv.h -liconv ld.lld: error: unable to find library -liconv clang-10: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_99469.dir/build.make:106: cmTC_99469] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/media-gfx/icc-examin-0.56_p20171007/work/icc-examin-0.56_p20171007_build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:140: cmTC_99469/fast] Error 2