-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cargo segmentation fault on NextThing Chip for armv7 toolchain #3305
Comments
Thanks for the report! Do you know if your chip has NEON support? That's been disabled recently in armv7 linux but I'm not sure if it's reached stable yet. Also, if you use gdb you can likely pinpoint where the binary is dying perhaps? |
The Allwinner A8 supposedly supports NEON. My Chip is running Debian 8 w/ kernel 4.4.11. https://bbs.nextthing.co/t/chip-os-4-4-released-vga-hdmi-and-more/4319 Can you give me a little guidance on how to print what you need with gdb? Thanks! |
Oh sure yeah, if you do:
that'll give you a prompt, then type |
This the output:
|
Interesting! Can you gist the full backtrace, and also the output of |
|
Weird. Looks like you're using glibc 2.19 (from Other than that I'm kinda at a loss for what's happening here. @japaric do you have thoughts on perhaps how to debug this? |
Some ideas:
|
Seemingly related issue: rust-lang/rustup#838 - Rustup-init 0.6.5 for ARMv7 causes segmentation fault Over there, they claim that |
|
You can grab the source from here and build it using |
I had no problem running rust and cargo natively on the CHIP by simply installing |
I'm pretty sure the old stable package was broken, and whatever was wrong was fixed in the nightlies. I don't have my CHIP handy to verify though. |
It sounds like this has been fixed, so I'm closing. Please reopen if I'm mistaken! Thank you! |
I installed both toolchains on the NextThing Chip with rustup. To my knowledge the Chip runs an Allwinner R8 and works with armv7.
With the armv7 Rust toolchain, rustc works fine, but cargo exits with a segmentation fault even when launched with no options. When I installed the arm toolchain, both rustc and cargo work as expected.
I tried to gather more information about why cargo was failing, but couldn't figure it out.
The text was updated successfully, but these errors were encountered: