Performing C SOURCE FILE Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f5824/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_f5824.dir/build.make CMakeFiles/cmTC_f5824.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f5824.dir/src.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -DC_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -Werror -Werror=unguarded-availability-new -o CMakeFiles/cmTC_f5824.dir/src.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c cc1: error: -Werror=unguarded-availability-new: no option -Wunguarded-availability-new CMakeFiles/cmTC_f5824.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f5824.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_f5824.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_f5824/fast' failed make[1]: *** [cmTC_f5824/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main(void) { return 0; } Performing C++ SOURCE FILE Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4670b/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_4670b.dir/build.make CMakeFiles/cmTC_4670b.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_4670b.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -fvisibility-inlines-hidden -Werror=date-time -DCXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -Werror -Werror=unguarded-availability-new -o CMakeFiles/cmTC_4670b.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx cc1plus: error: -Werror=unguarded-availability-new: no option -Wunguarded-availability-new CMakeFiles/cmTC_4670b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_4670b.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_4670b.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_4670b/fast' failed make[1]: *** [cmTC_4670b/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Performing C SOURCE FILE Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e1858/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_e1858.dir/build.make CMakeFiles/cmTC_e1858.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e1858.dir/src.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -DC_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -Werror -Wcovered-switch-default -o CMakeFiles/cmTC_e1858.dir/src.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c arm-linux-gnueabihf-gcc: error: unrecognized command line option '-Wcovered-switch-default'; did you mean '-Wno-switch-default'? CMakeFiles/cmTC_e1858.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_e1858.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_e1858.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_e1858/fast' failed make[1]: *** [cmTC_e1858/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' 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: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8ee3d/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_8ee3d.dir/build.make CMakeFiles/cmTC_8ee3d.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8ee3d.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -DCXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -Werror -Wcovered-switch-default -o CMakeFiles/cmTC_8ee3d.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx arm-linux-gnueabihf-g++: error: unrecognized command line option '-Wcovered-switch-default'; did you mean '-Wno-switch-default'? CMakeFiles/cmTC_8ee3d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8ee3d.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_8ee3d.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_8ee3d/fast' failed make[1]: *** [cmTC_8ee3d/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_0cb35/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_0cb35.dir/build.make CMakeFiles/cmTC_0cb35.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0cb35.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -DCXX_SUPPORTS_CLASS_MEMACCESS_FLAG -Wclass-memaccess -o CMakeFiles/cmTC_0cb35.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx arm-linux-gnueabihf-g++: error: unrecognized command line option '-Wclass-memaccess' CMakeFiles/cmTC_0cb35.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0cb35.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_0cb35.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_0cb35/fast' failed make[1]: *** [cmTC_0cb35/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' 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: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3a7af/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_3a7af.dir/build.make CMakeFiles/cmTC_3a7af.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3a7af.dir/src.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -DC_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -Werror -Wdelete-non-virtual-dtor -o CMakeFiles/cmTC_3a7af.dir/src.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-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 CMakeFiles/cmTC_3a7af.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3a7af.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_3a7af.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_3a7af/fast' failed make[1]: *** [cmTC_3a7af/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' 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: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6b327/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_6b327.dir/build.make CMakeFiles/cmTC_6b327.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6b327.dir/src.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -DC_WCOMMENT_ALLOWS_LINE_WRAP -Werror -Wcomment -o CMakeFiles/cmTC_6b327.dir/src.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:1:1: error: multi-line comment [-Werror=comment] // \ ^ cc1: all warnings being treated as errors CMakeFiles/cmTC_6b327.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_6b327.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_6b327.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_6b327/fast' failed make[1]: *** [cmTC_6b327/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: // \ // int main() {return 0;} Performing C SOURCE FILE Test C_SUPPORTS_STRING_CONVERSION_FLAG failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_2c14b/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_2c14b.dir/build.make CMakeFiles/cmTC_2c14b.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2c14b.dir/src.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -DC_SUPPORTS_STRING_CONVERSION_FLAG -Werror -Wstring-conversion -o CMakeFiles/cmTC_2c14b.dir/src.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c arm-linux-gnueabihf-gcc: error: unrecognized command line option '-Wstring-conversion'; did you mean '-Wint-conversion'? CMakeFiles/cmTC_2c14b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2c14b.dir/src.c.o' failed make[2]: *** [CMakeFiles/cmTC_2c14b.dir/src.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_2c14b/fast' failed make[1]: *** [cmTC_2c14b/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main(void) { return 0; } Performing C++ SOURCE FILE Test CXX_SUPPORTS_STRING_CONVERSION_FLAG failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_51dcf/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_51dcf.dir/build.make CMakeFiles/cmTC_51dcf.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_51dcf.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -DCXX_SUPPORTS_STRING_CONVERSION_FLAG -Werror -Wstring-conversion -o CMakeFiles/cmTC_51dcf.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx arm-linux-gnueabihf-g++: error: unrecognized command line option '-Wstring-conversion'; did you mean '-Wint-conversion'? CMakeFiles/cmTC_51dcf.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_51dcf.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_51dcf.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_51dcf/fast' failed make[1]: *** [cmTC_51dcf/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Determining if the os_signpost_interval_begin exist failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_62f89/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_62f89.dir/build.make CMakeFiles/cmTC_62f89.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_62f89.dir/CheckSymbolExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -ffunction-sections -fdata-sections -o CMakeFiles/cmTC_62f89.dir/CheckSymbolExists.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: os/signpost.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/cmTC_62f89.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_62f89.dir/CheckSymbolExists.c.o' failed make[2]: *** [CMakeFiles/cmTC_62f89.dir/CheckSymbolExists.c.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_62f89/fast' failed make[1]: *** [cmTC_62f89/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' File /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef os_signpost_interval_begin return ((int*)(&os_signpost_interval_begin))[argc]; #else (void)argc; return 0; #endif } Performing C++ SOURCE FILE Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_61dcf/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_61dcf.dir/build.make CMakeFiles/cmTC_61dcf.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_61dcf.dir/src.cxx.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-g++ --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -DCXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -Werror -Wnested-anon-types -o CMakeFiles/cmTC_61dcf.dir/src.cxx.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.cxx arm-linux-gnueabihf-g++: error: unrecognized command line option '-Wnested-anon-types'; did you mean '-Wnested-externs'? CMakeFiles/cmTC_61dcf.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_61dcf.dir/src.cxx.o' failed make[2]: *** [CMakeFiles/cmTC_61dcf.dir/src.cxx.o] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_61dcf/fast' failed make[1]: *** [cmTC_61dcf/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Source file was: int main() { return 0; } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_cd786/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cd786.dir/build.make CMakeFiles/cmTC_cd786.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cd786.dir/src.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -ffunction-sections -fdata-sections -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_cd786.dir/src.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_cd786 /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd786.dir/link.txt --verbose=1 /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -ffunction-sections -fdata-sections -DCMAKE_HAVE_LIBC_PTHREAD CMakeFiles/cmTC_cd786.dir/src.c.o -o cmTC_cd786 CMakeFiles/cmTC_cd786.dir/src.c.o: In function `main': /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:11: undefined reference to `pthread_create' /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:12: undefined reference to `pthread_detach' /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:13: undefined reference to `pthread_join' /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp/src.c:14: undefined reference to `pthread_atfork' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_cd786.dir/build.make:86: recipe for target 'cmTC_cd786' failed make[2]: *** [cmTC_cd786] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_cd786/fast' failed make[1]: *** [cmTC_cd786/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' 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_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: /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a02ce/fast && make[1]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a02ce.dir/build.make CMakeFiles/cmTC_a02ce.dir/build make[2]: Entering directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a02ce.dir/CheckFunctionExists.c.o /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -ffunction-sections -fdata-sections -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_a02ce.dir/CheckFunctionExists.c.o -c /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/share/cmake-3.15/Modules/CheckFunctionExists.c Linking C executable cmTC_a02ce /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a02ce.dir/link.txt --verbose=1 /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/bin/arm-linux-gnueabihf-gcc --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -fPIC -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -ffunction-sections -fdata-sections -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_a02ce.dir/CheckFunctionExists.c.o -o cmTC_a02ce -lpthreads /home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-linux-gnueabihf/7.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a02ce.dir/build.make:86: recipe for target 'cmTC_a02ce' failed make[2]: *** [cmTC_a02ce] Error 1 make[2]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp' Makefile:121: recipe for target 'cmTC_a02ce/fast' failed make[1]: *** [cmTC_a02ce/fast] Error 2 make[1]: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/output-1/build/clang-9.0.1/buildroot-build/CMakeFiles/CMakeTmp'