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
This commit is contained in:
Ronald Klop 2024-11-02 20:55:42 +01:00
parent 59856b9326
commit a3bd39f874
No known key found for this signature in database
GPG key ID: 551E8E6207A42166
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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.