Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arm32] Could not construct an expression context for the REPL #23

Open
abesmon opened this issue Aug 28, 2018 · 6 comments
Open

[arm32] Could not construct an expression context for the REPL #23

abesmon opened this issue Aug 28, 2018 · 6 comments

Comments

@abesmon
Copy link

abesmon commented Aug 28, 2018

I'm having some issues using precompiled binaries for Raspbian stretch

Running it on:
Linux orangepizero 4.14.65-sunxi #68 SMP Tue Aug 21 19:57:06 CEST 2018 armv7l GNU/Linux

swift invocation returns:
error: failed to stop process at REPL breakpoint

swift -v invocation returns:

Swift version 4.1.1 (swift-4.1.1-RELEASE)
Target: armv7-unknown-linux-gnueabihf
/usr/bin/lldb "--repl=-disable-objc-interop -color-diagnostics"
error: failed to launch REPL process: process launch failed: 'A' packet returned an error: -1

sudo swift -v returns:

Swift version 4.1.1 (swift-4.1.1-RELEASE)
Target: armv7-unknown-linux-gnueabihf
/usr/bin/lldb "--repl=-disable-objc-interop -color-diagnostics"
error: failed to stop process at REPL breakpoint

However, I managed to compile some swift projects without crashes, but this REPL message worry me. Is it ok to work with it?

@uraimo
Copy link
Owner

uraimo commented Aug 30, 2018

Yes, the REPL has never worked on ARM (even in 2.x), but that doesn't impact the behaviour of the compiler.

@uraimo uraimo closed this as completed Aug 30, 2018
@abesmon
Copy link
Author

abesmon commented Aug 30, 2018

Thanks! Will remember that. isn’t it good to notice that thing in Readme? I think it’s not obvious :/

@uraimo
Copy link
Owner

uraimo commented Aug 30, 2018

Yup! It makes a lot of sense, doing it now.

@uraimo uraimo reopened this Aug 30, 2018
@uraimo
Copy link
Owner

uraimo commented Aug 30, 2018

Let's leave this long standing issue open too.

@uraimo uraimo changed the title failed to launch REPL [arm32][2.x+] Failed to launch REPL process Aug 30, 2018
@uraimo uraimo changed the title [arm32][2.x+] Failed to launch REPL process [arm32] Failed to launch REPL process Aug 30, 2018
@uraimo
Copy link
Owner

uraimo commented Nov 18, 2019

Just for my reference, the issue is still there even on the test version of 5.1.2 that includes clang and libicu.

@uraimo uraimo changed the title [arm32] Failed to launch REPL process [arm32] Could not construct an expression context for the REPL Nov 18, 2019
@cebtenzzre
Copy link

I commented on SR-5632. See if this command logs anything unexpected:
lldb --repl=-disable-objc-interop --one-line-before-file 'log enable lldb host'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants