Determining if the include file malloc/malloc.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_95206 && [1/2] Building C object CMakeFiles/cmTC_95206.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_95206.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_95206.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: malloc/malloc.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the include file ndir.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_7b023 && [1/2] Building C object CMakeFiles/cmTC_7b023.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_7b023.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_7b023.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ndir.h: No such file or directory 1 | #include | ^~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the include file sys/ndir.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_4cfb8 && [1/2] Building C object CMakeFiles/cmTC_4cfb8.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_4cfb8.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_4cfb8.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/ndir.h: No such file or directory 1 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the include file mach/mach.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_467fc && [1/2] Building C object CMakeFiles/cmTC_467fc.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_467fc.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_467fc.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: mach/mach.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the include file mach-o/dyld.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_afa07 && [1/2] Building C object CMakeFiles/cmTC_afa07.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_afa07.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_afa07.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: mach-o/dyld.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the include file histedit.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_1afbf && [1/2] Building C object CMakeFiles/cmTC_1afbf.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_1afbf.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_1afbf.dir/CheckIncludeFile.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: histedit.h: No such file or directory 1 | #include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the arc4random exist failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_680ff && [1/2] Building C object CMakeFiles/cmTC_680ff.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_680ff.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_680ff.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘arc4random’ undeclared (first use in this function); did you mean ‘srandom’? 8 | return ((int*)(&arc4random))[argc]; | ^~~~~~~~~~ | srandom /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef arc4random return ((int*)(&arc4random))[argc]; #else (void)argc; return 0; #endif } Determining if the mallctl exist failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_74cad && [1/2] Building C object CMakeFiles/cmTC_74cad.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_74cad.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_74cad.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: malloc_np.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef mallctl return ((int*)(&mallctl))[argc]; #else (void)argc; return 0; #endif } Determining if the malloc_zone_statistics exist failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_14f97 && [1/2] Building C object CMakeFiles/cmTC_14f97.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_14f97.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_14f97.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: malloc/malloc.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef malloc_zone_statistics return ((int*)(&malloc_zone_statistics))[argc]; #else (void)argc; return 0; #endif } Determining if the strerror_s exist failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d908e && [1/2] Building C object CMakeFiles/cmTC_d908e.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_d908e.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -o CMakeFiles/cmTC_d908e.dir/CheckSymbolExists.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘strerror_s’ undeclared (first use in this function); did you mean ‘strerror_l’? 8 | return ((int*)(&strerror_s))[argc]; | ^~~~~~~~~~ | strerror_l /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef strerror_s return ((int*)(&strerror_s))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_02e5e && [1/2] Building C object CMakeFiles/cmTC_02e5e.dir/src.c.o FAILED: CMakeFiles/cmTC_02e5e.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DC_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Werror -Wcovered-switch-default -o CMakeFiles/cmTC_02e5e.dir/src.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/src.c x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-Wcovered-switch-default'; did you mean '-Wno-switch-default'? ninja: build stopped: subcommand failed. Source file was: int main(void) { return 0; } Performing C++ SOURCE FILE Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_4c789 && [1/2] Building CXX object CMakeFiles/cmTC_4c789.dir/src.cxx.o FAILED: CMakeFiles/cmTC_4c789.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DCXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Werror -Wcovered-switch-default -o CMakeFiles/cmTC_4c789.dir/src.cxx.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/src.cxx x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-Wcovered-switch-default'; did you mean '-Wno-switch-default'? ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C SOURCE FILE Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d961c && [1/2] Building C object CMakeFiles/cmTC_d961c.dir/src.c.o FAILED: CMakeFiles/cmTC_d961c.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DC_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Werror -Wdelete-non-virtual-dtor -o CMakeFiles/cmTC_d961c.dir/src.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/src.c cc1: error: command-line option '-Wdelete-non-virtual-dtor' is valid for C++/ObjC++ but not for C [-Werror] cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test C_WCOMMENT_ALLOWS_LINE_WRAP failed with the following output: Change Dir: /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ed9fa && [1/2] Building C object CMakeFiles/cmTC_ed9fa.dir/src.c.o FAILED: CMakeFiles/cmTC_ed9fa.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DC_WCOMMENT_ALLOWS_LINE_WRAP -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Werror -Wcomment -o CMakeFiles/cmTC_ed9fa.dir/src.c.o -c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/dev-libs/keystone-0.9.2-r1/work/keystone-0.9.2_build/CMakeFiles/CMakeTmp/src.c:1:1: error: multi-line comment [-Werror=comment] 1 | // \ | ^ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Source file was: // \ // int main() {return 0;}