Skip to content
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

static arm musl #21

Closed
ndimiduk opened this issue May 1, 2016 · 6 comments
Closed

static arm musl #21

ndimiduk opened this issue May 1, 2016 · 6 comments

Comments

@ndimiduk
Copy link

ndimiduk commented May 1, 2016

How about an arm HF target with static linking via musl?

@japaric
Copy link
Owner

japaric commented May 1, 2016

How about an arm HF target with static linking via musl?

These targets are not in the compiler yet (not in rustc --print target-list). But there is a PR that adds them: rust-lang/rust#33189.

After that we need to set the infrastructure to build std binaries for those targets. When that is done, you should be able to use the instructions here.

@japaric
Copy link
Owner

japaric commented Aug 8, 2016

The ARM musl targets landed in rust-lang/rust#35060. Required infrastructure work also landed in rust-lang-deprecated/rust-buildbot#109. Binary releases of std for these targets should become available in the next days or weeks.

@japaric japaric closed this as completed Aug 8, 2016
@herrernst
Copy link

Should those builds be available at https://static.rust-lang.org/dist/index.html now?

@japaric
Copy link
Owner

japaric commented Sep 17, 2016

@herrernst Sadly, not yet. There were some extra changes needed to support building binaries for several musl targets on the same machine/buildbot that landed just recently (rust-lang/rust#36292). But I think it should be good to go now. Pinging @alexcrichton as a reminder to enable ARM MUSL builds on the production buildbots 😄.

@alexcrichton
Copy link
Contributor

@japaric oh right now adding the ARM MUSL builds aren't trivial unfortunately b/c of the musl-root business. The easiest way to add the builder is to add it to the linux-cross image, but we'd just need to add build system support to bootstrap a bunch of arm musl targets with a bunch of others all at once.

@polarathene
Copy link

polarathene commented Dec 8, 2019

Did anyone get static builds with MUSL on ARM? Just ran into an issue with an old embedded OS(2014, distro no longer receives updates) for armv7 not working due to libc being too old on the system.

EDIT: Nevermind, seems the readme docs here haven't been touched since 2017, afaik the ones here on a similar project are where everything happens now.

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

No branches or pull requests

5 participants