# Issues running lldb-Suite test cases while building Apple Swift 5 toolchain on PowerPC64LE

**URL:** <https://forums.swift.org/t/issues-running-lldb-suite-test-cases-while-building-apple-swift-5-toolchain-on-powerpc64le/21179>\
**Category:** LLDB\
**Tags:** swift5, swift\
**Created:** [March 4, 2019, 4:56am UTC](https://forums.swift.org/t/issues-running-lldb-suite-test-cases-while-building-apple-swift-5-toolchain-on-powerpc64le/21179 "2019-03-04T04:56:48Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![stamba](https://avatars.discourse-cdn.com/v4/letter/s/d26b3c/32.png) [@stamba](https://forums.swift.org/u/stamba)\
**Post date:** [March 11, 2019, 10:29am UTC](https://forums.swift.org/t/issues-running-lldb-suite-test-cases-while-building-apple-swift-5-toolchain-on-powerpc64le/21179/15 "2019-03-11T10:29:24Z")

</div>

Hi @dcci ,

Thanks a lot for all your help and patience with all my queries. 🙂

Used the 'llvm-readelf' utility to find details about the libraries linked with lldb binary and realised that the directories mentioned in RUNPATH might not have the required libraries.

Similar to reasons mentioned in my earlier issue "[TestFoundation test suite failing while building Swift Toolchain - #6 by stamba](https://forums.swift.org/t/testfoundation-test-suite-failing-while-building-swift-toolchain/20279/6)", I manually copied the libraries and it worked. The lldb test suite was executed, though it fails now for only 7 test cases:-  
Failing Tests (7):  
LLDB :: SwiftREPL/ErrorReturn.test  
LLDB :: tools/lldb-mi/symbol/symbol-list-lines.test  
lldb-Suite :: lang/swift/dwarfimporter/C/TestSwiftDWARFImporterC.py  
lldb-Suite :: lang/swift/reference\_storage\_types/TestSwiftReferenceStorageTypes.py  
lldb-Suite :: lang/swift/repl\_in\_c/TestSwiftReplInC.py  
lldb-Suite :: lang/swift/unknown\_self/TestSwiftUnknownSelf.py  
lldb-Suite :: lang/swift/variables/swift/TestSwiftTypes.py

---

_[View the full topic](https://forums.swift.org/t/issues-running-lldb-suite-test-cases-while-building-apple-swift-5-toolchain-on-powerpc64le/21179)._
