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

Ryan Lovelett swift-dev at ryan.lovelett.me
Fri Apr 15 22:13:49 CDT 2016


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_64/glibc.modulemap
> which does not exist. However,
> /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap does exist.

/usr/lib/swift/linux/x86_64/glibc.modulemap

> 
> Provided a symbolic link from
> /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap to
> /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap. Voila! It is importing
> now.

Provided a symbolic link from
/usr/lib/swift/linux/x86_64/glibc.modulemap to
/usr/lib/lldb/clang/linux/x86_64/glibc.modulemap. Voila! It is importing
now.

> 
> I'll start working on a patch in the morning (of course if someone beats
> me to it I won't be mad; please). Just thought I'd update those
> interested with a work around in the meantime.

It is late. I'm clearly done for the day.


More information about the swift-lldb-dev mailing list