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

arm64/aarch64 support for macOS

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Blocked
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0
    • Fix Version/s: Backlog
    • Component/s: Build

      Description

      Looks like mongodb 4.4.0 supports x86_64 on Linux and macOS, and arm64/aarch64 on Linux but not yet on macOS; I get this error:

      <built-in>:1:10: fatal error: 'js-confdefs.h' file not found
      #include "js-confdefs.h"
       ^~~~~~~~~~~~~~~

      I see lots of js-confdefs.h files, just not in an aarch64/macOS directory:

      % find . -name js-confdefs.h
      ./src/third_party/mozjs-60/platform/ppc64le/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/s390x/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/aarch64/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/macOS/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/freebsd/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/linux/build/js-confdefs.h
      ./src/third_party/mozjs-60/platform/x86_64/windows/build/js-confdefs.h

      So we need to add a ./src/third_party/mozjs-60/platform/aarch64/macOS directory with all of its contents. I can try to do it, if you'll let me know how the existing directories were created.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-build Backlog - Build Team
              Reporter:
              ryandesign Ryan Schmidt
              Participants:
              Votes:
              9 Vote for this issue
              Watchers:
              28 Start watching this issue

                Dates

                Created:
                Updated: