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

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@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@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

Todd Fiala changed bug 24974

What Removed Added
Status NEW ASSIGNED
Assignee lldb-dev@lists.llvm.org todd.fiala@gmail.com

Comment # 1 on bug 24974 from Todd Fiala

I'll take this to figure out what the segfault issue is.  I may need a Makefile
maintainer to look at the steps that failed to occur (issues #1 and #2
previously mentioned).