-
Notifications
You must be signed in to change notification settings - Fork 388
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
add support for arm-unknown-linux-gnueabihf #158
Conversation
@gnzlbg The Dockerfile is missing. |
@japaric sorry about that, should be fixed. |
Moved this into #157 to launch a homu build. |
@japaric said:
and then also said:
So this is what I have tried to do by basically copying rust-lang/rust's dist-armhf-linux. However, without a way to test this locally, I am basically going in blind. |
I ran locally and it errored with: Step 4/10 : RUN bash /crosstool-ng.sh
---> Running in 2f4ad86e3f0d
+ url=http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.22.0.tar.bz2
+ curl -f http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.22.0.tar.bz2
+ tar xjf -
/crosstool-ng.sh: line 14: curl: command not found I can probably take a closer look at this tomorrow. I can also give you "try rights" so you can do |
@japaric I've added curl to the list of packages to install but yeah, the edit-debug cycle over travis or homu is going to be very long. |
Sorry, I won't have time to look into this at least until the weekend. I have given you "try right" though in case you want to try to get a bit further using travis. |
@homunkulus try -- @japaric if this fails (which probably will do) I'll disable temporarily all other build bots and see how far I come before the weekend. It is not a pressing issue, but I'd really love to migrate the |
add support for arm-unknown-linux-gnueabihf
💔 Test failed - status-travis |
@homunkulus try |
add support for arm-unknown-linux-gnueabihf
☀️ Test successful - status-travis |
Looks like this worked, doing a full run: @homunkulus try |
add support for arm-unknown-linux-gnueabihf
💔 Test failed - status-travis |
@homunkulus try |
add support for arm-unknown-linux-gnueabihf
💔 Test failed - status-travis |
bors: r+ |
Merge conflict |
@gnzlbg can you merge these conflicts if possible? Looking to merge this after that. |
This never passed tests because of what @malbarbo mentioned here: #158 (comment) |
Yeah but we resolved that issue in the other PRs which we already merged. |
@gnzlbg can you resolve the conflicts? want to test this next |
So i've resolved the conflicts here, but I don't think this will work as is. |
If someone wants to pick it up the best would probably be to just fetch my branch and submit a new PR. |
What's missing right now? If you can list it, it will be easier for someone to pick it up |
The whole building our own crosstools-ng never worked, so a different solution has to be found to get a proper cross-compilation toolchain for the target. |
@legokichi great. Are you open to making a PR/pushing a commit to this PR to make the relevant changes? |
i have no time |
245: Add `arm-linux-gnueabihf`. r=Dylan-DPC a=reitermarkus I took the suggestion from #158 (comment) and used a pre-compiled toolchain. There are two commits here, the first one uses https://github.com/raspberrypi/tools, in the second one I switched to https://toolchains.bootlin.com/releases_armv6-eabihf.html. I am not sure however if the `sysroot` is set correctly, since everything except `qemu` also works without `LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib:/usr/arm-linux-gnueabihf/arm-buildroot-linux-gnueabihf/lib`. Co-authored-by: Markus Reiter <[email protected]>
245: Add `arm-linux-gnueabihf`. r=Dylan-DPC a=reitermarkus I took the suggestion from #158 (comment) and used a pre-compiled toolchain. There are two commits here, the first one uses https://github.com/raspberrypi/tools, in the second one I switched to https://toolchains.bootlin.com/releases_armv6-eabihf.html. I am not sure however if the `sysroot` is set correctly, since everything except `qemu` also works without `LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib:/usr/arm-linux-gnueabihf/arm-buildroot-linux-gnueabihf/lib`. Co-authored-by: Markus Reiter <[email protected]>
This can probably be closed now that #245 has been merged. |
closing this in favour of #245. If anything wasn't added in that PR, we can make a new PR out of it. |
No description provided.