FreeBSD Bugzilla – Attachment 255008 Details for
Bug 282471
databases/mongodb80: Illegal instruction due use of the AVX instruction vxorps when NOAVX=ON
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git diff fixing noavx
mongodb70.noavx.diff (text/plain), 1.91 KB, created by
Ronald Klop
on 2024-11-07 15:40:45 UTC
(
hide
)
Description:
git diff fixing noavx
Filename:
MIME Type:
Creator:
Ronald Klop
Created:
2024-11-07 15:40:45 UTC
Size:
1.91 KB
patch
obsolete
>diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile >index b8d3a8b2910b..b2e22b886e6c 100644 >--- a/databases/mongodb70/Makefile >+++ b/databases/mongodb70/Makefile >@@ -88,7 +88,7 @@ GROUPS= mongodb > > OPTIONS_DEFINE= LTO NOAVX SASL > OPTIONS_DEFINE_aarch64= ARMV80A >-OPTIONS_DEFAULT= SASL >+OPTIONS_DEFAULT= NOAVX SASL > > # MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream. > # Can give corruption on high concurrency. >@@ -101,7 +101,8 @@ ARMV80A_EXTRA_PATCHES= ${FILESDIR}/extrapatch-SConstruct > LTO_MAKE_ARGS= --lto=on > > NOAVX_MAKE_ARGS= --experimental-optimization="-sandybridge" >-NOAVX_EXTRA_PATCHES= ${FILESDIR}/extrapatch-src_third__party_mozjs_SConscript >+NOAVX_EXTRA_PATCHES= ${FILESDIR}/extrapatch-src_third__party_mozjs_SConscript \ >+ ${FILESDIR}/extrapatch-src_third__party_mozjs_extract_mozglue_misc_SIMD.cpp > > SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 > SASL_MAKE_ARGS= --use-sasl-client >diff --git a/databases/mongodb70/files/extrapatch-src_third__party_mozjs_extract_mozglue_misc_SIMD.cpp b/databases/mongodb70/files/extrapatch-src_third__party_mozjs_extract_mozglue_misc_SIMD.cpp >new file mode 100644 >index 000000000000..f68cc2552390 >--- /dev/null >+++ b/databases/mongodb70/files/extrapatch-src_third__party_mozjs_extract_mozglue_misc_SIMD.cpp >@@ -0,0 +1,11 @@ >+--- src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp.orig 2024-11-07 09:56:02 UTC >++++ src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp >+@@ -448,7 +448,7 @@ const char* SIMD::memchr8SSE2(const char* ptr, char va >+ // assertion failure. Accordingly, we just don't allow that to happen. We >+ // are not particularly concerned about ensuring that newer 32 bit processors >+ // get access to the AVX2 functions exposed here. >+-# if defined(MOZILLA_MAY_SUPPORT_AVX2) && defined(__x86_64__) >++# if 0 && defined(MOZILLA_MAY_SUPPORT_AVX2) && defined(__x86_64__) >+ >+ bool SupportsAVX2() { return supports_avx2(); } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282471
: 255008