mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Causes SIGBUS on armv7 (at least in jiji's arm32-on-arm64 chroot) in Pandas test suite. Unaligned access is UB anyway. Bug: https://bugs.gentoo.org/911660 Signed-off-by: Sam James <sam@gentoo.org>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
Causes SIGBUS on armv7 (at least in jiji's arm32-on-arm64 chroot) in Pandas test
|
|
suite. Unaligned access is UB anyway.
|
|
--- a/blosc/blosc-common.h
|
|
+++ b/blosc/blosc-common.h
|
|
@@ -43,28 +43,6 @@
|
|
*/
|
|
#if !defined(BLOSC_STRICT_ALIGN)
|
|
#define BLOSC_STRICT_ALIGN
|
|
-#if defined(__i386__) || defined(__386) || defined (__amd64) /* GNU C, Sun Studio */
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-#elif defined(__i486__) || defined(__i586__) || defined(__i686__) /* GNU C */
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-#elif defined(_M_IX86) || defined(_M_X64) /* Intel, MSVC */
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-#elif defined(__386)
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-#elif defined(_X86_) /* MinGW */
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-#elif defined(__I86__) /* Digital Mars */
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-/* Seems like unaligned access in ARM (at least ARMv6) is pretty
|
|
- expensive, so we are going to always enforce strict alignment in ARM.
|
|
- If anybody suggest that newer ARMs are better, we can revisit this. */
|
|
-/* #elif defined(__ARM_FEATURE_UNALIGNED) */ /* ARM, GNU C */
|
|
-/* #undef BLOSC_STRICT_ALIGN */
|
|
-#elif defined(_ARCH_PPC) || defined(__PPC__)
|
|
-/* Modern PowerPC systems (like POWER8) should support unaligned access
|
|
- quite efficiently. */
|
|
-#undef BLOSC_STRICT_ALIGN
|
|
-#endif
|
|
#endif
|
|
|
|
#if defined(__SSE2__)
|