mongoDB versions 5.x on arm64 architecture - minimum ARMv8.2-A required

Viewed 1671

It looks like starting with version 5.0.0, mongoDB requires at minimum ARMv8.2-A or later microarchitecture to run.

That unfortunately disqualifies single board computers like:

  • Raspberry Pi 4 (BCM2711 / ARM Cortex-A72 / ARMv8.0-A)
  • Odroid C2 (Amlogic S905 / ARM Cortex-A53 / ARMv8.0-A)
  • Odroid N2+ (Amlogic S922X / ARM Cortex-A73 + Cortex-A53 / ARMv8.0-A) and others.

Indeed latest Docker mongoDB 5.0.0 image won't run on rPi4.

Would anyone know if this is final decision and users of these low cost home server computers will be stuck with 4.4.x, or is it something that might change?

Is there a more detailed reasoning behind this change?

1 Answers

This is unlikely to change. See this ticket for the similar bump on x86-64. You can try looking in the source tree for the arch that is required and using git blame to find the relevant server ticket which may provide additional context.

You should be able to build your own (community) MongoDB binaries by passing CCFLAGS=-march=<something> and referencing https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gcc/x86-Options.html#x86-Options for the option values. This naturally isn't going to be a MongoDB-supported build.

Related