[swift-dev] Making SwiftShims.swiftmodule
william at housedillon.com
Fri Jan 15 23:10:26 CST 2016
Excellent detective work!
I’m happy I’ll have something constructive to tell people that ask for help when this comes up!
> On Jan 15, 2016, at 8:24 PM, Darren Mo <darren.mo at me.com> wrote:
> 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 <mailto: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?
>>> swift-dev mailing list
>>> swift-dev at swift.org <mailto:swift-dev at swift.org>
>>> https://lists.swift.org/mailman/listinfo/swift-dev <https://lists.swift.org/mailman/listinfo/swift-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-dev