On 14/02/2018 13:11, John Paul Adrian Glaubitz wrote:
> Source: llvm-toolchain-4.0
> Version: 1:4.0.1-10
> Severity: normal
> Tags: patch
> User: debian-sp...@lists.debian.org
> Usertags: sparc64
> In order to get the Rust compiler work on sparc64, we need another
> LLVM patch which is currently being upstreamed  which fixes the
> code generation on sparc64.
> Without the patch, LLVM generates invalid code that binutils stumbles
> over and crashes with an internal error . With the patch merged,
> LLVM is working properly and allows a full native build of the Rust
> compiler on sparc64 :).
> Since Rust upstream is currently still on LLVM 4.0, even for Rust
> 1.24, it would be nice to have the patch merged for the 4.0 version
> as well as the 6.0 version of the llvm-toolchain package. Although
> we are going to convince upstream to backport the patch for 6.0.
> Could you please commit directly this change in the repo?