http://lists.llvm.org/pipermail/cfe-dev/2017-August/055140.html
--- test/utils-prng.c.orig 2017-11-25 14:38:28.000000000 -0800
+++ test/utils-prng.c 2017-11-25 14:39:16.000000000 -0800
+#define __has_builtin(x) 0
#if defined(HAVE_GCC_VECTOR_EXTENSIONS) && defined(__SSE2__)
@@ -199,7 +203,7 @@ randmemset_internal (prng_t
-#ifdef HAVE_GCC_VECTOR_EXTENSIONS
+#if defined(HAVE_GCC_VECTOR_EXTENSIONS) && __has_builtin(__builtin_shuffle)
const uint8x16 bswap_shufflemask =
3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12