buildSwiftOnARM icon indicating copy to clipboard operation
buildSwiftOnARM copied to clipboard

[5.4] Not implemented relocation type on swift run

Open uraimo opened this issue 4 years ago • 2 comments

Spotted with a test armv6 build, need to verify if it's there for the classic armv7 build too.

pi@raspberrypi:~ $ ./usr/bin/swift run test.swift
warning: 'swift run file.swift' command to interpret swift files is deprecated; use 'swift file.swift' instead
Not implemented relocation type!
UNREACHABLE executed at /home/buildSwiftOnARM/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:512!
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.	Program arguments: /home/pi/usr/bin/swift-frontend -frontend -interpret test.swift -disable-objc-interop -color-diagnostics -module-name test
1.	Swift version 5.4-dev (LLVM 8ee67e3af469eb3, Swift fb774de49c67eed)
2.	While running user code "test.swift"
Aborted

uraimo avatar May 31 '21 20:05 uraimo

Did you solve this issue yet? I've noticed you updated the readme, but the links to the archives still point to nirvana. :-)

mickeyl avatar Jun 30 '21 16:06 mickeyl

Not yet, but it could just be the result of an armv6 patch not being applied ,see #69 for the links (need time).

uraimo avatar Jul 23 '21 08:07 uraimo