Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/clang++ Build flags: Id flags: The output was: 1 /usr/bin/ld: cannot find -lstdc++ clang: 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: /nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_a492e/fast && make[1]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_a492e.dir/build.make CMakeFiles/cmTC_a492e.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_a492e.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/clang++ --sysroot=/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot -O3 -DNDEBUG -v -o CMakeFiles/cmTC_a492e.dir/CMakeCXXCompilerABI.cpp.o -c /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeCXXCompilerABI.cpp clang version 10.0.0-4ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9 Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10 Candidate multilib: .;@m64 Selected multilib: .;@m64 (in-process) "/usr/lib/llvm-10/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model static -mthread-model posix -mframe-pointer=none -fmath-errno -fno-rounding-math -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir /usr/lib/llvm-10/lib/clang/10.0.0 -D NDEBUG -isysroot /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++ -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/x86_64-linux-gnu -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/backward -internal-isystem /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/usr/local/include -internal-isystem /usr/lib/llvm-10/lib/clang/10.0.0/include -internal-externc-isystem /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/include -internal-externc-isystem /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/usr/include -O3 -fdeprecated-macro -fdebug-compilation-dir /nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -fgnuc-version=4.2.1 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -faddrsig -o CMakeFiles/cmTC_a492e.dir/CMakeCXXCompilerABI.cpp.o -x c++ /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeCXXCompilerABI.cpp clang -cc1 version 10.0.0 based upon LLVM 10.0.0 default target x86_64-pc-linux-gnu ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/x86_64-linux-gnu" ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/backward" ignoring nonexistent directory "/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/usr/local/include" ignoring nonexistent directory "/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/include" #include "..." search starts here: #include <...> search starts here: /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++ /usr/lib/llvm-10/lib/clang/10.0.0/include /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/usr/include End of search list. Linking CXX executable cmTC_a492e /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a492e.dir/link.txt --verbose=1 /usr/bin/clang++ --sysroot=/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot -O3 -DNDEBUG -v CMakeFiles/cmTC_a492e.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_a492e clang version 10.0.0-4ubuntu1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9 Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/10 Candidate multilib: .;@m64 Selected multilib: .;@m64 "/usr/bin/ld" --sysroot=/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot -z relro --hash-style=gnu --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_a492e /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/10/crtbegin.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/10 -L/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib -L/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/usr/lib CMakeFiles/cmTC_a492e.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/../lib/gcc/x86_64-linux-gnu/10/crtend.o /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crtn.o /usr/bin/ld: /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o: relocations in generic ELF (EM: 189) /usr/bin/ld: /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o: relocations in generic ELF (EM: 189) /usr/bin/ld: /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o: error adding symbols: file in wrong format clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/cmTC_a492e.dir/build.make:106: cmTC_a492e] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:140: cmTC_a492e/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' Determining if the CXX compiler works failed with the following output: Change Dir: /nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_cac6c/fast && make[1]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTC_cac6c.dir/build.make CMakeFiles/cmTC_cac6c.dir/build make[2]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_cac6c.dir/testCXXCompiler.cxx.o /usr/bin/clang++ --sysroot=/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot -O3 -DNDEBUG -o CMakeFiles/cmTC_cac6c.dir/testCXXCompiler.cxx.o -c /nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_cac6c /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cac6c.dir/link.txt --verbose=1 /usr/bin/clang++ --sysroot=/nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot -O3 -DNDEBUG CMakeFiles/cmTC_cac6c.dir/testCXXCompiler.cxx.o -o cmTC_cac6c /usr/bin/ld: /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o: relocations in generic ELF (EM: 189) /usr/bin/ld: /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o: relocations in generic ELF (EM: 189) /usr/bin/ld: /nvmedata/autobuild/instance-6/output-1/per-package/libwebsockets/host/microblazeel-buildroot-linux-musl/sysroot/lib/crt1.o: error adding symbols: file in wrong format clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [CMakeFiles/cmTC_cac6c.dir/build.make:106: cmTC_cac6c] Error 1 make[2]: Leaving directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp' make[1]: *** [Makefile:140: cmTC_cac6c/fast] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-6/output-1/build/libwebsockets-4.3.1/CMakeFiles/CMakeTmp'