[llvm-bugs] [Bug 44762] New: Cannot build with LIBCXX_USE_COMPILER_RT=ON and LLVM_USE_SANITIZER=MemoryWithOrigins

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 3 08:53:29 PST 2020


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: unassignedclangbugs at nondot.org
          Reporter: kyle.edwards at kitware.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200203/456bad2c/attachment.html>


More information about the llvm-bugs mailing list