Re: [alpine-devel] Bootstrap rust on Alpine ppc64le
This also reminds me that we still don't have rust for x86, armhf or
Jakub, do you know what the status is of bootstrapping rust for other
Do you think it is realistic to have rust available for any arch more
than x86_64 for alpine v3.7?
I think it would be nice if we could have atleast one more arch in
addition to x86_64
On Tue, 17 Oct 2017 22:35:17 -0200
Roberto Oliveira <rdutra_at_linux.vnet.ibm.com> wrote:
> I'm trying to bootstrap rust on Alpine ppc64le and I saw that Jirutka and Shiz
> did the bootstrap on Alpine x86_64, so maybe they or anyone can help me.
> I saw the thread about bootstraping rust on Alpine x86_64 and the gist that
> Japaric created .
> I created a target for "powerpc64le_unknown_linux_musl" and added it to rust
> (tag 1.20.0). I used the script provided by Japaric in an Ubuntu ppc64le
> container and the musl cross built successfully. However when building rust, it
> fails with error:
> Building stage1 compiler artifacts (powerpc64le-unknown-linux-gnu ->
> error: cannot produce dylib for `rustdoc v0.0.0
> (file:///home/rustbuild/rust/src/librustdoc)` as the target
> `powerpc64le-unknown-linux-musl` does not support these crate types
> I saw that PR added support for dynamic linking with musl, so I tried to
> build rust 'master' branch, that contains these patches, but it is failing with
> the same error.
> I also tried to add "base.dynamic_linking = true" in
> src/librustc_back/target/linux_musl_base.rs as suggested in , but didn't work
> Any idea what I can do to fix/workaround this error?
> Roberto Oliveira
>  - https://github.com/rust-lang/rust/issues/31322
>  - https://gist.github.com/japaric/52b8816a4c86f5a4699bcc50ebc3e020
>  - https://github.com/rust-lang/rust/pull/40113
>  - https://github.com/rust-lang/rust/pull/40113#issuecomment-323193341
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
Received on Mon Oct 23 2017 - 14:10:15 UTC