-
Notifications
You must be signed in to change notification settings - Fork 2
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
Raspberry Pi 2 build (allegedly) successful, but fails to run #8
Comments
do you get the same result with |
I can't tell for sure without a GDB stack trace, but it looks likely that the bad instruction is actually in the Python library, not gopy or in Go code. Maybe Python was built wrong? |
@zoli Very good point! I didn't at first, but as you can see in my script (which is totally not copied and pasted from here), I did eventually remember that and got the same result. |
@ricochet1k The gdb stacktrace was almost useless and recieved a different signal, SIGSEGV:
Here is what I get when I run it normally:
|
Weird. I have a Raspberry Pi 2, so I might try to make it run on there sometime. It sounds to me like gdb is not working correctly, or maybe the linker. I think /lib/ld-linux-armhf.so.3 is part of the linker library. Golang might be producing some weird binaries. |
@ricochet1k |
@nonnymoose GDB is from my experience crap with go. Try lldb instead and get the backtrace as well as the disassembly around $PC at the SIGILL. |
@jimson-jimson had the same issue as I did: SIGILL, illegal instruction, but he didn't elaborate. I got 0 (zero) errors, from downloading it to testing it to building it, and still it did not run. Does this mean that it is an issue with the code? Attached is the shell script I used to build it (found here) and the log I created, which contains a backtrace of the failed run.
limecmd.txt
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35052234-raspberry-pi-2-build-allegedly-successful-but-fails-to-run?utm_campaign=plugin&utm_content=tracker%2F9076898&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9076898&utm_medium=issues&utm_source=github).instlime.sh.txt
The text was updated successfully, but these errors were encountered: