View | Details | Raw Unified | Return to bug 282471
Collapse All | Expand All

(-)b/databases/mongodb70/Makefile (-2 / +3 lines)
Lines 88-94 GROUPS= mongodb Link Here
88
88
89
OPTIONS_DEFINE=		LTO NOAVX SASL
89
OPTIONS_DEFINE=		LTO NOAVX SASL
90
OPTIONS_DEFINE_aarch64=	ARMV80A
90
OPTIONS_DEFINE_aarch64=	ARMV80A
91
OPTIONS_DEFAULT=	SASL
91
OPTIONS_DEFAULT=	NOAVX SASL
92
92
93
# MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream.
93
# MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream.
94
# Can give corruption on high concurrency.
94
# Can give corruption on high concurrency.
Lines 101-107 ARMV80A_EXTRA_PATCHES= ${FILESDIR}/extrapatch-SConstruct Link Here
101
LTO_MAKE_ARGS=	--lto=on
101
LTO_MAKE_ARGS=	--lto=on
102
102
103
NOAVX_MAKE_ARGS=	--experimental-optimization="-sandybridge"
103
NOAVX_MAKE_ARGS=	--experimental-optimization="-sandybridge"
104
NOAVX_EXTRA_PATCHES=	${FILESDIR}/extrapatch-src_third__party_mozjs_SConscript
104
NOAVX_EXTRA_PATCHES=	${FILESDIR}/extrapatch-src_third__party_mozjs_SConscript \
105
			${FILESDIR}/extrapatch-src_third__party_mozjs_extract_mozglue_misc_SIMD.cpp
105
106
106
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
107
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
107
SASL_MAKE_ARGS=		--use-sasl-client
108
SASL_MAKE_ARGS=		--use-sasl-client
(-)b/databases/mongodb70/files/extrapatch-src_third__party_mozjs_extract_mozglue_misc_SIMD.cpp (+11 lines)
Added Link Here
1
--- src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp.orig	2024-11-07 09:56:02 UTC
2
+++ src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp
3
@@ -448,7 +448,7 @@ const char* SIMD::memchr8SSE2(const char* ptr, char va
4
 // assertion failure. Accordingly, we just don't allow that to happen. We
5
 // are not particularly concerned about ensuring that newer 32 bit processors
6
 // get access to the AVX2 functions exposed here.
7
-#  if defined(MOZILLA_MAY_SUPPORT_AVX2) && defined(__x86_64__)
8
+#  if 0 && defined(MOZILLA_MAY_SUPPORT_AVX2) && defined(__x86_64__)
9
 
10
 bool SupportsAVX2() { return supports_avx2(); }
11
 

Return to bug 282471