Bug#907622: llvm-toolchain-6.0: Please backport patch to fix miscompiled code (alignment)

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Aug 30 10:05:49 BST 2018


Source: llvm-toolchain-6.0
Version: 1:6.0.1-6
Severity: normal
Tags: patch upstream
User: debian-sparc at lists.debian.org
Usertags: sparc64

Hi!

LLVM has a bug in its SROA implementation which can cause
the generated code to contain unaligned accesses. This
was fixed in [1], the corresponding Rust issue is [2].

Can you backport the fix? It affects all architectures, not
just sparc64. It's just that the compiled binaries crash
immediately on sparc64 while on other architectures the
incorrect behavior might be more subtle.

Thanks,
Adrian

> [1] https://reviews.llvm.org/D51335
> [2] https://github.com/rust-lang/rust/issues/53181

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-llvm-team mailing list