Re: [swift-dev] [swift-lldb-dev] repl/test-repl-glibc.py Failure on Ubuntu

2016-04-15 Thread Ryan Lovelett via swift-dev
Facepalm. On Fri, Apr 15, 2016, at 11:11 PM, Ryan Lovelett wrote: > Progress. Hat tip to William Dillon (@hpux735 on Twitter) for pointing > something out; `strace` > > Ran `strace` on the REPL while trying to import Glibc. Noticed that it > was looking for a file: /usr/lib/lldb/clang/linux/x86_6

Re: [swift-dev] [swift-lldb-dev] repl/test-repl-glibc.py Failure on Ubuntu

2016-04-15 Thread Ryan Lovelett via swift-dev
Progress. Hat tip to William Dillon (@hpux735 on Twitter) for pointing something out; `strace` Ran `strace` on the REPL while trying to import Glibc. Noticed that it was looking for a file: /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap which does not exist. However, /usr/lib/lldb/clang/linux/x8

Re: [swift-dev] R_ARM_GOT_PREL error when building Swift on Pi from source

2016-04-15 Thread Joe Groff via swift-dev
> On Apr 15, 2016, at 1:24 PM, Timothy Wood via swift-dev > wrote: > > > I was able to get Swift running on my Raspberry Pi using a variant of the > instructions at > > but sadly the packages I’ve found haven’t been

[swift-dev] R_ARM_GOT_PREL error when building Swift on Pi from source

2016-04-15 Thread Timothy Wood via swift-dev
I was able to get Swift running on my Raspberry Pi using a variant of the instructions at but sadly the packages I’ve found haven’t been updated for Swift 2.2 (so things like `associatedtype` don’t work nicely between M

Re: [swift-dev] [swift-lldb-dev] repl/test-repl-glibc.py Failure on Ubuntu

2016-04-15 Thread Jim Ingham via swift-dev
The REPL makes a swift compiler, in which it runs your code (obvious...) So when you do "import " in the REPL, we need to load that module into our swift compiler. In the lldb REPL that is managed in SwiftExpressionParser::PerformAutoImport. This will call lldb's SwiftASTContext::FindAndLoadM

Re: [swift-dev] repl/test-repl-glibc.py Failure on Ubuntu

2016-04-15 Thread Joseph Bell via swift-dev
+Mishal, while Ryan et al are looking at the broken REPL, would it make sense to update the CI servers with the Python pexpect module so that the test-repl-glibc.py will fail the build? On Fri, Apr 15, 2016 at 10:19 AM, Ryan Lovelett wrote: > I've tried reverting c6121d56b19305cf59148d46af54c06b

Re: [swift-dev] repl/test-repl-glibc.py Failure on Ubuntu

2016-04-15 Thread Ryan Lovelett via swift-dev
I've tried reverting c6121d56b19305cf59148d46af54c06b771f3180 just to see if doing that will restore functionality to lldb/repl. Unfortunately too many things have changed in the build system since that commit for a revert to make sense anymore. Can anyone provide documentation/explain the mechan