Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_47dab && [1/2] Building C object CMakeFiles/cmTC_47dab.dir/src.c.o [2/2] Linking C executable cmTC_47dab FAILED: cmTC_47dab : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -ffast-math -ffp-contract=fast -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_47dab.dir/src.c.o -o cmTC_47dab && : ld.lld: error: undefined symbol: pthread_create >>> referenced by src.c >>> CMakeFiles/cmTC_47dab.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_detach >>> referenced by src.c >>> CMakeFiles/cmTC_47dab.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_cancel >>> referenced by src.c >>> CMakeFiles/cmTC_47dab.dir/src.c.o:(main) ld.lld: error: undefined symbol: pthread_join >>> referenced by src.c >>> CMakeFiles/cmTC_47dab.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 size of 0i8 failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_792ac && [1/2] Building C object CMakeFiles/cmTC_792ac.dir/SIZEOF_0I8.c.o FAILED: CMakeFiles/cmTC_792ac.dir/SIZEOF_0I8.c.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -MD -MT CMakeFiles/cmTC_792ac.dir/SIZEOF_0I8.c.o -MF CMakeFiles/cmTC_792ac.dir/SIZEOF_0I8.c.o.d -o CMakeFiles/cmTC_792ac.dir/SIZEOF_0I8.c.o -c /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:29:12: error: invalid suffix 'i8' on integer constant ('0' + ((SIZE / 10000)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:23: note: expanded from macro 'SIZE' #define SIZE (sizeof(0i8)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:30:12: error: invalid suffix 'i8' on integer constant ('0' + ((SIZE / 1000)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:23: note: expanded from macro 'SIZE' #define SIZE (sizeof(0i8)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:31:12: error: invalid suffix 'i8' on integer constant ('0' + ((SIZE / 100)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:23: note: expanded from macro 'SIZE' #define SIZE (sizeof(0i8)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:32:12: error: invalid suffix 'i8' on integer constant ('0' + ((SIZE / 10)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:23: note: expanded from macro 'SIZE' #define SIZE (sizeof(0i8)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:33:12: error: invalid suffix 'i8' on integer constant ('0' + (SIZE % 10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c:27:23: note: expanded from macro 'SIZE' #define SIZE (sizeof(0i8)) ^ 5 errors generated. ninja: build stopped: subcommand failed. /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF_0I8.c: #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(0i8)) 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; } Determining size of __int64 failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_c0446 && [1/2] Building C object CMakeFiles/cmTC_c0446.dir/SIZEOF___INT_64.c.o FAILED: CMakeFiles/cmTC_c0446.dir/SIZEOF___INT_64.c.o /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -MD -MT CMakeFiles/cmTC_c0446.dir/SIZEOF___INT_64.c.o -MF CMakeFiles/cmTC_c0446.dir/SIZEOF___INT_64.c.o.d -o CMakeFiles/cmTC_c0446.dir/SIZEOF___INT_64.c.o -c /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:29:12: error: use of undeclared identifier '__int64' ('0' + ((SIZE / 10000)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: note: expanded from macro 'SIZE' #define SIZE (sizeof(__int64)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:30:12: error: use of undeclared identifier '__int64' ('0' + ((SIZE / 1000)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: note: expanded from macro 'SIZE' #define SIZE (sizeof(__int64)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:31:12: error: use of undeclared identifier '__int64' ('0' + ((SIZE / 100)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: note: expanded from macro 'SIZE' #define SIZE (sizeof(__int64)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:32:12: error: use of undeclared identifier '__int64' ('0' + ((SIZE / 10)%10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: note: expanded from macro 'SIZE' #define SIZE (sizeof(__int64)) ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:33:12: error: use of undeclared identifier '__int64' ('0' + (SIZE % 10)), ^ /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c:27:22: note: expanded from macro 'SIZE' #define SIZE (sizeof(__int64)) ^ 5 errors generated. ninja: build stopped: subcommand failed. /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CheckTypeSize/SIZEOF___INT_64.c: #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(__int64)) 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; } Determining if the function itoa exists failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_62b37 && [1/2] Building C object CMakeFiles/cmTC_62b37.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_62b37 FAILED: cmTC_62b37 : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -ffast-math -ffp-contract=fast -Wall -Wno-pointer-sign -Wno-uninitialized -DCHECK_FUNCTION_EXISTS=itoa -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_62b37.dir/CheckFunctionExists.c.o -o cmTC_62b37 && : ld.lld: error: undefined symbol: itoa >>> referenced by CheckFunctionExists.c >>> CMakeFiles/cmTC_62b37.dir/CheckFunctionExists.c.o:(main) clang-10: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Determining if the function stricmp exists failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_be91d && [1/2] Building C object CMakeFiles/cmTC_be91d.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_be91d FAILED: cmTC_be91d : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -ffast-math -ffp-contract=fast -DCHECK_FUNCTION_EXISTS=stricmp -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_be91d.dir/CheckFunctionExists.c.o -o cmTC_be91d && : ld.lld: error: undefined symbol: stricmp >>> referenced by CheckFunctionExists.c >>> CMakeFiles/cmTC_be91d.dir/CheckFunctionExists.c.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Determining if the function strnicmp exists failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_c1cf9 && [1/2] Building C object CMakeFiles/cmTC_c1cf9.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_c1cf9 FAILED: cmTC_c1cf9 : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -ffast-math -ffp-contract=fast -DCHECK_FUNCTION_EXISTS=strnicmp -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_c1cf9.dir/CheckFunctionExists.c.o -o cmTC_c1cf9 && : ld.lld: error: undefined symbol: strnicmp >>> referenced by CheckFunctionExists.c >>> CMakeFiles/cmTC_c1cf9.dir/CheckFunctionExists.c.o:(main) >>> did you mean: strncmp >>> defined in: /lib64/libc.so.6 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 HAVE_PARALLEL_FOR failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_52671 && [1/2] Building CXX object CMakeFiles/cmTC_52671.dir/src.cxx.o FAILED: CMakeFiles/cmTC_52671.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 -ffp-contract=off -DHAVE_VULKAN -fPIE -DHAVE_PARALLEL_FOR -MD -MT CMakeFiles/cmTC_52671.dir/src.cxx.o -MF CMakeFiles/cmTC_52671.dir/src.cxx.o.d -o CMakeFiles/cmTC_52671.dir/src.cxx.o -c src.cxx src.cxx:1:10: fatal error: 'ppl.h' file not found #include ^~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main() { concurrency::parallel_for(0, 1, 1, [](int) { } ); } Performing C++ SOURCE FILE Test HAVE_DISPATCH_APPLY failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_be8d0 && [1/2] Building CXX object CMakeFiles/cmTC_be8d0.dir/src.cxx.o FAILED: CMakeFiles/cmTC_be8d0.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 -ffp-contract=off -DHAVE_VULKAN -fPIE -DHAVE_DISPATCH_APPLY -MD -MT CMakeFiles/cmTC_be8d0.dir/src.cxx.o -MF CMakeFiles/cmTC_be8d0.dir/src.cxx.o.d -o CMakeFiles/cmTC_be8d0.dir/src.cxx.o -c src.cxx src.cxx:1:10: fatal error: 'dispatch/dispatch.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main() { dispatch_apply(1, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(size_t) { }); } Determining if the function filelength exists failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_2a152 && [1/2] Building C object CMakeFiles/cmTC_2a152.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_2a152 FAILED: cmTC_2a152 : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -DCHECK_FUNCTION_EXISTS=filelength -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_2a152.dir/CheckFunctionExists.c.o -o cmTC_2a152 && : ld.lld: error: undefined symbol: filelength >>> referenced by CheckFunctionExists.c >>> CMakeFiles/cmTC_2a152.dir/CheckFunctionExists.c.o:(main) clang-10: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Determining if the function strupr exists failed with the following output: Change Dir: /var/tmp/portage/games-fps/gzdoom-4.3.3/work/gzdoom-4.3.3_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_7ff2a && [1/2] Building C object CMakeFiles/cmTC_7ff2a.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_7ff2a FAILED: cmTC_7ff2a : && /usr/lib/llvm/10/bin/x86_64-pc-linux-gnu-clang -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -ffp-contract=off -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -ffp-contract=off -DHAVE_VULKAN -fPIE -DCHECK_FUNCTION_EXISTS=strupr -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -rdynamic CMakeFiles/cmTC_7ff2a.dir/CheckFunctionExists.c.o -o cmTC_7ff2a && : ld.lld: error: undefined symbol: strupr >>> referenced by CheckFunctionExists.c >>> CMakeFiles/cmTC_7ff2a.dir/CheckFunctionExists.c.o:(main) clang-10: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.