<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lldb fails to build because of library interdependencies"
   href="https://llvm.org/bugs/show_bug.cgi?id=30887">30887</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb fails to build because of library interdependencies
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bero@linaro.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17538" name="attach_17538" title="Partial fix as described in description">attachment 17538</a> <a href="attachment.cgi?id=17538&action=edit" title="Partial fix as described in description">[details]</a></span>
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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>