git: a3bd39f8744c - main - databases/mongodb[78]0: NOAVX is broken
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Nov 2024 20:02:09 UTC
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3bd39f8744c63eba6e345c8cfb220f0c2036840 commit a3bd39f8744c63eba6e345c8cfb220f0c2036840 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2024-11-02 19:55:42 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2024-11-02 20:01:52 +0000 databases/mongodb[78]0: NOAVX is broken Disable NOAVX as default until further investigation. ld.lld: error: undefined symbol: mozilla::sse_private::avx2_enabled >>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324) >>> extract/mozglue/misc/SIMD.o:(mozilla::SupportsAVX2()) in archive build/opt/third_party/mozjs/libmozjs.a >>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr8(char const*, char, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a >>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr16(char16_t const*, char16_t, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a >>> referenced 1 more times ld.lld: error: undefined symbol: mozilla::SIMD::memchr8AVX2(char const*, char, unsigned long) >>> referenced by SIMD.cpp:463 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:463) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr8(char const*, char, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a ld.lld: error: undefined symbol: mozilla::SIMD::memchr16AVX2(char16_t const*, char16_t, unsigned long) >>> referenced by SIMD.cpp:476 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:476) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr16(char16_t const*, char16_t, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a ld.lld: error: undefined symbol: mozilla::SIMD::memchr64AVX2(unsigned long const*, unsigned long, unsigned long) >>> referenced by SIMD.cpp:484 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:484) >>> extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr64(unsigned long const*, unsigned long, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a c++: error: linker command failed with exit code 1 (use -v to see invocation) PR: 282471 --- databases/mongodb70/Makefile | 2 +- databases/mongodb80/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile index bfa233b6b6f8..b8d3a8b2910b 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= NOAVX SASL +OPTIONS_DEFAULT= SASL # MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream. # Can give corruption on high concurrency. diff --git a/databases/mongodb80/Makefile b/databases/mongodb80/Makefile index 549bd025c7df..d0cd767b77b3 100644 --- a/databases/mongodb80/Makefile +++ b/databases/mongodb80/Makefile @@ -93,7 +93,7 @@ GROUPS= mongodb OPTIONS_DEFINE= LTO NOAVX SASL OPTIONS_DEFINE_aarch64= ARMV80A -OPTIONS_DEFAULT= NOAVX SASL +OPTIONS_DEFAULT= SASL # MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream. # Can give corruption on high concurrency.