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
Support RPi-Zero (armv6h) #80
Comments
Well that's a bummer, that definitely shouldn't happen. Unfortunately I don't have a raspberry pi zero to test on so this may take a while to fix. The only option for me to verify would be using an emulator. Some things you can do/try in the meantime that would be helpful are:
|
Hi. Apologies for the delay in replying. Version: Linux version 5.4.51+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 Mon Aug 10 16:38:02 BST 2020 Thanks for your reply, but I will probably find another way to do this without ashuffle. Duncan |
Good luck finding an alternative solution. I'm going to re-open this though to track finding a fix for this issue. It looks like raspberry pi zeros are actually pretty cheap so I picked one up. I'll take a look at this when I have some time. |
Ugh, so I was able to reproduce this on a Pi zero. For the armv6h binaries, I was building using Linaro's ARM32 cross-compiler. Unfortunately that has a few issues for RPi-Zero:
Ultimately I think the only fix for this is for us to build our own cross toolchain unfortunately... Renaming this and leaving it open. I'll send a PR to remove the binaries (and documentation) to avoid confusion. |
I'd be surprised there's no generally-available toolchains for the various raspberry platforms -- a quick search got me https://github.com/Pro/raspi-toolchain which appears to build for armv6 properly looking at the dockerfile so the released binaries should be ok. It also requires a raspbian rootfs for compatibility so it's a bit more work perhaps but more likely to work. (Not tested as I don't have any readily-available around; I don't think it'd be that bad to build directly on one either but I might be underestimating how small the pi zero is) |
@martinetd That is fair, thanks for the pointer. I also searched a bit and found
This thing is tiny. With the default install, chrome was idling at like 60% CPU usage. If we tried to build that way it would be extremely slow. There was at least one user that tried and ran into OOM issues. Plus I don't really want to try and host the build infra, I'd much rather build on Travis directly. |
So, I've got a cross-build of I don't love downgrading the language version just to support RPi Zero though. I think before merging the downgrade, I will actually try to get a newer C++ stdlib and do a static link. I'll either try and pull one from a |
Hi. I am trying to install ashuffle on a Raspberry pi zero. I already had libmpdclient2 installed (version 2.16-1). When I run ./ashuffle.armv6h-linux-gnueabihf I receive an error message "Segmentation fault". I also get this if I run as root. I'm sure that I am doing something wring, but I can't work out what.
Any ideas?
Thanks.
Duncan
The text was updated successfully, but these errors were encountered: