diff --git a/srcpkgs/stress-ng/patches/ppc64-glibc-be-no-vecmath.patch b/srcpkgs/stress-ng/patches/ppc64-glibc-be-no-vecmath.patch new file mode 100644 index 00000000000..0228d9fd29a --- /dev/null +++ b/srcpkgs/stress-ng/patches/ppc64-glibc-be-no-vecmath.patch @@ -0,0 +1,16 @@ +On big endian ppc64 glibc specifically, this causes ICEs. + +--- stress-vecmath.c ++++ stress-vecmath.c +@@ -53,6 +53,11 @@ static const help_t help[] = { + #undef HAVE_VECMATH + #endif + ++/* currently ICEs on our toolchain... */ ++#if defined(STRESS_PPC64) && defined(__GLIBC__) && defined(__BIG_ENDIAN__) ++#undef HAVE_VECMATH ++#endif ++ + #if defined(HAVE_VECMATH) + + typedef int8_t vint8_t __attribute__ ((vector_size (16)));