From 5dd08e3d171bd104d5502b4531a05504c1660dcc Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 29 Nov 2019 14:04:13 +0100 Subject: [PATCH] stress-ng: disable vecmath on ppc64/glibc/BE for now [ci skip] --- .../patches/ppc64-glibc-be-no-vecmath.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/stress-ng/patches/ppc64-glibc-be-no-vecmath.patch 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)));