]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #55562 - smaeul:powerpc-linux-musl, r=alexcrichton
authorPietro Albini <pietro@pietroalbini.org>
Sun, 18 Nov 2018 22:24:31 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Nov 2018 22:24:31 +0000 (23:24 +0100)
commit36e1d9f3edee62058a871d432a07dc4326f3e082
tree17134d2d35ceaa595dc281b1575aa2a6ebe5a6b6
parent13c9439925797cd7a65c917d047c07a500d9bfe6
parent4f9c86038529880458195daafd97d4cbc8f9ee27
Rollup merge of #55562 - smaeul:powerpc-linux-musl, r=alexcrichton

Add powerpc- and powerpc64-unknown-linux-musl targets

Add targets for musl on 32-bit and 64-bit powerpc. This requires some ABI fixes, as musl [uses the ELFv2 ABI on regardless of endianness](http://git.musl-libc.org/cgit/musl/tree/configure?id=8084d6ab57cdb0b8f328d3cdbad3b9d09eaaee04#n638). At the moment, powerpc64 support requires [an LLVM patch](https://reviews.llvm.org/D52013) to select the correct ABI; or I can add [a patch to Rust's LLVM backend](https://github.com/smaeul/rust/commit/e8eaa2afd51ed9950096359a040ba1603907cdd1) to always choose the right ABI.

Both architectures are able to run an extended bootstrap, and with some test fixes (e.g. #55561), there are no architecture-dependent test failures on powerpc64 (most failures in `src/test` are existing musl-host-related issues).