-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 4.4.0
-
Component/s: Build
-
Fully Compatible
-
Dev Platform 2022-04-04
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.
- depends on
-
SERVER-64295 Enable jstests in macOS ARM64 configuration
- Closed
-
SERVER-42427 Upgrade MozJS/Spidermonkey to ESR 91
- Closed
-
SERVER-47276 Evaluate upgrade of Spidermonkey to ESR 68.9
- Closed
-
SERVER-61008 Upgrade MozJS
- Closed
- is depended on by
-
SERVER-56782 Reintroduce advanced microarchitecture targeting on macOS
- Closed
-
SERVER-64543 Build Stitch Support Lib on macOS arm64
- Closed
- related to
-
MONGOSH-442 What do we need to do to support for macs with Apple Silicon processors?
- Closed
-
MONGOSH-773 What do we need to do to support homebrew for Apple Silicon?
- Closed