Fabiano Sidler via llvm-dev
2019-Sep-17 14:27 UTC
[llvm-dev] Building LLVM with LLVM with no dependence on GCC
Hi folks! I'm trying to get rid of any dependency on libgcc*, but without success so far. The following commands were executed on a freshliy installed and updated Ubuntu 16.04 LTS: === snip ==sudo apt-get install build-essential libffi-dev cmake # see aptget.txt for packages installed sudo mv /usr/local /usr/local.orig git clone https://github.com/llvm/llvm-project.git cd llvm-project; git checkout llvmorg-9.0.0-rc5; cd - mkdir build; cd build cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ ../llvm-project/llvm # configure1.txt cmake --build . cmake -DCMAKE_INSTALL_PREFIX=/tmp/llvm/usr/local -P cmake_install.cmake sudo mv /tmp/llvm/usr/local /usr sudo rm /usr/bin/ld sudo ln -s /usr/local/bin/ld.lld /usr/bin/ld sudo apt-get remove build-essential g++ g++-5 gcc gcc-5 libgcc-5-dev libstdc++-5-dev cd ..; rm -r build; mkdir build; cd - cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ ../llvm-project/llvm # fails, pleas see libgccdevmissing.txt sudo apt-get install libgcc-5-dev cd ..; rm -r build; mkdir build; cd - cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ ../llvm-project/llvm # fails, please see libstdc++devmissing.txt sudo apt-get install libstdc++-5-dev cd ..; rm -r build; mkdir build; cd - cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ ../llvm-project/llvm # configure2.txt cmake --build . rm -r /tmp/llvm cmake -DCMAKE_INSTALL_PREFIX=/tmp/llvm/usr/local -P cmake_install.cmake cd .. tar cJf llvm9.txz -C /tmp/llvm/usr/local . === snap == When I unpack that now on another fresh system, I'm still getting the following: === snip ==ld: error: cannot open crtbegin.o: No such file or directory ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc_s ld: error: unable to find library -lc ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc_s ld: error: cannot open crtend.o: No such file or directory clang-9: error: linker command failed with exit code 1 (use -v to see invocation) === snap == Any hint on how to make this work? Best wishes, Fabiano -------------- next part -------------- binutils build-essential cmake cmake-data cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libarchive13 libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3 libdpkg-perl libfakeroot libffi-dev libfile-fcntllock-perl libgcc-5-dev libgomp1 libisl15 libitm1 libjsoncpp1 liblsan0 libmpc3 libmpx0 libquadmath0 libstdc++-5-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev -------------- next part -------------- -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- clang project is enabled -- clang-tools-extra project is disabled -- compiler-rt project is enabled -- debuginfo-tests project is disabled -- libclc project is disabled -- libcxx project is enabled -- libcxxabi project is enabled -- libunwind project is disabled -- lld project is enabled -- lldb project is disabled -- llgo project is disabled -- openmp project is disabled -- parallel-libs project is disabled -- polly project is disabled -- pstl project is disabled -- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND) -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for zlib.h -- Looking for zlib.h - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for histedit.h -- Looking for histedit.h - not found -- Looking for CrashReporterClient.h -- Looking for CrashReporterClient.h - not found -- Looking for linux/magic.h -- Looking for linux/magic.h - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for pfm_initialize in pfm -- Looking for pfm_initialize in pfm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for compress2 in z -- Looking for compress2 in z - not found -- Looking for compress2 in zlib_static -- Looking for compress2 in zlib_static - not found -- Looking for compress2 in zlib -- Looking for compress2 in zlib - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - not found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in curses -- Looking for setupterm in curses - not found -- Looking for setupterm in ncurses -- Looking for setupterm in ncurses - not found -- Looking for setupterm in ncursesw -- Looking for setupterm in ncursesw - not found -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) -- Looking for xar_open in xar -- Looking for xar_open in xar - not found -- Looking for arc4random -- Looking for arc4random - not found -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for lseek64 -- Looking for lseek64 - found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - not found -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for ffi_call -- Looking for ffi_call - found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Failed -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed -- Performing Test HAS_MAYBE_UNINITIALIZED -- Performing Test HAS_MAYBE_UNINITIALIZED - Success -- Native target architecture is X86 -- Threads enabled. -- Doxygen disabled. -- Go bindings disabled. -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- OCaml bindings disabled. -- Could NOT find Python module pygments -- Could NOT find Python module pygments.lexers.c_cpp -- Could NOT find Python module yaml -- LLVM host triple: x86_64-unknown-linux-gnu -- LLVM default target triple: x86_64-unknown-linux-gnu -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_CXX_STD -- Performing Test CXX_SUPPORTS_CXX_STD - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Failed -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Failed -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Failed -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Found PythonInterp: /usr/bin/python3.5 (found version "3.5.2") -- Constructing LLVMBuild project information -- Found Git: /usr/bin/git (found version "2.7.4") -- Linker detection: GNU ld -- Targeting X86 -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG - Success -- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG -- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG - Success -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for pthread_once in pthread -- Looking for pthread_once in pthread - found -- Looking for __cxa_thread_atexit_impl in c -- Looking for __cxa_thread_atexit_impl in c - found -- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_W_FLAG -- Performing Test LIBCXXABI_SUPPORTS_W_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG -- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG -- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG -- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG -- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Linker detection: GNU ld -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Looking for __atomic_fetch_add_8 in atomic -- Looking for __atomic_fetch_add_8 in atomic - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for ccos in m -- Looking for ccos in m - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_W_FLAG -- Performing Test LIBCXX_SUPPORTS_W_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_WNO_LITERAL_SUFFIX_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_LITERAL_SUFFIX_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_CXX14_COMPAT_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_CXX14_COMPAT_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_NOEXCEPT_TYPE_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_NOEXCEPT_TYPE_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG -- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG - Success -- Adding Benchmark: vector_operations.bench.cpp -- Adding Benchmark: util_smartptr.bench.cpp -- Adding Benchmark: unordered_set_operations.bench.cpp -- Adding Benchmark: function.bench.cpp -- Adding Benchmark: string.bench.cpp -- Adding Benchmark: filesystem.bench.cpp -- Adding Benchmark: stringstream.bench.cpp -- Adding Benchmark: ordered_set.bench.cpp -- Adding Benchmark: algorithms.partition_point.bench.cpp -- Adding Benchmark: algorithms.bench.cpp -- Linker detection: GNU ld -- Linker detection: GNU ld -- Looking for unwind.h -- Looking for unwind.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIC_FLAG -- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIE_FLAG -- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Success -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Success -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Success -- Performing Test COMPILER_RT_HAS_MCRC_FLAG -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Success -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_GR_FLAG -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GS_FLAG -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MT_FLAG -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Oy_FLAG -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Failed -- Performing Test COMPILER_RT_HAS_G_FLAG -- Performing Test COMPILER_RT_HAS_G_FLAG - Success -- Performing Test COMPILER_RT_HAS_Zi_FLAG -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WALL_FLAG -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Success -- Performing Test COMPILER_RT_HAS_WERROR_FLAG -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WGNU_FLAG -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_W4_FLAG -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WX_FLAG -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4146_FLAG -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4291_FLAG -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4221_FLAG -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4391_FLAG -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4722_FLAG -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4800_FLAG -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed -- Looking for __func__ -- Looking for __func__ - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for shm_open in rt -- Looking for shm_open in rt - found -- Looking for pow in m -- Looking for pow in m - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for backtrace in execinfo -- Looking for backtrace in execinfo - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - not found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in curses -- Looking for setupterm in curses - not found -- Looking for setupterm in ncurses -- Looking for setupterm in ncurses - not found -- Looking for setupterm in ncursesw -- Looking for setupterm in ncursesw - not found -- Looking for __cxa_throw in c++ -- Looking for __cxa_throw in c++ - not found -- Looking for __cxa_throw in stdc++ -- Looking for __cxa_throw in stdc++ - found -- Performing Test COMPILER_RT_HAS_Z_TEXT -- Performing Test COMPILER_RT_HAS_Z_TEXT - Success -- Looking for __i386__ -- Looking for __i386__ - not found -- Compiler-RT supported architectures: x86_64 -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG - Failed -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD - Success -- Builtin supported architectures: x86_64 -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS - Success -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK - Success -- Performing Test COMPILER_RT_TARGET_HAS_UNAME -- Performing Test COMPILER_RT_TARGET_HAS_UNAME - Success -- Performing Test HAS_THREAD_LOCAL -- Performing Test HAS_THREAD_LOCAL - Success -- Linker detection: GNU ld -- Linker detection: GNU ld -- Builtin supported architectures: x86_64 -- Generated Sanitizer SUPPORTED_TOOLS list on "Linux" is "asan;lsan;msan;tsan;ubsan" -- sanitizer_common tests on "Linux" will run against "asan;lsan;msan;tsan;ubsan" -- check-shadowcallstack does nothing. -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 9.0.0 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- LLD version: 9.0.0 -- Failed to find LLVM FileCheck -- Version: 0.0.0 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Configuring done -- Generating done -- Build files have been written to: /home/fips/build -------------- next part -------------- -- Check for working C compiler: /usr/local/bin/clang -- broken CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/local/bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/fips/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a5a20/fast" /usr/bin/make -f CMakeFiles/cmTC_a5a20.dir/build.make CMakeFiles/cmTC_a5a20.dir/build make[1]: Entering directory '/home/fips/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a5a20.dir/testCCompiler.c.o /usr/local/bin/clang -o CMakeFiles/cmTC_a5a20.dir/testCCompiler.c.o -c /home/fips/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_a5a20 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a5a20.dir/link.txt --verbose=1 /usr/local/bin/clang CMakeFiles/cmTC_a5a20.dir/testCCompiler.c.o -o cmTC_a5a20 ld: error: cannot open crtbegin.o: No such file or directory ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc_s ld: error: unable to find library -lgcc ld: error: unable to find library -lgcc_s ld: error: cannot open crtend.o: No such file or directory clang-9: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/cmTC_a5a20.dir/build.make:97: recipe for target 'cmTC_a5a20' failed make[1]: *** [cmTC_a5a20] Error 1 make[1]: Leaving directory '/home/fips/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a5a20/fast' failed make: *** [cmTC_a5a20/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:49 (project) -- Configuring incomplete, errors occurred! -------------- next part -------------- CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/usr/local/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/fips/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_fc562/fast" /usr/bin/make -f CMakeFiles/cmTC_fc562.dir/build.make CMakeFiles/cmTC_fc562.dir/build make[1]: Entering directory '/home/fips/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_fc562.dir/testCXXCompiler.cxx.o /usr/local/bin/clang++ -o CMakeFiles/cmTC_fc562.dir/testCXXCompiler.cxx.o -c /home/fips/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_fc562 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc562.dir/link.txt --verbose=1 /usr/local/bin/clang++ CMakeFiles/cmTC_fc562.dir/testCXXCompiler.cxx.o -o cmTC_fc562 ld: error: unable to find library -lstdc++ clang-9: error: linker command failed with exit code 1 (use -v to see invocation) CMakeFiles/cmTC_fc562.dir/build.make:97: recipe for target 'cmTC_fc562' failed make[1]: *** [cmTC_fc562] Error 1 make[1]: Leaving directory '/home/fips/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_fc562/fast' failed make: *** [cmTC_fc562/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:49 (project) -- Configuring incomplete, errors occurred! -------------- next part -------------- -- The C compiler identification is Clang 9.0.0 -- The CXX compiler identification is Clang 9.0.0 -- The ASM compiler identification is Clang -- Found assembler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- clang project is enabled -- clang-tools-extra project is disabled -- compiler-rt project is enabled -- debuginfo-tests project is disabled -- libclc project is disabled -- libcxx project is enabled -- libcxxabi project is enabled -- libunwind project is disabled -- lld project is enabled -- lldb project is disabled -- llgo project is disabled -- openmp project is disabled -- parallel-libs project is disabled -- polly project is disabled -- pstl project is disabled -- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND) -- Performing Test LLVM_LIBSTDCXX_MIN -- Performing Test LLVM_LIBSTDCXX_MIN - Success -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for zlib.h -- Looking for zlib.h - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for histedit.h -- Looking for histedit.h - not found -- Looking for CrashReporterClient.h -- Looking for CrashReporterClient.h - not found -- Looking for linux/magic.h -- Looking for linux/magic.h - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for pfm_initialize in pfm -- Looking for pfm_initialize in pfm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for compress2 in z -- Looking for compress2 in z - not found -- Looking for compress2 in zlib_static -- Looking for compress2 in zlib_static - not found -- Looking for compress2 in zlib -- Looking for compress2 in zlib - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - not found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in curses -- Looking for setupterm in curses - not found -- Looking for setupterm in ncurses -- Looking for setupterm in ncurses - not found -- Looking for setupterm in ncursesw -- Looking for setupterm in ncursesw - not found -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) -- Looking for xar_open in xar -- Looking for xar_open in xar - not found -- Looking for arc4random -- Looking for arc4random - not found -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for lseek64 -- Looking for lseek64 - found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - not found -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for ffi_call -- Looking for ffi_call - found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success -- Native target architecture is X86 -- Threads enabled. -- Doxygen disabled. -- Go bindings disabled. -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- OCaml bindings disabled. -- Could NOT find Python module pygments -- Could NOT find Python module pygments.lexers.c_cpp -- Could NOT find Python module yaml -- LLVM host triple: x86_64-unknown-linux-gnu -- LLVM default target triple: x86_64-unknown-linux-gnu -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Performing Test CXX_SUPPORTS_CXX_STD -- Performing Test CXX_SUPPORTS_CXX_STD - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Found PythonInterp: /usr/bin/python3.5 (found version "3.5.2") -- Constructing LLVMBuild project information -- Found Git: /usr/bin/git (found version "2.7.4") -- Linker detection: LLD -- Targeting X86 -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG - Success -- Performing Test LIBCXXABI_HAS_COMMENT_LIB_PRAGMA -- Performing Test LIBCXXABI_HAS_COMMENT_LIB_PRAGMA - Success -- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG -- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG - Success -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for pthread_once in pthread -- Looking for pthread_once in pthread - found -- Looking for __cxa_thread_atexit_impl in c -- Looking for __cxa_thread_atexit_impl in c - found -- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_W_FLAG -- Performing Test LIBCXXABI_SUPPORTS_W_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG -- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG -- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG -- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG -- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Linker detection: LLD -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Performing Test LIBCXX_HAS_COMMENT_LIB_PRAGMA -- Performing Test LIBCXX_HAS_COMMENT_LIB_PRAGMA - Success -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Looking for __atomic_fetch_add_8 in atomic -- Looking for __atomic_fetch_add_8 in atomic - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for ccos in m -- Looking for ccos in m - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_W_FLAG -- Performing Test LIBCXX_SUPPORTS_W_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG -- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG - Success -- Adding Benchmark: vector_operations.bench.cpp -- Adding Benchmark: util_smartptr.bench.cpp -- Adding Benchmark: unordered_set_operations.bench.cpp -- Adding Benchmark: function.bench.cpp -- Adding Benchmark: string.bench.cpp -- Adding Benchmark: filesystem.bench.cpp -- Adding Benchmark: stringstream.bench.cpp -- Adding Benchmark: ordered_set.bench.cpp -- Adding Benchmark: algorithms.partition_point.bench.cpp -- Adding Benchmark: algorithms.bench.cpp -- Linker detection: LLD -- Linker detection: LLD -- Looking for unwind.h -- Looking for unwind.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIC_FLAG -- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIE_FLAG -- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Success -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Success -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Success -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Success -- Performing Test COMPILER_RT_HAS_MCRC_FLAG -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_GR_FLAG -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GS_FLAG -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MT_FLAG -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Oy_FLAG -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Success -- Performing Test COMPILER_RT_HAS_G_FLAG -- Performing Test COMPILER_RT_HAS_G_FLAG - Success -- Performing Test COMPILER_RT_HAS_Zi_FLAG -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WALL_FLAG -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Success -- Performing Test COMPILER_RT_HAS_WERROR_FLAG -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGNU_FLAG -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_W4_FLAG -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WX_FLAG -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4146_FLAG -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4291_FLAG -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4221_FLAG -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4391_FLAG -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4722_FLAG -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4800_FLAG -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed -- Looking for __func__ -- Looking for __func__ - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for shm_open in rt -- Looking for shm_open in rt - found -- Looking for pow in m -- Looking for pow in m - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for backtrace in execinfo -- Looking for backtrace in execinfo - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - not found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in curses -- Looking for setupterm in curses - not found -- Looking for setupterm in ncurses -- Looking for setupterm in ncurses - not found -- Looking for setupterm in ncursesw -- Looking for setupterm in ncursesw - not found -- Looking for __cxa_throw in c++ -- Looking for __cxa_throw in c++ - found -- Looking for __cxa_throw in stdc++ -- Looking for __cxa_throw in stdc++ - found -- Performing Test COMPILER_RT_HAS_Z_TEXT -- Performing Test COMPILER_RT_HAS_Z_TEXT - Success -- Looking for __i386__ -- Looking for __i386__ - not found -- Compiler-RT supported architectures: x86_64 -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG - Success -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD - Success -- Builtin supported architectures: x86_64 -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS - Success -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK - Success -- Performing Test COMPILER_RT_TARGET_HAS_UNAME -- Performing Test COMPILER_RT_TARGET_HAS_UNAME - Success -- Performing Test HAS_THREAD_LOCAL -- Performing Test HAS_THREAD_LOCAL - Success -- Linker detection: LLD -- Linker detection: LLD -- Builtin supported architectures: x86_64 -- Generated Sanitizer SUPPORTED_TOOLS list on "Linux" is "asan;lsan;msan;tsan;ubsan" -- sanitizer_common tests on "Linux" will run against "asan;lsan;msan;tsan;ubsan" -- check-shadowcallstack does nothing. -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 9.0.0 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- LLD version: 9.0.0 -- Failed to find LLVM FileCheck -- Version: 0.0.0 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Configuring done -- Generating done -- Build files have been written to: /home/fips/build
David Demelier via llvm-dev
2019-Sep-17 15:23 UTC
[llvm-dev] Building LLVM with LLVM with no dependence on GCC
Le 17/09/2019 à 16:27, Fabiano Sidler via llvm-dev a écrit :> Hi folks! > > I'm trying to get rid of any dependency on libgcc*, but without success so > far. The following commands were executed on a freshliy installed and updated > Ubuntu 16.04 LTS: > === snip ==> sudo apt-get install build-essential libffi-dev cmake # see aptget.txt for packages installed > sudo mv /usr/local /usr/local.orig > git clone https://github.com/llvm/llvm-project.git > cd llvm-project; git checkout llvmorg-9.0.0-rc5; cd - > mkdir build; cd build > cmake \ > -DLLVM_ENABLE_FFI=ON \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_ENABLE_RTTI=ON \ > -DLLVM_TARGETS_TO_BUILD="host" \ > -DBUILD_SHARED_LIBS=ON \ > -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ > ../llvm-project/llvm # configure1.txt > cmake --build . > cmake -DCMAKE_INSTALL_PREFIX=/tmp/llvm/usr/local -P cmake_install.cmake > sudo mv /tmp/llvm/usr/local /usr > sudo rm /usr/bin/ld > sudo ln -s /usr/local/bin/ld.lld /usr/bin/ld > sudo apt-get remove build-essential g++ g++-5 gcc gcc-5 libgcc-5-dev libstdc++-5-dev > cd ..; rm -r build; mkdir build; cd - > cmake \ > -DLLVM_ENABLE_FFI=ON \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_ENABLE_RTTI=ON \ > -DLLVM_TARGETS_TO_BUILD="host" \ > -DBUILD_SHARED_LIBS=ON \ > -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ > ../llvm-project/llvm # fails, pleas see libgccdevmissing.txt > sudo apt-get install libgcc-5-dev > cd ..; rm -r build; mkdir build; cd - > cmake \ > -DLLVM_ENABLE_FFI=ON \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_ENABLE_RTTI=ON \ > -DLLVM_TARGETS_TO_BUILD="host" \ > -DBUILD_SHARED_LIBS=ON \ > -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ > ../llvm-project/llvm # fails, please see libstdc++devmissing.txt > sudo apt-get install libstdc++-5-dev > cd ..; rm -r build; mkdir build; cd - > cmake \ > -DLLVM_ENABLE_FFI=ON \ > -DCMAKE_BUILD_TYPE=Release \ > -DLLVM_ENABLE_RTTI=ON \ > -DLLVM_TARGETS_TO_BUILD="host" \ > -DBUILD_SHARED_LIBS=ON \ > -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld" \ > ../llvm-project/llvm # configure2.txt > cmake --build . > rm -r /tmp/llvm > cmake -DCMAKE_INSTALL_PREFIX=/tmp/llvm/usr/local -P cmake_install.cmake > cd .. > tar cJf llvm9.txz -C /tmp/llvm/usr/local . > === snap ==> > When I unpack that now on another fresh system, I'm still getting the following: > === snip ==> ld: error: cannot open crtbegin.o: No such file or directory > ld: error: unable to find library -lgcc > ld: error: unable to find library -lgcc_s > ld: error: unable to find library -lc > ld: error: unable to find library -lgcc > ld: error: unable to find library -lgcc_s > ld: error: cannot open crtend.o: No such file or directory > clang-9: error: linker command failed with exit code 1 (use -v to see invocation) > === snap ==> > Any hint on how to make this work?It's a bit time consuming because you first need to build clang and llvm, then rebuild clang with clang so that it is configured to use libc++, libc++abi, libunwind by default and then rebuild it again. Finally, you need to build llvm, libc++, libc++abi, libunwind so that they are no longer linked to libgcc. I don't have the procedure in head again but I've posted this several months ago for my pure LLVM based Linux distribution. Also you will need to add more options to the components. See for example: LIBCXX_CXX_ABI=libcxxabi LIBCXX_USE_COMPILER_RT=On LIBCXXABI_USE_LLVM_UNWINDER=On LIBCXXABI_USE_COMPILER_RT=On LIBCXX_HAS_GCC_S_LIB=Off LIBUNWIND_USE_COMPILER_RT=On And as mentioned above CLANG_DEFAULT_CXX_STDLIB=libc++ CLANG_DEFAULT_RTLIB=compiler-rt CLANG_DEFAULT_LINKER=lld HTH, -- David
Fabiano Sidler via llvm-dev
2019-Sep-20 21:49 UTC
[llvm-dev] Building LLVM with LLVM with no dependence on GCC
Thus wrote David Demelier via llvm-dev:> Also you will need to add more options to the components. See for example: > > LIBCXX_CXX_ABI=libcxxabi > LIBCXX_USE_COMPILER_RT=On > LIBCXXABI_USE_LLVM_UNWINDER=On > LIBCXXABI_USE_COMPILER_RT=On > LIBCXX_HAS_GCC_S_LIB=Off > LIBUNWIND_USE_COMPILER_RT=On > > And as mentioned above > > CLANG_DEFAULT_CXX_STDLIB=libc++ > CLANG_DEFAULT_RTLIB=compiler-rt > CLANG_DEFAULT_LINKER=lldThank you so much for your help, but when I try to build LLVM with LLVM like so: === snip ==cmake \ -DLLVM_ENABLE_FFI=ON \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_TARGETS_TO_BUILD="host" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;compiler-rt;lld;libunwind" \ -DLIBCXX_CXX_ABI=libcxxabi \ -DLIBCXX_USE_COMPILER_RT=On \ -DLIBCXXABI_USE_LLVM_UNWINDER=On \ -DLIBCXXABI_USE_COMPILER_RT=On \ -DLIBCXX_HAS_GCC_S_LIB=Off \ -DLIBUNWIND_USE_COMPILER_RT=On \ -DCLANG_DEFAULT_CXX_STDLIB=libc++ \ -DCLANG_DEFAULT_RTLIB=compiler-rt \ -DCLANG_DEFAULT_LINKER=lld \ ../llvm-project/llvm # configure3.txt === snap == I'm getting this error: === snip ==[ 40%] Building CXX object projects/libcxx/src/CMakeFiles/cxx_shared.dir/exception.cpp.o /home/fips/llvm-project/libcxx/src/exception.cpp:14:22: fatal error: cxxabi.h: No such file or directory compilation terminated. projects/libcxx/src/CMakeFiles/cxx_shared.dir/build.make:254: recipe for target 'projects/libcxx/src/CMakeFiles/cxx_shared.dir/exception.cpp.o' failed make[2]: *** [projects/libcxx/src/CMakeFiles/cxx_shared.dir/exception.cpp.o] Error 1 CMakeFiles/Makefile2:11064: recipe for target 'projects/libcxx/src/CMakeFiles/cxx_shared.dir/all' failed make[1]: *** [projects/libcxx/src/CMakeFiles/cxx_shared.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 === snap == Do you perhaps still have your exact commands used? ;) Greetings, Fabiano -------------- next part -------------- -- The C compiler identification is Clang 9.0.0 -- The CXX compiler identification is Clang 9.0.0 -- The ASM compiler identification is Clang -- Found assembler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- clang project is enabled -- clang-tools-extra project is disabled -- compiler-rt project is enabled -- debuginfo-tests project is disabled -- libclc project is disabled -- libcxx project is enabled -- libcxxabi project is enabled -- libunwind project is enabled -- lld project is enabled -- lldb project is disabled -- llgo project is disabled -- openmp project is disabled -- parallel-libs project is disabled -- polly project is disabled -- pstl project is disabled -- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND) -- Performing Test LLVM_LIBSTDCXX_MIN -- Performing Test LLVM_LIBSTDCXX_MIN - Success -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for zlib.h -- Looking for zlib.h - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for histedit.h -- Looking for histedit.h - not found -- Looking for CrashReporterClient.h -- Looking for CrashReporterClient.h - not found -- Looking for linux/magic.h -- Looking for linux/magic.h - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for pfm_initialize in pfm -- Looking for pfm_initialize in pfm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for compress2 in z -- Looking for compress2 in z - not found -- Looking for compress2 in zlib_static -- Looking for compress2 in zlib_static - not found -- Looking for compress2 in zlib -- Looking for compress2 in zlib - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - not found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in curses -- Looking for setupterm in curses - not found -- Looking for setupterm in ncurses -- Looking for setupterm in ncurses - not found -- Looking for setupterm in ncursesw -- Looking for setupterm in ncursesw - not found -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) -- Looking for xar_open in xar -- Looking for xar_open in xar - not found -- Looking for arc4random -- Looking for arc4random - not found -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for lseek64 -- Looking for lseek64 - found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - not found -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - found -- Looking for CPU_COUNT -- Looking for CPU_COUNT - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for ffi_call -- Looking for ffi_call - found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success -- Native target architecture is X86 -- Threads enabled. -- Doxygen disabled. -- Go bindings disabled. -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- OCaml bindings disabled. -- Could NOT find Python module pygments -- Could NOT find Python module pygments.lexers.c_cpp -- Could NOT find Python module yaml -- LLVM host triple: x86_64-unknown-linux-gnu -- LLVM default target triple: x86_64-unknown-linux-gnu -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Performing Test CXX_SUPPORTS_CXX_STD -- Performing Test CXX_SUPPORTS_CXX_STD - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Found PythonInterp: /usr/bin/python3.5 (found version "3.5.2") -- Constructing LLVMBuild project information -- Found Git: /usr/bin/git (found version "2.7.4") -- Linker detection: LLD -- Targeting X86 -- Looking for fopen in c -- Looking for fopen in c - found -- Performing Test LIBUNWIND_HAS_NODEFAULTLIBS_FLAG -- Performing Test LIBUNWIND_HAS_NODEFAULTLIBS_FLAG - Success -- Found compiler-rt library: /usr/local/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a -- Performing Test LIBUNWIND_HAS_COMMENT_LIB_PRAGMA -- Performing Test LIBUNWIND_HAS_COMMENT_LIB_PRAGMA - Success -- Performing Test LIBUNWIND_HAS_FUNWIND_TABLES -- Performing Test LIBUNWIND_HAS_FUNWIND_TABLES - Success -- Performing Test LIBUNWIND_HAS_NO_EXCEPTIONS_FLAG -- Performing Test LIBUNWIND_HAS_NO_EXCEPTIONS_FLAG - Success -- Performing Test LIBUNWIND_HAS_NO_RTTI_FLAG -- Performing Test LIBUNWIND_HAS_NO_RTTI_FLAG - Success -- Performing Test LIBUNWIND_HAS_FSTRICT_ALIASING_FLAG -- Performing Test LIBUNWIND_HAS_FSTRICT_ALIASING_FLAG - Success -- Performing Test LIBUNWIND_HAS_NOSTDINCXX_FLAG -- Performing Test LIBUNWIND_HAS_NOSTDINCXX_FLAG - Success -- Performing Test LIBUNWIND_HAS_WALL_FLAG -- Performing Test LIBUNWIND_HAS_WALL_FLAG - Success -- Performing Test LIBUNWIND_HAS_W_FLAG -- Performing Test LIBUNWIND_HAS_W_FLAG - Success -- Performing Test LIBUNWIND_HAS_WNO_UNUSED_FUNCTION_FLAG -- Performing Test LIBUNWIND_HAS_WNO_UNUSED_FUNCTION_FLAG - Success -- Performing Test LIBUNWIND_HAS_WUNUSED_VARIABLE_FLAG -- Performing Test LIBUNWIND_HAS_WUNUSED_VARIABLE_FLAG - Success -- Performing Test LIBUNWIND_HAS_WUNUSED_PARAMETER_FLAG -- Performing Test LIBUNWIND_HAS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test LIBUNWIND_HAS_WSTRICT_ALIASING_FLAG -- Performing Test LIBUNWIND_HAS_WSTRICT_ALIASING_FLAG - Success -- Performing Test LIBUNWIND_HAS_WSTRICT_OVERFLOW_FLAG -- Performing Test LIBUNWIND_HAS_WSTRICT_OVERFLOW_FLAG - Success -- Performing Test LIBUNWIND_HAS_WWRITE_STRINGS_FLAG -- Performing Test LIBUNWIND_HAS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBUNWIND_HAS_WCHAR_SUBSCRIPTS_FLAG -- Performing Test LIBUNWIND_HAS_WCHAR_SUBSCRIPTS_FLAG - Success -- Performing Test LIBUNWIND_HAS_WMISMATCHED_TAGS_FLAG -- Performing Test LIBUNWIND_HAS_WMISMATCHED_TAGS_FLAG - Success -- Performing Test LIBUNWIND_HAS_WMISSING_BRACES_FLAG -- Performing Test LIBUNWIND_HAS_WMISSING_BRACES_FLAG - Success -- Performing Test LIBUNWIND_HAS_WSHORTEN_64_TO_32_FLAG -- Performing Test LIBUNWIND_HAS_WSHORTEN_64_TO_32_FLAG - Success -- Performing Test LIBUNWIND_HAS_WSIGN_CONVERSION_FLAG -- Performing Test LIBUNWIND_HAS_WSIGN_CONVERSION_FLAG - Success -- Performing Test LIBUNWIND_HAS_WSIGN_COMPARE_FLAG -- Performing Test LIBUNWIND_HAS_WSIGN_COMPARE_FLAG - Success -- Performing Test LIBUNWIND_HAS_WSHADOW_FLAG -- Performing Test LIBUNWIND_HAS_WSHADOW_FLAG - Success -- Performing Test LIBUNWIND_HAS_WCONVERSION_FLAG -- Performing Test LIBUNWIND_HAS_WCONVERSION_FLAG - Success -- Performing Test LIBUNWIND_HAS_WNEWLINE_EOF_FLAG -- Performing Test LIBUNWIND_HAS_WNEWLINE_EOF_FLAG - Success -- Performing Test LIBUNWIND_HAS_WUNDEF_FLAG -- Performing Test LIBUNWIND_HAS_WUNDEF_FLAG - Success -- Performing Test LIBUNWIND_HAS_PEDANTIC_FLAG -- Performing Test LIBUNWIND_HAS_PEDANTIC_FLAG - Success -- Performing Test LIBUNWIND_HAS_WERROR_FLAG -- Performing Test LIBUNWIND_HAS_WERROR_FLAG - Success -- Performing Test LIBUNWIND_HAS_WNO_ERROR_FLAG -- Performing Test LIBUNWIND_HAS_WNO_ERROR_FLAG - Success -- Performing Test LIBUNWIND_HAS_WX_FLAG -- Performing Test LIBUNWIND_HAS_WX_FLAG - Failed -- Performing Test LIBUNWIND_HAS_NO_WX_FLAG -- Performing Test LIBUNWIND_HAS_NO_WX_FLAG - Failed -- Performing Test LIBUNWIND_HAS_EHSC_FLAG -- Performing Test LIBUNWIND_HAS_EHSC_FLAG - Failed -- Performing Test LIBUNWIND_HAS_NO_EHS_FLAG -- Performing Test LIBUNWIND_HAS_NO_EHS_FLAG - Failed -- Performing Test LIBUNWIND_HAS_NO_EHA_FLAG -- Performing Test LIBUNWIND_HAS_NO_EHA_FLAG - Failed -- Performing Test LIBUNWIND_HAS_NO_GR_FLAG -- Performing Test LIBUNWIND_HAS_NO_GR_FLAG - Failed -- Performing Test LIBUNWIND_HAS_STD_CXX11 -- Performing Test LIBUNWIND_HAS_STD_CXX11 - Success -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for pthread_once in pthread -- Looking for pthread_once in pthread - found -- Failed to locate sphinx-build executable (missing: SPHINX_EXECUTABLE) -- Linker detection: LLD -- Looking for fopen in c -- Looking for fopen in c - found -- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXXABI_HAS_NODEFAULTLIBS_FLAG - Success -- Found compiler-rt library: /usr/local/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a -- Performing Test LIBCXXABI_HAS_COMMENT_LIB_PRAGMA -- Performing Test LIBCXXABI_HAS_COMMENT_LIB_PRAGMA - Success -- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG -- Performing Test LIBCXXABI_HAS_NOSTDINCXX_FLAG - Success -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for pthread_once in pthread -- Looking for pthread_once in pthread - found -- Looking for __cxa_thread_atexit_impl in c -- Looking for __cxa_thread_atexit_impl in c - found -- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_W_FLAG -- Performing Test LIBCXXABI_SUPPORTS_W_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WCONVERSION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WMISMATCHED_TAGS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WMISSING_BRACES_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WNEWLINE_EOF_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_FUNCTION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSHADOW_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSHORTEN_64_TO_32_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_COMPARE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSIGN_CONVERSION_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNUSED_VARIABLE_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WUNDEF_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG -- Performing Test LIBCXXABI_SUPPORTS_WX_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG -- Performing Test LIBCXXABI_SUPPORTS_PEDANTIC_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG -- Performing Test LIBCXXABI_SUPPORTS_FSTRICT_ALIASING_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG -- Performing Test LIBCXXABI_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG -- Performing Test LIBCXXABI_SUPPORTS_FUNWIND_TABLES_FLAG - Success -- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXXABI_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Linker detection: LLD -- Looking for fopen in c -- Looking for fopen in c - found -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Found compiler-rt library: /usr/local/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a -- Performing Test LIBCXX_HAS_COMMENT_LIB_PRAGMA -- Performing Test LIBCXX_HAS_COMMENT_LIB_PRAGMA - Success -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB - Failed -- Looking for __atomic_fetch_add_8 in atomic -- Looking for __atomic_fetch_add_8 in atomic - found -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB -- Performing Test LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB - Failed CMake Warning at /home/fips/llvm-project/libcxx/cmake/Modules/CheckLibcxxAtomic.cmake:51 (message): Host compiler must support std::atomic! Call Stack (most recent call first): /home/fips/llvm-project/libcxx/cmake/config-ix.cmake:76 (include) /home/fips/llvm-project/libcxx/CMakeLists.txt:485 (include) -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for ccos in m -- Looking for ccos in m - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found CMake Warning at /home/fips/llvm-project/libcxx/cmake/Modules/HandleLibCXXABI.cmake:72 (message): Failed to find cxxabi.h Call Stack (most recent call first): /home/fips/llvm-project/libcxx/cmake/Modules/HandleLibCXXABI.cmake:115 (setup_abi_lib) /home/fips/llvm-project/libcxx/CMakeLists.txt:504 (include) CMake Warning at /home/fips/llvm-project/libcxx/cmake/Modules/HandleLibCXXABI.cmake:72 (message): Failed to find __cxxabi_config.h Call Stack (most recent call first): /home/fips/llvm-project/libcxx/cmake/Modules/HandleLibCXXABI.cmake:115 (setup_abi_lib) /home/fips/llvm-project/libcxx/CMakeLists.txt:504 (include) -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_COLON_CXX11_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG -- Performing Test LIBCXX_SUPPORTS_NOSTDINCXX_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test LIBCXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG -- Performing Test LIBCXX_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_W_FLAG -- Performing Test LIBCXX_SUPPORTS_W_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBCXX_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_UNUSED_PARAMETER_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_LONG_LONG_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBCXX_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG -- Performing Test LIBCXX_SUPPORTS_WEXTRA_SEMI_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_USER_DEFINED_LITERALS_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_IGNORED_ATTRIBUTES_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBCXX_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG -- Performing Test LIBCXX_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG -- Performing Test LIBCXX_SUPPORTS_ZL_FLAG - Failed -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG -- Performing Test LIBCXX_SUPPORTS_NODEFAULTLIB_FLAG - Failed -- Found compiler-rt library: /usr/local/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a -- Found compiler-rt library: /usr/local/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG - Success -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG -- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX17_FLAG - Success -- Adding Benchmark: stringstream.bench.cpp -- Adding Benchmark: function.bench.cpp -- Adding Benchmark: ordered_set.bench.cpp -- Adding Benchmark: algorithms.partition_point.bench.cpp -- Adding Benchmark: filesystem.bench.cpp -- Adding Benchmark: vector_operations.bench.cpp -- Adding Benchmark: string.bench.cpp -- Adding Benchmark: util_smartptr.bench.cpp -- Adding Benchmark: unordered_set_operations.bench.cpp -- Adding Benchmark: algorithms.bench.cpp -- Linker detection: LLD -- Linker detection: LLD -- Looking for unwind.h -- Looking for unwind.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG -- Performing Test COMPILER_RT_HAS_NODEFAULTLIBS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIC_FLAG -- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIE_FLAG -- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Success -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Success -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Success -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Success -- Performing Test COMPILER_RT_HAS_MCRC_FLAG -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_GR_FLAG -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GS_FLAG -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MT_FLAG -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Oy_FLAG -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Success -- Performing Test COMPILER_RT_HAS_G_FLAG -- Performing Test COMPILER_RT_HAS_G_FLAG - Success -- Performing Test COMPILER_RT_HAS_Zi_FLAG -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WALL_FLAG -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Success -- Performing Test COMPILER_RT_HAS_WERROR_FLAG -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGNU_FLAG -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_W4_FLAG -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WX_FLAG -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4146_FLAG -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4291_FLAG -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4221_FLAG -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4391_FLAG -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4722_FLAG -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4800_FLAG -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed -- Looking for __func__ -- Looking for __func__ - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for shm_open in rt -- Looking for shm_open in rt - found -- Looking for pow in m -- Looking for pow in m - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for backtrace in execinfo -- Looking for backtrace in execinfo - not found -- Looking for setupterm in terminfo -- Looking for setupterm in terminfo - not found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - not found -- Looking for setupterm in curses -- Looking for setupterm in curses - not found -- Looking for setupterm in ncurses -- Looking for setupterm in ncurses - not found -- Looking for setupterm in ncursesw -- Looking for setupterm in ncursesw - not found -- Looking for __cxa_throw in c++ -- Looking for __cxa_throw in c++ - found -- Looking for __cxa_throw in stdc++ -- Looking for __cxa_throw in stdc++ - found -- Performing Test COMPILER_RT_HAS_Z_TEXT -- Performing Test COMPILER_RT_HAS_Z_TEXT - Success -- Looking for __i386__ -- Looking for __i386__ - not found -- Compiler-RT supported architectures: x86_64 -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG - Success -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD - Success -- Builtin supported architectures: x86_64 -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS - Success -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK - Success -- Performing Test COMPILER_RT_TARGET_HAS_UNAME -- Performing Test COMPILER_RT_TARGET_HAS_UNAME - Success -- Performing Test HAS_THREAD_LOCAL -- Performing Test HAS_THREAD_LOCAL - Success -- Linker detection: LLD -- Linker detection: LLD -- Builtin supported architectures: x86_64 -- Generated Sanitizer SUPPORTED_TOOLS list on "Linux" is "asan;lsan;msan;tsan;ubsan" -- sanitizer_common tests on "Linux" will run against "asan;lsan;msan;tsan;ubsan" -- check-shadowcallstack does nothing. -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 9.0.0 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- LLD version: 9.0.0 -- Failed to find LLVM FileCheck -- Version: 0.0.0 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: LIBCXX_HAS_GCC_S_LIB -- Build files have been written to: /home/fips/build
Maybe Matching Threads
- Building LLVM with LLVM with no dependence on GCC
- Unable to build 'lld' on Mac OS 10.9
- [LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
- [LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
- [LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching