[Pkg-rust-maintainers] Bug#916818: rustc: Compiler regression results in generated code with unaligned access

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Dec 21 09:19:43 GMT 2018


Hi!

On 12/20/18 9:40 AM, John Paul Adrian Glaubitz wrote:
> If that's not feasible, I can also create a patch which changes the alignment
> behavior specific to sparc64 in the code, so the patch can be applied to all
> platforms.
> 
> I'm still waiting for an opinion from upstream how this issue is going to
> be fixed. They do consider it a bug as the alignment should always be correct.

Attaching a better patch which can be applied unconditionally.

Also, the span patch for sparc64 can be dropped. Just tested that.

Adrian

-- 
 .''`.  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d-sparc64-fix-alignment-issues.patch
Type: text/x-patch
Size: 1650 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20181221/e53823e0/attachment-0001.bin>


More information about the Pkg-rust-maintainers mailing list