[llvm-bugs] [Bug 52184] New: libc++.so fails to link with LIBCXX_ENABLE_STATIC_ABI_LIBRARY enabled due to unresolved reference to dladdr

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 14 19:16:56 PDT 2021


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

            Bug ID: 52184
           Summary: libc++.so fails to link with
                    LIBCXX_ENABLE_STATIC_ABI_LIBRARY enabled due to
                    unresolved reference to dladdr
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

My build setup on Linux x86_64 is:

LLVM_ENABLE_PROJECTS=clang
LLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;compiler-rt;libunwind
LIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON

... and all the options to statically link the unwinder and ABI library
enabled.

This fails for me due to an unresolved reference to dladdr from libunwind.

I appreciate that LIBCXX_ENABLE_STATIC_ABI_LIBRARY is experimental, so this may
be expected for now.

-- 
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/20211015/847d6192/attachment-0001.html>


More information about the llvm-bugs mailing list