Summary: | net-misc/openssh-6.4_p1-r1[hpn] - alignment trap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bruno <bonbons> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | eike, slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=499552 https://bugs.gentoo.org/show_bug.cgi?id=905750 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 371525 |
Description
Bruno
2014-01-19 21:18:10 UTC
can you try building with USE=-hpn ? (In reply to SpanKY from comment #1) > can you try building with USE=-hpn ? This is indeed the cause. Check out CIPHER_BYTE_XOR in cipher-ctr-mt.c after the HPN patch is applied. The code is supposed to work with 8-byte load/xor/store, but something is misaligned. I don't particularly like punting and defining CIPHER_BYTE_XOR when the regular path was supposed to handle this. *** Bug 499552 has been marked as a duplicate of this bug. *** (In reply to SpanKY from comment #1) > can you try building with USE=-hpn ? Confirmed here as well that USE=-hpn prevents the mis-aligned accesses (and thus traps). looking at the history, this code has always been this way. not sure what has changed such that newer versions complain while older ones work OK. should be all set now in the tree; thanks for the report! Commit message: Avoid unaligned loads/stores in USE=hpn cipher code http://sources.gentoo.org/net-misc/openssh/files/openssh-6.5_p1-hpn-cipher-align.patch?rev=1.1 http://sources.gentoo.org/net-misc/openssh/openssh-6.5_p1-r1.ebuild?rev=1.1 |