[swift-users] build swift-package-manager-0.1 Linux Swift 2.2

Daniel Dunbar daniel_dunbar at apple.com
Thu Apr 7 01:37:16 CDT 2016


`swift build` currently uses the Swift interpreter to get the Package metadata from the Package.swift. That in turn uses the LLVM JIT. It may be that some of what Swift is using is not implemented in the JIT for this platform.

This is worth filing a bug on http://bugs.swift.org, if you haven't already.

 - Daniel

> On Apr 5, 2016, at 7:29 PM, CK TUNG via swift-users <swift-users at swift.org> wrote:
> Hi
> I try to build swift-package-manager-0.1 from source in raspberry pi, build success but with error on run as below
> $ swift build
> Not implemented relocation type!
> UNREACHABLE executed at /mnt/usbms/package-swift/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:453!
> Stack dump:
> 0.	Program arguments: /usr/bin/swift -frontend -interpret /home/pi/Package.swift -target armv7-unknown-linux-gnueabihf -disable-objc-interop -I /usr/lib/swift/pm -module-name Package -lPackageDescription 
> swift-build: ExitSignal
> Thanks 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160406/ec1cee47/attachment.html>

More information about the swift-users mailing list