[lldb-dev] [Bug 30887] New: lldb fails to build because of library interdependencies

via lldb-dev lldb-dev at lists.llvm.org
Wed Nov 2 09:02:40 PDT 2016


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

            Bug ID: 30887
           Summary: lldb fails to build because of library
                    interdependencies
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: bero at linaro.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17538
  --> https://llvm.org/bugs/attachment.cgi?id=17538&action=edit
Partial fix as described in description

lldb fails to build with "undefined reference to ......" errors because its
various libraries use each other's symbols without linking to each other.

I have a patch that starts fixing it by using target_link_libraries where the
dependencies are clear -- but it ends up still not building because of circular
dependencies (lldbCore uses symbols from lldbSymbols and friends while
lldbSymbols etc. rely on lldbCore at the same time).

(This is a 4.0 snapshot from yesterday, building with a current clang 4.0
snapshot on Linux -- 4.0/master doesn't show up in the list of possible
versions)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20161102/a8f83f89/attachment.html>


More information about the lldb-dev mailing list