Repository navigation
the pre-built cargo is broken on powerpc64le #1620
Description
Activity
I manually built cargo from 1.30 up to the current nightly and everything works as intended.
I can confirm this issue on POWER9 using Ubuntu 18.04.
Are there any updates to this issue? It still persists for me using: stable-powerpc64le-unknown-linux-gnu - rustc 1.33.0 (2aa4c46cf 2019-02-28).
Is this a
rustupissue or acargoissue?According to rust-lang/cargo#6568, this is a rustup issue.
Then this is likely related to #1681 ?
Not sure - is there any way to test this?
It is not. The openssl used is somehow faulty. Rebuilding cargo using the host openssl makes it work just fine.
Yes, I can verify that everything works with a locally-built cargo.
I updated the issue so people do not have to look at the cargo issue for the details.
This does not sound like a rustup issue. cargo is built in rust-lang/rust — see https://github.com/rust-lang/rust/tree/master/src/ci/docker/dist-powerpc64le-linux. There is more information in rust-lang/cargo#6320 and the cause has been identified in rust-lang/rust#57345 (the binutils is likely too old).
- added 3 commits that reference this issue
on Mar 11, 2019 - added a commit that references this issue
on Mar 18, 2019 - added a commit that references this issue
on Mar 19, 2019 This should be fixed by rust-lang/rust#58986 as of
rustc 1.35.0-nightly (82e2f3ec2 2019-03-20). It looks like @bors didn't track the auto-close to this issue though.Thanks @cuviper
It seems that the host building it has a faulty openssl.
here the backtrace from simply running
cargoAnd here is a strace:
uname
(copied from rust-lang/cargo#6568)