Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Build for ARM Musl targets #128

Closed
lilianmoraru opened this issue Sep 30, 2016 · 10 comments
Closed

Build for ARM Musl targets #128

lilianmoraru opened this issue Sep 30, 2016 · 10 comments

Comments

@lilianmoraru
Copy link

Rust now supports these additional targets:

arm-unknown-linux-musleabi
arm-unknown-linux-musleabihf
armv7-unknown-linux-musleabihf

Could we get builds for these targets?

@lilianmoraru
Copy link
Author

lilianmoraru commented Oct 3, 2016

ping @alexcrichton @brson

@alexcrichton
Copy link
Contributor

cc @japaric as well

Unfortunately it's pretty difficult to add these today. Even if we had an image with all the relevant libc.a files in it we'd have to have a way of pointing the build system at all of them simultaneously. The ./configure script only supports at most one musl target, and while rustbuild supports more than one at a time it isn't easily configurable from buildbot.

Will basically take some refactoring to get this to work.

@alexcrichton
Copy link
Contributor

Targets are added and deployed!

@alexcrichton
Copy link
Contributor

Nightlies should hopefully come tomorrow night, but I'll debug failures if they happen.

@lilianmoraru
Copy link
Author

Thank you!

@alexcrichton
Copy link
Contributor

Complications last night prevented these nightlies from going out, hopefully tonight though!

@lilianmoraru
Copy link
Author

lilianmoraru commented Oct 14, 2016

@alexcrichton rustup still says 'arm-unknown-linux-musleabi' is unavailable for download
Where could I check the status for these?

I see this one passed: https://buildbot.rust-lang.org/builders/nightly-dist-rustc-cross-rustbuild-linux/builds/7
It has musl in there. Maybe I use the rustup command wrongly(rustup target add arm-unknown-linux-musleabi)?

@japaric
Copy link
Contributor

japaric commented Oct 14, 2016

I see this one passed

All the "nightly-dist-*" jobs here must pass (become green) but looks like one of the last steps, nightly-dist-packaging-linux, failed today.

@alexcrichton
Copy link
Contributor

Another hiccup last night, but a new nightly and these targets are now out.

@lilianmoraru
Copy link
Author

Yey, it works now.
Thanks!!

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

No branches or pull requests

3 participants