Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-98487

How do I build the project without the AVX instruction ?

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      Prerequesites :

      Intel processor with AVX instruction support

      Ubuntu 24.04 in virtual box

      The VM does not support avx : cat /proc/cpuinfo |grep avx // empty

      Description :

      Facing an issue running the mongod server after a download, mongod in the linux VM fails (SIGILL/4 : invalid instruction), after looking around, it seems like the avx instruction is needed, but my VM does not have access to it.

      I have an intel core i5, i believe it supports avx, but the VM may not have access to it, I tried exposing as many CPU features I can with the VM configuration, but could not land on the avx instruction.

      So the other option is to build the server without the avx instruction, or use older versions like 4.x

      Any steps (to be added to the [Quick start|http://example.com]) for how to build without avx ?

            Assignee:
            Unassigned Unassigned
            Reporter:
            h.sousou97@gmail.com maths soso N/A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: