https://bugs.llvm.org/show_bug.cgi?id=44762

            Bug ID: 44762
           Summary: Cannot build with LIBCXX_USE_COMPILER_RT=ON and
                    LLVM_USE_SANITIZER=MemoryWithOrigins
           Product: libc++
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: kyle.edwa...@kitware.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com

When trying to build libc++ with compiler-rt and memory sanitizer, I get the
following error:

CMake Error at /root/llvm/source/libcxx/CMakeLists.txt:537 (message):
  C++11 or greater is required but the compiler does not support c++11

Digging deeper, it seems that this is caused by a try_compiler() failure due to
undefined references to dlsym(), some pthread-related functions, and others.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to