[swift-dev] Making SwiftShims.swiftmodule

Darren Mo darren.mo at me.com
Fri Jan 15 22:24:55 CST 2016


Found the bug: https://bugs.swift.org/browse/SR-23?focusedCommentId=11736&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-11736 <https://bugs.swift.org/browse/SR-23?focusedCommentId=11736&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-11736>
> On Jan 15, 2016, at 12:16 PM, William Dillon <william at housedillon.com> wrote:
> 
> You’re probably hitting the same issue as these similar bugs:
> 
>  SR-23Build fails on Ubuntu 14.04.1 -> error: opening ... 'SwiftShims': No such file <https://bugs.swift.org/browse/SR-23>
>  SR-333Compiling hello world fails on ARM Linux <https://bugs.swift.org/browse/SR-333>
> 
> I haven’t really looked into it very much, but it seems like relatively minor changes in system details can cause the appearance of this.
> 
> - Will
> 
>> On Jan 13, 2016, at 6:42 PM, Darren Mo via swift-dev <swift-dev at swift.org <mailto:swift-dev at swift.org>> wrote:
>> 
>> I am trying to use the prebuilt Ubuntu 14.04 binaries on Ubuntu 12.04. I have run into two problems so far.
>> 
>> 1. Swift needs libicu52. Only libicu48 is available for 12.04. Easy enough… just compile libicu52 and stick the libraries in /usr/local/lib. OK.
>> 2. When I try to compile or use the REPL, I get “<unknown>:0: error: opening import file for module 'SwiftShims': No such file or directory”.
>> 
>> For #2, I gave up trying to find the bug in the source code; right now I am in hack mode. I want to build SwiftShims.swiftmodule myself and stick it in usr/lib/swift/linux/x86_64, which is one of the places the Swift compiler tries to check. Any ideas how to make SwiftShims.swiftmodule?
>> 
>> Darren
>> _______________________________________________
>> swift-dev mailing list
>> swift-dev at swift.org <mailto:swift-dev at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-dev
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160115/770b8224/attachment.html>


More information about the swift-dev mailing list