Description: disable AltiVec optimisations on __powerpc64__
 This optimisation causes test failures on ppc64el resulting in a FTBFS. The
 root cause appears to be either a compiler bug or a bug in the implementation
 here. Disable use of this optimisation for now. We can re-enable it once
 upstream have settled on a fix. This may result in a performance regression in
 the meantime, which is tracked at LP: #1758118.
Bug: https://jira.mongodb.org/browse/SERVER-33395
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1758116
Forwarded: not-needed
Author: Robie Basak <robie.basak@canonical.com>
Last-Update: 2018-03-22

--- a/src/mongo/db/fts/unicode/byte_vector.h
+++ b/src/mongo/db/fts/unicode/byte_vector.h
@@ -33,8 +33,6 @@
 // TODO replace this with #if BOOST_HW_SIMD_X86 >= BOOST_HW_SIMD_X86_SSE2_VERSION in boost 1.60
 #if defined(_M_AMD64) || defined(__amd64__)
 #include "mongo/db/fts/unicode/byte_vector_sse2.h"
-#elif defined(__powerpc64__)
-#include "mongo/db/fts/unicode/byte_vector_altivec.h"
 #else  // Other platforms go above here.
 #undef MONGO_HAVE_FAST_BYTE_VECTOR
 #endif
