[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Source: llvm-toolchain-6.0
Version: 1:6.0.1-6
Severity: normal
Tags: patch upstream
User: debian-sparc@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@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: