<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 --- - Debian Makefile lldb build is broken"
   href="https://llvm.org/bugs/show_bug.cgi?id=24974">24974</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Debian Makefile lldb build is broken
          </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>todd.fiala@gmail.com
          </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>I've been looking into several issues with Sylvestre.

So far I see these:

1. the build is not producing a versioned lldb driver or liblldb.so, but the
non-versioned lldb driver is attempting to load the (not-present)
liblldb-3.8.so.

I manually created the link, which allows the lldb driver to load without
crashing.

Then I hit:

2. the python lldb module does not have the _lldb.so link in it.  This causes
all the tests that use the lldb module to fail.

I manually created the link, which allows the Python lldb module to load.  Then
I hit:

3. A segfault the first time a test runs:

# python /root/llvm-toolchain-snapshot-3.8~svn248678/tools/lldb/test/dotest.py
--executable
/root/llvm-toolchain-snapshot-3.8~svn248678/build-llvm/Release/bin/lldb -s
lldb-test-traces -u CXXFLAGS -u CFLAGS -C gcc-4.9 --no-multiprocess -v

['/root/llvm-toolchain-snapshot-3.8~svn248678/tools/lldb/test/dotest.py',
'--executable',
'/root/llvm-toolchain-snapshot-3.8~svn248678/build-llvm/Release/bin/lldb',
'-s', 'lldb-test-traces', '-u', 'CXXFLAGS', '-u', 'CFLAGS', '-C', 'gcc-4.9',
'--no-multiprocess', '-v']
LLDB library dir:
/root/llvm-toolchain-snapshot-3.8~svn248678/build-llvm/Release/bin
LLDB import library dir:
/root/llvm-toolchain-snapshot-3.8~svn248678/build-llvm/Release/bin
lldb version 3.8.0 ( revision )
lldb.pre_flight: None
lldb.post_flight: None

Session logs for test failures/errors/unexpected successes will go into
directory 'lldb-test-traces'
Command invoked:
/root/llvm-toolchain-snapshot-3.8~svn248678/tools/lldb/test/dotest.py
--executable
/root/llvm-toolchain-snapshot-3.8~svn248678/build-llvm/Release/bin/lldb -s
lldb-test-traces -u CXXFLAGS -u CFLAGS -C gcc-4.9 --no-multiprocess -v
compilers=['gcc-4.9']

Configuration: arch=x86_64 compiler=gcc-4.9
----------------------------------------------------------------------
Collected 1386 tests

   1: test_display_source_python (TestSourceManager.SourceManagerTestCase)
      Test display of source using the SBSourceManager API. ... Segmentation
fault

That brings me to now.  I'll have a look at the seg fault.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>