[swift-users] build swift-package-manager-0.1 Linux Swift 2.2
lhames at apple.com
Thu Apr 7 14:59:33 CDT 2016
Yep - that’s exactly it. It sounds like the JIT linker is missing an ELF/ARM relocation, but it’s not possible to tell which one from this error message.
CK - If you file a bug, can you include a reduced test case?
> On Apr 6, 2016, at 11:37 PM, Daniel Dunbar <daniel_dunbar at apple.com> wrote:
> `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 <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 <mailto:swift-users at swift.org>> wrote:
>> 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
>> swift-users mailing list
>> swift-users at swift.org <mailto:swift-users at swift.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users