hpux735 opened this issue
Dec 26, 2015
· 4 comments
Labels
armArchitecture: any ARMarmhfArchitecture: the Debian port for ARM processors (armv7+) that have hardware floating point supportbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.
wdillon@tegra-ubuntu:~/swift$ swift -v
Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 9bd3eb7bc2)
Target: armv7-unknown-linux-gnueabihf
/home/wdillon/build/Ninja-ReleaseAssert/swift-linux-armv7/bin/swift -frontend -repl -target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics -module-name REPL
LLVM ERROR: Compiler-internal integrated REPL unimplemented for this platform; use the LLDB-enhanced REPL instead.
wdillon@tegra-ubuntu:~/swift$ swift -v -lldb-repl
Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 9bd3eb7bc2)
Target: armv7-unknown-linux-gnueabihf
lldb "--repl=-target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics"
wdillon@tegra-ubuntu:~/swift$ lldb "--repl=-target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics"
-bash: lldb: command not found
wdillon@tegra-ubuntu:~/swift$ ../build/Ninja-ReleaseAssert/lldb-linux-armv7/bin/lldb "--repl=-target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics"
error: failed to launch REPL process: process launch failed: Lost debug server connection
wdillon@tegra-ubuntu:~/swift$
The text was updated successfully, but these errors were encountered:
I've implemented and tested a better fix that relies upon a diff at llvm, and a seperate diff at lldb. The problem is effectively resolved, it just needs to be merged in.
I'm taking myself off of this bug for now. The problem is fairly easy to resolve in lldb, but the REPL is extremely unstable on ARM at the moment, even with that fix.
I've converted this from SR-40 subtask to a separate issue. Swift on ARM (for BeagleBone and Raspberry Pi 2 and 3 at least) has been working for some time. The REPL does not; I figured it deserved attention in its own right.
armArchitecture: any ARMarmhfArchitecture: the Debian port for ARM processors (armv7+) that have hardware floating point supportbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.
2 participants
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
Additional Detail from JIRA
md5: 8ce4b131d10efde6968bd4f0294d6a7d
Issue Description:
wdillon@tegra-ubuntu:~/swift$ swift -v
Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 9bd3eb7bc2)
Target: armv7-unknown-linux-gnueabihf
/home/wdillon/build/Ninja-ReleaseAssert/swift-linux-armv7/bin/swift -frontend -repl -target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics -module-name REPL
LLVM ERROR: Compiler-internal integrated REPL unimplemented for this platform; use the LLDB-enhanced REPL instead.
wdillon@tegra-ubuntu:~/swift$ swift -v -lldb-repl
Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 9bd3eb7bc2)
Target: armv7-unknown-linux-gnueabihf
lldb "--repl=-target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics"
wdillon@tegra-ubuntu:~/swift$ lldb "--repl=-target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics"
-bash: lldb: command not found
wdillon@tegra-ubuntu:~/swift$ ../build/Ninja-ReleaseAssert/lldb-linux-armv7/bin/lldb "--repl=-target armv7-unknown-linux-gnueabihf -disable-objc-interop -color-diagnostics"
error: failed to launch REPL process: process launch failed: Lost debug server connection
wdillon@tegra-ubuntu:~/swift$
The text was updated successfully, but these errors were encountered: