rust-cross / rust-musl-cross

Docker images for compiling static Rust binaries using musl-cross
MIT License
617 stars 68 forks source link

Add powerpc64-unknown-linux-musl target #68

Open messense opened 1 year ago

messense commented 1 year ago

bors try amd64 --target powerpc64-unknown-linux-musl

bors[bot] commented 1 year ago

try

Build failed:

messense commented 1 year ago

ABI version 1 is not compatible with ABI version 2 output

Looks like gcc is compiled with ELFv1, but Rust uses ELFv2 for powerpc64 musl targets, see https://github.com/rust-lang/rust/issues/60617 (or the reverse?)

Though musl-cross-make already set --with-abi=elfv2 for powerpc64 target:

https://github.com/richfelker/musl-cross-make/blob/fe915821b652a7fa37b34a596f47d8e20bc72338/litecross/Makefile#L26-L28