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@lists.llvm.org
          Reporter: b...@linaro.org
                CC: llvm-b...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to