Hi Daniel, 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? - Lang. > On Apr 6, 2016, at 11:37 PM, Daniel Dunbar <[email protected]> wrote: > > +Lang > > `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 <[email protected] >> <mailto:[email protected]>> 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 >> [email protected] <mailto:[email protected]> >> https://lists.swift.org/mailman/listinfo/swift-users >
_______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
