Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /home/buildroot/autobuild/instance-1/output-1/host/bin/clang++ Build flags: Id flags: The output was: 1 /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: warning: library search path "/lib/../lib64" is unsafe for cross-compilation /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: warning: library search path "/lib" is unsafe for cross-compilation /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: warning: library search path "/usr/lib" is unsafe for cross-compilation /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: cannot find crt1.o: No such file or directory /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: cannot find crti.o: No such file or directory /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: cannot find -lstdc++ clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Detecting CXX compiler ABI info failed to compile with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_47a43/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_47a43.dir/build.make CMakeFiles/cmTC_47a43.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_47a43.dir/CMakeCXXCompilerABI.cpp.o /home/buildroot/autobuild/instance-1/output-1/host/bin/clang++ --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot -O3 -DNDEBUG -v -o CMakeFiles/cmTC_47a43.dir/CMakeCXXCompilerABI.cpp.o -c /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.18/Modules/CMakeCXXCompilerABI.cpp clang version 9.0.1 Target: aarch64-buildroot-linux-gnu Thread model: posix InstalledDir: /home/buildroot/autobuild/instance-1/output-1/host/bin Found candidate GCC installation: /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib/gcc/aarch64-buildroot-linux-gnu/10.3.0 Found candidate GCC installation: /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0 Selected GCC installation: /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0 Candidate multilib: .;@m64 Selected multilib: .;@m64 "/home/buildroot/autobuild/instance-1/output-1/host/bin/clang-9" -cc1 -triple aarch64-buildroot-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu generic -target-feature +neon -target-abi aapcs -fallow-half-arguments-and-returns -dwarf-column-info -debugger-tuning=gdb -v -coverage-notes-file /home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_47a43.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /home/buildroot/autobuild/instance-1/output-1/host/lib/clang/9.0.1 -D NDEBUG -isysroot /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot -internal-isystem /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/local/include -internal-isystem /home/buildroot/autobuild/instance-1/output-1/host/lib/clang/9.0.1/include -internal-externc-isystem /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/include -internal-externc-isystem /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include -O3 -fdeprecated-macro -fdebug-compilation-dir /home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o CMakeFiles/cmTC_47a43.dir/CMakeCXXCompilerABI.cpp.o -x c++ /home/buildroot/autobuild/instance-1/output-1/host/share/cmake-3.18/Modules/CMakeCXXCompilerABI.cpp clang -cc1 version 9.0.1 based upon LLVM 9.0.1 default target aarch64-buildroot-linux-gnu ignoring nonexistent directory "/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/local/include" #include "..." search starts here: #include <...> search starts here: /home/buildroot/autobuild/instance-1/output-1/host/lib/clang/9.0.1/include /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/include /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include End of search list. Linking CXX executable cmTC_47a43 /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_47a43.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/clang++ --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot -O3 -DNDEBUG -v CMakeFiles/cmTC_47a43.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_47a43 clang version 9.0.1 Target: aarch64-buildroot-linux-gnu Thread model: posix InstalledDir: /home/buildroot/autobuild/instance-1/output-1/host/bin Found candidate GCC installation: /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib/gcc/aarch64-buildroot-linux-gnu/10.3.0 Found candidate GCC installation: /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0 Selected GCC installation: /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0 Candidate multilib: .;@m64 Selected multilib: .;@m64 "/home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld" --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot -EL --hash-style=both --eh-frame-hdr -m aarch64linux -dynamic-linker /lib/ld-linux-aarch64.so.1 -o cmTC_47a43 /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crt1.o /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crti.o /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0/crtbegin.o -L/home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0 -L/home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/lib/../lib64 -L/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/lib/../lib64 -L/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64 -L/home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/lib -L/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/lib -L/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib CMakeFiles/cmTC_47a43.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /home/buildroot/autobuild/instance-1/output-1/host/bin/../lib64/gcc/aarch64-buildroot-linux-gnu/10.3.0/crtend.o /home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crtn.o /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: cannot find -lstdc++ clang-9: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/cmTC_47a43.dir/build.make:105: recipe for target 'cmTC_47a43' failed make[2]: *** [cmTC_47a43] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_47a43/fast' failed make[1]: *** [cmTC_47a43/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' Determining if the CXX compiler works failed with the following output: Change Dir: /home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_9a38b/fast && make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_9a38b.dir/build.make CMakeFiles/cmTC_9a38b.dir/build make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_9a38b.dir/testCXXCompiler.cxx.o /home/buildroot/autobuild/instance-1/output-1/host/bin/clang++ --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot -O3 -DNDEBUG -o CMakeFiles/cmTC_9a38b.dir/testCXXCompiler.cxx.o -c /home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_9a38b /home/buildroot/autobuild/instance-1/output-1/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a38b.dir/link.txt --verbose=1 /home/buildroot/autobuild/instance-1/output-1/host/bin/clang++ --sysroot=/home/buildroot/autobuild/instance-1/output-1/host/aarch64-buildroot-linux-gnu/sysroot -O3 -DNDEBUG CMakeFiles/cmTC_9a38b.dir/testCXXCompiler.cxx.o -o cmTC_9a38b /home/buildroot/autobuild/instance-1/output-1/host/bin/aarch64-buildroot-linux-gnu-ld: cannot find -lstdc++ clang-9: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/cmTC_9a38b.dir/build.make:105: recipe for target 'cmTC_9a38b' failed make[2]: *** [cmTC_9a38b] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp' Makefile:140: recipe for target 'cmTC_9a38b/fast' failed make[1]: *** [cmTC_9a38b/fast] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/ne10-1.2.1/CMakeFiles/CMakeTmp'