Bug#890401: llvm-toolchain-4.0: Please include patch to fix code generation on sparc64

Sylvestre Ledru sylvestre at debian.org
Wed Feb 14 12:16:42 UTC 2018


Hello,

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-sparc at lists.debian.org
> Usertags: sparc64
> 
> Hello!
> 
> In order to get the Rust compiler work on sparc64, we need another
> LLVM patch which is currently being upstreamed [1] which fixes the
> code generation on sparc64.
> 
> Without the patch, LLVM generates invalid code that binutils stumbles
> over and crashes with an internal error [2]. 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?

Thanks,
Sylvestre



More information about the Pkg-llvm-team mailing list