Ensure memory accesses in the sha3 module are aligned on ARM as it causes problems when running 32-bit code on a 64-bit kernel. Patch taken from upstream bug report: https://bugs.python.org/issue36515 --- a/Modules/_sha3/sha3module.c +++ b/Modules/_sha3/sha3module.c @@ -64,6 +64,12 @@ #define PLATFORM_BYTE_ORDER IS_BIG_ENDIAN #endif +/* Bus error on 32-bit ARM due to un-aligned memory accesses; 64-bit ARM + * doesn't complain but un-aligned memory accesses are sub-optimal */ +#if defined(__arm__) || defined(__aarch64__) +#define NO_MISALIGNED_ACCESSES +#endif + /* mangle names */ #define KeccakF1600_FastLoop_Absorb _PySHA3_KeccakF1600_FastLoop_Absorb #define Keccak_HashFinal _PySHA3_Keccak_HashFinal ected='selected'>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/TODO
AgeCommit message (Expand)Author
2019-01-21Update 'TODO'...* TODO (Installer): Add Pierre Neidhardt suggestions described here: https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00305.html Mathieu Othacehe
2019-01-17Update 'TODO'....* TODO (Installer): New section. Mathieu Othacehe
2016-09-01Update 'TODO'....* TODO: Remove items about guix challenge & guix publish. Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vincent Legoll