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

arm64/aarch64 support for macOS

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 4.4.0
    • 6.0.0-rc0
    • Build
    • Fully Compatible
    • Dev Platform 2022-04-04

    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

              andrew.morrow@mongodb.com Andrew Morrow
              ryandesign Ryan Schmidt
              Votes:
              14 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: