This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients christian.heimes, doko
Date 2019-04-03.05:41:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554270079.02.0.655835284074.issue36515@roundup.psfhosted.org>
In-reply-to
Content
This was seen when running an armhf binary on a 64bit kernel. The problem is that the implementation uses unaligned memory accesses, and even is well aware of that. The module allows misaligned memory accesses by default. The NO_MISALIGNED_ACCESSES macro is never defined.  Now you can define it only on architectures where unaligned memory accesses are not allowed (ARM32 on 64bit kernels), or where there are performance penalties (AArch64), or just don't try to outsmart modern compilers and always define this macro.

The attached patch only fixes the issue on ARM32 and AArch64, however the safe fix should be to always define the macro.
History
Date User Action Args
2019-04-03 05:41:19dokosetrecipients: + doko, christian.heimes
2019-04-03 05:41:19dokosetmessageid: <1554270079.02.0.655835284074.issue36515@roundup.psfhosted.org>
2019-04-03 05:41:18dokolinkissue36515 messages
2019-04-03 05:41:18dokocreate