[llvm-bugs] [Bug 24974] New: Debian Makefile lldb build is broken

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 28 10:35:32 PDT 2015


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

            Bug ID: 24974
           Summary: Debian Makefile lldb build is broken
           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: todd.fiala at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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.

-- 
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/20150928/85b6764d/attachment.html>


More information about the llvm-bugs mailing list