ERROR: test_breakpoint_callback_dwarf

Hi,
system:CentOS7.2

run test error (./swift/utils/build-script --preset=buildbot_linux install_destdir=/tmp/install installable_package=/tmp/swift.tar.gz)

···

===================================================

--- Finished tests for swift ---

+ mkdir -p /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/test-results

+ pushd /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/test-results

/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/test-results /usr/local/src

+ env SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc SWIFTLIBS=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/lib/swift /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang --results-formatter lldbsuite.test_event.formatter.xunit.XunitFormatter --results-file /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/test-results/results.xml -O--xpass=success -O--xfail=success -O-ndsym -O-rdebugserver '-O-rlibc\\+\\+' -O-rlong.running -O-rbenchmarks '-O-rrequires.one?.of.darwin'

Testing: 658 test suites, 2 threads

27 out of 658 test suites processed - TestExprsChar.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestMultithreaded.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 12 tests

======================================================================

ERROR: test_breakpoint_callback_dwarf (TestMultithreaded.SBBreakpointCallbackCase)

    Test the that SBBreakpoint callback is invoked when a breakpoint is hit.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_breakpoint_callback' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp test_breakpoint_callback.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

test_breakpoint_callback.cpp:32: error: undefined reference to 'lldb::SBDebugger::SetAsync(bool)'

test_breakpoint_callback.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

test_breakpoint_callback.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

test_breakpoint_callback.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

test_breakpoint_callback.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

test_breakpoint_callback.cpp:38: error: undefined reference to 'lldb::SBBreakpoint::SetCallback(bool (*)(void*, lldb::SBProcess&, lldb::SBThread&, lldb::SBBreakpointLocation&), void*)'

test_breakpoint_callback.cpp:41: error: undefined reference to 'lldb::SBTarget::LaunchSimple(char const**, char const**, char const*)'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_breakpoint_callback] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_breakpoint_callback_dwo (TestMultithreaded.SBBreakpointCallbackCase)

    Test the that SBBreakpoint callback is invoked when a breakpoint is hit.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_breakpoint_callback' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp test_breakpoint_callback.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

test_breakpoint_callback.cpp:32: error: undefined reference to 'lldb::SBDebugger::SetAsync(bool)'

test_breakpoint_callback.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

test_breakpoint_callback.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

test_breakpoint_callback.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

test_breakpoint_callback.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

test_breakpoint_callback.cpp:38: error: undefined reference to 'lldb::SBBreakpoint::SetCallback(bool (*)(void*, lldb::SBProcess&, lldb::SBThread&, lldb::SBBreakpointLocation&), void*)'

test_breakpoint_callback.cpp:41: error: undefined reference to 'lldb::SBTarget::LaunchSimple(char const**, char const**, char const*)'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_breakpoint_callback] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_breakpoint_callback_gmodules (TestMultithreaded.SBBreakpointCallbackCase)

    Test the that SBBreakpoint callback is invoked when a breakpoint is hit.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_breakpoint_callback' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp test_breakpoint_callback.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

test_breakpoint_callback.cpp:32: error: undefined reference to 'lldb::SBDebugger::SetAsync(bool)'

test_breakpoint_callback.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

test_breakpoint_callback.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

test_breakpoint_callback.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

test_breakpoint_callback.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

test_breakpoint_callback.cpp:38: error: undefined reference to 'lldb::SBBreakpoint::SetCallback(bool (*)(void*, lldb::SBProcess&, lldb::SBThread&, lldb::SBBreakpointLocation&), void*)'

test_breakpoint_callback.cpp:41: error: undefined reference to 'lldb::SBTarget::LaunchSimple(char const**, char const**, char const*)'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_breakpoint_callback] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_description_dwarf (TestMultithreaded.SBBreakpointCallbackCase)

    Test the description of an SBListener breakpoint event is valid.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_description' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_description.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_description.cpp:27: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_description.cpp:28: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_description.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_description.cpp:34: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_description.cpp:35: error: undefined reference to 'lldb::SBEvent::GetDescription(lldb::SBStream&)'

test_listener_event_description.cpp:36: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_description] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_description_dwo (TestMultithreaded.SBBreakpointCallbackCase)

    Test the description of an SBListener breakpoint event is valid.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_description' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_description.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_description.cpp:27: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_description.cpp:28: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_description.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_description.cpp:34: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_description.cpp:35: error: undefined reference to 'lldb::SBEvent::GetDescription(lldb::SBStream&)'

test_listener_event_description.cpp:36: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_description] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_description_gmodules (TestMultithreaded.SBBreakpointCallbackCase)

    Test the description of an SBListener breakpoint event is valid.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_description' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_description.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_description.cpp:27: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_description.cpp:28: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_description.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_description.cpp:34: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_description.cpp:35: error: undefined reference to 'lldb::SBEvent::GetDescription(lldb::SBStream&)'

test_listener_event_description.cpp:36: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_description] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_process_state_dwarf (TestMultithreaded.SBBreakpointCallbackCase)

    Test that a registered SBListener receives events when a process

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_process_state.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_process_state.cpp:28: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_process_state.cpp:29: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_process_state.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_process_state.cpp:35: error: undefined reference to 'lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'

test_listener_event_process_state.cpp:36: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_process_state.cpp:38: error: undefined reference to 'lldb::SBProcess::GetNumThreads()'

test_listener_event_process_state.cpp:40: error: undefined reference to 'lldb::SBStream::Clear()'

test_listener_event_process_state.cpp:41: error: undefined reference to 'lldb::SBProcess::GetThreadAtIndex(unsigned long)'

test_listener_event_process_state.cpp:42: error: undefined reference to 'lldb::SBThread::GetDescription(lldb::SBStream&) const'

test_listener_event_process_state.cpp:43: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_process_state.cpp:46: error: undefined reference to 'lldb::SBThread::GetNumFrames()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBThread::GetFrameAtIndex(unsigned int)'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::GetSymbol() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::GetName() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_process_state] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_process_state_dwo (TestMultithreaded.SBBreakpointCallbackCase)

    Test that a registered SBListener receives events when a process

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_process_state.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_process_state.cpp:28: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_process_state.cpp:29: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_process_state.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_process_state.cpp:35: error: undefined reference to 'lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'

test_listener_event_process_state.cpp:36: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_process_state.cpp:38: error: undefined reference to 'lldb::SBProcess::GetNumThreads()'

test_listener_event_process_state.cpp:40: error: undefined reference to 'lldb::SBStream::Clear()'

test_listener_event_process_state.cpp:41: error: undefined reference to 'lldb::SBProcess::GetThreadAtIndex(unsigned long)'

test_listener_event_process_state.cpp:42: error: undefined reference to 'lldb::SBThread::GetDescription(lldb::SBStream&) const'

test_listener_event_process_state.cpp:43: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_process_state.cpp:46: error: undefined reference to 'lldb::SBThread::GetNumFrames()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBThread::GetFrameAtIndex(unsigned int)'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::GetSymbol() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::GetName() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_process_state] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_process_state_gmodules (TestMultithreaded.SBBreakpointCallbackCase)

    Test that a registered SBListener receives events when a process

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_process_state.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_process_state.cpp:28: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_process_state.cpp:29: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_process_state.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_process_state.cpp:35: error: undefined reference to 'lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'

test_listener_event_process_state.cpp:36: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_process_state.cpp:38: error: undefined reference to 'lldb::SBProcess::GetNumThreads()'

test_listener_event_process_state.cpp:40: error: undefined reference to 'lldb::SBStream::Clear()'

test_listener_event_process_state.cpp:41: error: undefined reference to 'lldb::SBProcess::GetThreadAtIndex(unsigned long)'

test_listener_event_process_state.cpp:42: error: undefined reference to 'lldb::SBThread::GetDescription(lldb::SBStream&) const'

test_listener_event_process_state.cpp:43: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_process_state.cpp:46: error: undefined reference to 'lldb::SBThread::GetNumFrames()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBThread::GetFrameAtIndex(unsigned int)'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::GetSymbol() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::GetName() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_process_state] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

----------------------------------------------------------------------

Ran 12 tests in 42.607s

RESULT: FAILED (0 passes, 0 failures, 9 errors, 0 skipped, 3 expected failures, 0 unexpected successes)

Session logs for test failures/errors/unexpected successes can be found in directory '2016-08-28-05_59_45'

[TestMultithreaded.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestMultithreaded.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

29 out of 658 test suites processed - TestFixIts.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestFormatters.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 3 tests

python: /usr/local/src/llvm/tools/clang/lib/AST/Decl.cpp:2562: bool clang::FunctionDecl::isReservedGlobalPlacementOperator() const: Assertion `getDeclName().getNameKind() == DeclarationName::CXXOperatorName' failed.

[TestFormatters.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestFormatters.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

185 out of 658 test suites processed - TestPlatformCommand.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestPluginCommands.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 1 test

======================================================================

ERROR: test_load_plugin (TestPluginCommands.PluginCommandTestCase)

   Test that plugins that load commands work correctly.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc DYLIB_CXX_SOURCES='plugin.cpp' LD_EXTRAS='-shared -L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' DYLIB_NAME='plugin' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include -fPIC'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [libplugin.so] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands

----------------------------------------------------------------------

Ran 1 test in 0.612s

RESULT: FAILED (0 passes, 0 failures, 1 errors, 0 skipped, 0 expected failures, 0 unexpected successes)

Session logs for test failures/errors/unexpected successes can be found in directory '2016-08-28-05_59_45'

[TestPluginCommands.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestPluginCommands.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

599 out of 658 test suites processed - TestREPLDynamicType.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestREPLThrowReturn.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=1:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 1 test

[TestREPLThrowReturn.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 42983 --inferior -p TestREPLThrowReturn.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=1:int

658 out of 658 test suites processed - TestRecursiveTypes.py

4 test files marked for rerun

Rerunning the following files:

  api/multithreaded/TestMultithreaded.py

  repl/error_return/TestREPLThrowReturn.py

  functionalities/plugins/commands/TestPluginCommands.py

  expression_command/formatters/TestFormatters.py

rerun will use the 'threading' test runner strategy

Testing: 4 test suites, 1 thread

0 out of 4 test suites processed -

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestMultithreaded.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 12 tests

======================================================================

ERROR: test_breakpoint_callback_dwarf (TestMultithreaded.SBBreakpointCallbackCase)

    Test the that SBBreakpoint callback is invoked when a breakpoint is hit.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_breakpoint_callback' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp test_breakpoint_callback.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

test_breakpoint_callback.cpp:32: error: undefined reference to 'lldb::SBDebugger::SetAsync(bool)'

test_breakpoint_callback.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

test_breakpoint_callback.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

test_breakpoint_callback.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

test_breakpoint_callback.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

test_breakpoint_callback.cpp:38: error: undefined reference to 'lldb::SBBreakpoint::SetCallback(bool (*)(void*, lldb::SBProcess&, lldb::SBThread&, lldb::SBBreakpointLocation&), void*)'

test_breakpoint_callback.cpp:41: error: undefined reference to 'lldb::SBTarget::LaunchSimple(char const**, char const**, char const*)'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_breakpoint_callback] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_breakpoint_callback_dwo (TestMultithreaded.SBBreakpointCallbackCase)

    Test the that SBBreakpoint callback is invoked when a breakpoint is hit.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_breakpoint_callback' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp test_breakpoint_callback.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

test_breakpoint_callback.cpp:32: error: undefined reference to 'lldb::SBDebugger::SetAsync(bool)'

test_breakpoint_callback.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

test_breakpoint_callback.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

test_breakpoint_callback.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

test_breakpoint_callback.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

test_breakpoint_callback.cpp:38: error: undefined reference to 'lldb::SBBreakpoint::SetCallback(bool (*)(void*, lldb::SBProcess&, lldb::SBThread&, lldb::SBBreakpointLocation&), void*)'

test_breakpoint_callback.cpp:41: error: undefined reference to 'lldb::SBTarget::LaunchSimple(char const**, char const**, char const*)'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_breakpoint_callback] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_breakpoint_callback_gmodules (TestMultithreaded.SBBreakpointCallbackCase)

    Test the that SBBreakpoint callback is invoked when a breakpoint is hit.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_breakpoint_callback' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp test_breakpoint_callback.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

test_breakpoint_callback.cpp:32: error: undefined reference to 'lldb::SBDebugger::SetAsync(bool)'

test_breakpoint_callback.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

test_breakpoint_callback.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

test_breakpoint_callback.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

test_breakpoint_callback.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

test_breakpoint_callback.cpp:38: error: undefined reference to 'lldb::SBBreakpoint::SetCallback(bool (*)(void*, lldb::SBProcess&, lldb::SBThread&, lldb::SBBreakpointLocation&), void*)'

test_breakpoint_callback.cpp:41: error: undefined reference to 'lldb::SBTarget::LaunchSimple(char const**, char const**, char const*)'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

test_breakpoint_callback.cpp:49: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_breakpoint_callback] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_description_dwarf (TestMultithreaded.SBBreakpointCallbackCase)

    Test the description of an SBListener breakpoint event is valid.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_description' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_description.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_description.cpp:27: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_description.cpp:28: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_description.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_description.cpp:34: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_description.cpp:35: error: undefined reference to 'lldb::SBEvent::GetDescription(lldb::SBStream&)'

test_listener_event_description.cpp:36: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_description] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_description_dwo (TestMultithreaded.SBBreakpointCallbackCase)

    Test the description of an SBListener breakpoint event is valid.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_description' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_description.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_description.cpp:27: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_description.cpp:28: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_description.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_description.cpp:34: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_description.cpp:35: error: undefined reference to 'lldb::SBEvent::GetDescription(lldb::SBStream&)'

test_listener_event_description.cpp:36: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_description] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_description_gmodules (TestMultithreaded.SBBreakpointCallbackCase)

    Test the description of an SBListener breakpoint event is valid.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_description' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_description.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_description.cpp:27: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_description.cpp:28: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_description.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_description.cpp:34: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_description.cpp:35: error: undefined reference to 'lldb::SBEvent::GetDescription(lldb::SBStream&)'

test_listener_event_description.cpp:36: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:38: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_description.cpp:39: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_description] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_process_state_dwarf (TestMultithreaded.SBBreakpointCallbackCase)

    Test that a registered SBListener receives events when a process

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_process_state.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_process_state.cpp:28: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_process_state.cpp:29: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_process_state.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_process_state.cpp:35: error: undefined reference to 'lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'

test_listener_event_process_state.cpp:36: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_process_state.cpp:38: error: undefined reference to 'lldb::SBProcess::GetNumThreads()'

test_listener_event_process_state.cpp:40: error: undefined reference to 'lldb::SBStream::Clear()'

test_listener_event_process_state.cpp:41: error: undefined reference to 'lldb::SBProcess::GetThreadAtIndex(unsigned long)'

test_listener_event_process_state.cpp:42: error: undefined reference to 'lldb::SBThread::GetDescription(lldb::SBStream&) const'

test_listener_event_process_state.cpp:43: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_process_state.cpp:46: error: undefined reference to 'lldb::SBThread::GetNumFrames()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBThread::GetFrameAtIndex(unsigned int)'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::GetSymbol() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::GetName() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_process_state] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_process_state_dwo (TestMultithreaded.SBBreakpointCallbackCase)

    Test that a registered SBListener receives events when a process

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_process_state.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_process_state.cpp:28: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_process_state.cpp:29: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_process_state.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_process_state.cpp:35: error: undefined reference to 'lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'

test_listener_event_process_state.cpp:36: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_process_state.cpp:38: error: undefined reference to 'lldb::SBProcess::GetNumThreads()'

test_listener_event_process_state.cpp:40: error: undefined reference to 'lldb::SBStream::Clear()'

test_listener_event_process_state.cpp:41: error: undefined reference to 'lldb::SBProcess::GetThreadAtIndex(unsigned long)'

test_listener_event_process_state.cpp:42: error: undefined reference to 'lldb::SBThread::GetDescription(lldb::SBStream&) const'

test_listener_event_process_state.cpp:43: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_process_state.cpp:46: error: undefined reference to 'lldb::SBThread::GetNumFrames()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBThread::GetFrameAtIndex(unsigned int)'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::GetSymbol() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::GetName() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_process_state] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

======================================================================

ERROR: test_sb_api_listener_event_process_state_gmodules (TestMultithreaded.SBBreakpointCallbackCase)

    Test that a registered SBListener receives events when a process

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc LD_EXTRAS='-L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include' CXX_SOURCES='driver.cpp listener_test.cpp test_listener_event_process_state.cpp'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

driver.cpp:22: error: undefined reference to 'lldb::SBDebugger::Initialize()'

driver.cpp:23: error: undefined reference to 'lldb::SBDebugger::Create()'

driver.cpp:26: error: undefined reference to 'lldb::SBDebugger::IsValid() const'

driver.cpp:36: error: undefined reference to 'lldb::SBDebugger::Destroy(lldb::SBDebugger&)'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

driver.cpp:38: error: undefined reference to 'lldb::SBDebugger::~SBDebugger()'

listener_test.cpp:33: error: undefined reference to 'lldb::SBDebugger::CreateTarget(char const*)'

listener_test.cpp:34: error: undefined reference to 'lldb::SBTarget::IsValid() const'

listener_test.cpp:36: error: undefined reference to 'lldb::SBTarget::BreakpointCreateByName(char const*, char const*)'

listener_test.cpp:37: error: undefined reference to 'lldb::SBBreakpoint::IsValid() const'

listener_test.cpp:41: error: undefined reference to 'lldb::SBError::SBError()'

listener_test.cpp:42: error: undefined reference to 'lldb::SBTarget::Launch(lldb::SBListener&, char const**, char const**, char const*, char const*, char const*, char const*, unsigned int, bool, lldb::SBError&)'

listener_test.cpp:48: error: undefined reference to 'lldb::SBError::Success() const'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBError::~SBError()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBBreakpoint::~SBBreakpoint()'

listener_test.cpp:69: error: undefined reference to 'lldb::SBTarget::~SBTarget()'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::SBListener(char const*)'

listener_test.cpp:21: error: undefined reference to 'lldb::SBListener::~SBListener()'

test_listener_event_process_state.cpp:28: error: undefined reference to 'lldb::SBEvent::SBEvent()'

test_listener_event_process_state.cpp:29: error: undefined reference to 'lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&)'

test_listener_event_process_state.cpp:31: error: undefined reference to 'lldb::SBEvent::IsValid() const'

test_listener_event_process_state.cpp:35: error: undefined reference to 'lldb::SBProcess::GetProcessFromEvent(lldb::SBEvent const&)'

test_listener_event_process_state.cpp:36: error: undefined reference to 'lldb::SBStream::SBStream()'

test_listener_event_process_state.cpp:38: error: undefined reference to 'lldb::SBProcess::GetNumThreads()'

test_listener_event_process_state.cpp:40: error: undefined reference to 'lldb::SBStream::Clear()'

test_listener_event_process_state.cpp:41: error: undefined reference to 'lldb::SBProcess::GetThreadAtIndex(unsigned long)'

test_listener_event_process_state.cpp:42: error: undefined reference to 'lldb::SBThread::GetDescription(lldb::SBStream&) const'

test_listener_event_process_state.cpp:43: error: undefined reference to 'lldb::SBStream::GetData()'

test_listener_event_process_state.cpp:46: error: undefined reference to 'lldb::SBThread::GetNumFrames()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBThread::GetFrameAtIndex(unsigned int)'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::GetSymbol() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::GetName() const'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBSymbol::~SBSymbol()'

test_listener_event_process_state.cpp:48: error: undefined reference to 'lldb::SBFrame::~SBFrame()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:52: error: undefined reference to 'lldb::SBThread::~SBThread()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBStream::~SBStream()'

test_listener_event_process_state.cpp:53: error: undefined reference to 'lldb::SBProcess::~SBProcess()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

test_listener_event_process_state.cpp:54: error: undefined reference to 'lldb::SBEvent::~SBEvent()'

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [test_listener_event_process_state] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/api/multithreaded

----------------------------------------------------------------------

Ran 12 tests in 41.191s

RESULT: FAILED (0 passes, 0 failures, 9 errors, 0 skipped, 3 expected failures, 0 unexpected successes)

Session logs for test failures/errors/unexpected successes can be found in directory '2016-08-28-05_59_45'

[TestMultithreaded.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestMultithreaded.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

1 out of 4 test suites processed - TestMultithreaded.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestPluginCommands.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 1 test

======================================================================

ERROR: test_load_plugin (TestPluginCommands.PluginCommandTestCase)

   Test that plugins that load commands work correctly.

----------------------------------------------------------------------

Error when building test subject.

Build Command:

make ARCH=x86_64 CC=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang SWIFTCC=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc DYLIB_CXX_SOURCES='plugin.cpp' LD_EXTRAS='-shared -L/usr/local/src/build/buildbot_linux/lldb-linux-x86_64/lib64/python2.7/site-packages/../.. -llldb' DYLIB_NAME='plugin' CFLAGS_EXTRAS='-std=c++11 -I/usr/local/src/lldb/include -fPIC'

Build Command Output:

/usr/bin/ld: error: cannot find -llldb

clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [libplugin.so] 错误 1

Test Directory:

/usr/local/src/lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands

----------------------------------------------------------------------

Ran 1 test in 0.430s

RESULT: FAILED (0 passes, 0 failures, 1 errors, 0 skipped, 0 expected failures, 0 unexpected successes)

Session logs for test failures/errors/unexpected successes can be found in directory '2016-08-28-05_59_45'

[TestPluginCommands.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestPluginCommands.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

2 out of 4 test suites processed - TestPluginCommands.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestREPLThrowReturn.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 1 test

[TestREPLThrowReturn.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestREPLThrowReturn.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

3 out of 4 test suites processed - TestREPLThrowReturn.py

Session logs for test failures/errors/unexpected successes will go into directory '2016-08-28-05_59_45'

Command invoked: /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestFormatters.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

Configuration: arch=x86_64 compiler=/usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang

----------------------------------------------------------------------

Collected 3 tests

python: /usr/local/src/llvm/tools/clang/lib/AST/Decl.cpp:2562: bool clang::FunctionDecl::isReservedGlobalPlacementOperator() const: Assertion `getDeclName().getNameKind() == DeclarationName::CXXOperatorName' failed.

[TestFormatters.py FAILED]

Command invoked: /usr/bin/python /usr/local/src/lldb/test/dotest.py --executable /usr/local/src/build/buildbot_linux/lldb-linux-x86_64/bin/lldb --rerun-all-issues -C /usr/local/src/build/buildbot_linux/llvm-linux-x86_64/bin/clang -s 2016-08-28-05_59_45 --results-port 45531 --inferior -p TestFormatters.py /usr/local/src/lldb/packages/Python/lldbsuite/test --event-add-entries worker_index=0:int

4 out of 4 test suites processed - TestFormatters.py

Test rerun complete

=============

Issue Details

=============

ERROR: test_breakpoint_callback_dwarf (api/multithreaded/TestMultithreaded.py)

ERROR: test_breakpoint_callback_dwo (api/multithreaded/TestMultithreaded.py)

ERROR: test_breakpoint_callback_gmodules (api/multithreaded/TestMultithreaded.py)

ERROR: test_load_plugin (functionalities/plugins/commands/TestPluginCommands.py)

ERROR: test_sb_api_listener_event_description_dwarf (api/multithreaded/TestMultithreaded.py)

ERROR: test_sb_api_listener_event_description_dwo (api/multithreaded/TestMultithreaded.py)

ERROR: test_sb_api_listener_event_description_gmodules (api/multithreaded/TestMultithreaded.py)

ERROR: test_sb_api_listener_event_process_state_dwarf (api/multithreaded/TestMultithreaded.py)

ERROR: test_sb_api_listener_event_process_state_dwo (api/multithreaded/TestMultithreaded.py)

ERROR: test_sb_api_listener_event_process_state_gmodules (api/multithreaded/TestMultithreaded.py)

ERROR: [EXCEPTIONAL EXIT 6 (SIGABRT)] test_dwarf (expression_command/formatters/TestFormatters.py)

ERROR: [EXCEPTIONAL EXIT 11 (SIGSEGV)] test_with_dwarf (repl/error_return/TestREPLThrowReturn.py)

UNEXPECTED SUCCESS: testREPL (repl/structs/TestREPLStructs.py)

UNEXPECTED SUCCESS: testREPL (repl/pounwrapping/TestPOUnwrapping.py)

UNEXPECTED SUCCESS: testREPL (repl/dictionary/TestREPLDictionary.py)

UNEXPECTED SUCCESS: testREPL (repl/int_vars/TestREPLIntVars.py)

UNEXPECTED SUCCESS: test_Hc_then_Csignal_signals_correct_thread_launch_llgs (tools/lldb-server/TestLldbGdbServer.py)

UNEXPECTED SUCCESS: test_and_python_api_dwarf (lang/c/bitfields/TestBitfields.py)

UNEXPECTED SUCCESS: test_and_python_api_dwo (lang/c/bitfields/TestBitfields.py)

UNEXPECTED SUCCESS: test_and_python_api_gmodules (lang/c/bitfields/TestBitfields.py)

UNEXPECTED SUCCESS: test_and_run_command_dwarf (lang/c/const_variables/TestConstVariables.py)

UNEXPECTED SUCCESS: test_and_run_command_dwo (lang/c/const_variables/TestConstVariables.py)

UNEXPECTED SUCCESS: test_and_run_command_gmodules (lang/c/const_variables/TestConstVariables.py)

UNEXPECTED SUCCESS: test_any_type_dwarf (lang/swift/any/TestSwiftAnyType.py)

UNEXPECTED SUCCESS: test_any_type_dwo (lang/swift/any/TestSwiftAnyType.py)

UNEXPECTED SUCCESS: test_any_type_gmodules (lang/swift/any/TestSwiftAnyType.py)

UNEXPECTED SUCCESS: test_command_script_immediate_output_dwarf (functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py)

UNEXPECTED SUCCESS: test_command_script_immediate_output_dwo (functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py)

UNEXPECTED SUCCESS: test_command_script_immediate_output_gmodules (functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py)

UNEXPECTED SUCCESS: test_dwarf (functionalities/tsan/thread_leak/TestTsanThreadLeak.py)

UNEXPECTED SUCCESS: test_dwarf (functionalities/asan/TestReportData.py)

UNEXPECTED SUCCESS: test_dwarf (functionalities/asan/TestMemoryHistory.py)

UNEXPECTED SUCCESS: test_dwarf (lang/swift/file_private/TestFilePrivate.py)

UNEXPECTED SUCCESS: test_dwo (functionalities/tsan/thread_leak/TestTsanThreadLeak.py)

UNEXPECTED SUCCESS: test_dwo (functionalities/asan/TestMemoryHistory.py)

UNEXPECTED SUCCESS: test_dwo (functionalities/asan/TestReportData.py)

UNEXPECTED SUCCESS: test_dwo (lang/swift/file_private/TestFilePrivate.py)

UNEXPECTED SUCCESS: test_fd_leak_basic_dwarf (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_basic_dwo (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_basic_gmodules (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_log_dwarf (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_log_dwo (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_log_gmodules (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_multitarget_dwarf (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_multitarget_dwo (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_fd_leak_multitarget_gmodules (functionalities/avoids-fd-leak/TestFdLeak.py)

UNEXPECTED SUCCESS: test_get_value_as_unsigned_sbapi_dwarf (lang/swift/get_value/TestSwiftGetValueAsUnsigned.py)

UNEXPECTED SUCCESS: test_get_value_as_unsigned_sbapi_dwo (lang/swift/get_value/TestSwiftGetValueAsUnsigned.py)

UNEXPECTED SUCCESS: test_get_value_as_unsigned_sbapi_gmodules (lang/swift/get_value/TestSwiftGetValueAsUnsigned.py)

UNEXPECTED SUCCESS: test_gmodules (functionalities/tsan/thread_leak/TestTsanThreadLeak.py)

UNEXPECTED SUCCESS: test_gmodules (functionalities/asan/TestReportData.py)

UNEXPECTED SUCCESS: test_gmodules (functionalities/asan/TestMemoryHistory.py)

UNEXPECTED SUCCESS: test_gmodules (lang/swift/file_private/TestFilePrivate.py)

UNEXPECTED SUCCESS: test_lldbmi_break_insert_function (tools/lldb-mi/breakpoint/TestMiBreak.py)

UNEXPECTED SUCCESS: test_lldbmi_break_insert_function_pending (tools/lldb-mi/breakpoint/TestMiBreak.py)

UNEXPECTED SUCCESS: test_lldbmi_gdb_set_target_async_off (tools/lldb-mi/TestMiGdbSetShow.py)

UNEXPECTED SUCCESS: test_lldbmi_process_output (tools/lldb-mi/syntax/TestMiSyntax.py)

UNEXPECTED SUCCESS: test_lldbmi_settings_set_target_run_args_after (tools/lldb-mi/interpreter/TestMiInterpreterExec.py)

UNEXPECTED SUCCESS: test_process_interrupt_dwarf (functionalities/thread/state/TestThreadStates.py)

UNEXPECTED SUCCESS: test_process_interrupt_dwo (functionalities/thread/state/TestThreadStates.py)

UNEXPECTED SUCCESS: test_process_interrupt_gmodules (functionalities/thread/state/TestThreadStates.py)

UNEXPECTED SUCCESS: test_restart_bug_dwarf (functionalities/signal/raise/TestRaise.py)

UNEXPECTED SUCCESS: test_restart_bug_dwo (functionalities/signal/raise/TestRaise.py)

UNEXPECTED SUCCESS: test_restart_bug_gmodules (functionalities/signal/raise/TestRaise.py)

UNEXPECTED SUCCESS: test_scope_lookup_before_using_with_run_command_dwarf (lang/cpp/namespace/TestNamespaceLookup.py)

UNEXPECTED SUCCESS: test_scope_lookup_before_using_with_run_command_dwo (lang/cpp/namespace/TestNamespaceLookup.py)

UNEXPECTED SUCCESS: test_scope_lookup_before_using_with_run_command_gmodules (lang/cpp/namespace/TestNamespaceLookup.py)

UNEXPECTED SUCCESS: test_specialized_typedef_from_pch_gmodules (lang/cpp/gmodules/TestWithModuleDebugging.py)

UNEXPECTED SUCCESS: test_step_back_out_dwarf (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_back_out_dwo (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_back_out_gmodules (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_out_dwarf (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_out_dwo (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_out_gmodules (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_over_dwarf (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_over_dwo (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_step_over_gmodules (functionalities/longjmp/TestLongjmp.py)

UNEXPECTED SUCCESS: test_watched_var_should_only_hit_when_in_scope_dwarf (functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py)

UNEXPECTED SUCCESS: test_watched_var_should_only_hit_when_in_scope_dwo (functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py)

UNEXPECTED SUCCESS: test_watched_var_should_only_hit_when_in_scope_gmodules (functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py)

===================

Test Result Summary

===================

Test Methods: 2788

Reruns: 15

Success: 1749

Expected Failure: 150

Failure: 0

Error: 10

Exceptional Exit: 2

Unexpected Success: 68

Skip: 809

Timeout: 0

Expected Timeout: 0

./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

===================================================

How can I solve?