[package - main-arm64-default][databases/mongodb42] Failed for mongodb42-4.2.14 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Aug 2021 07:25:52 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ronald-lists@klop.ws
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/pd69639d824b8_s7cbf1de38e/logs/mongodb42-4.2.14.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pd69639d824b8_s7cbf1de38e
Log:

=>> Building databases/mongodb42
build started at Sun Aug  1 04:48:47 UTC 2021
port directory: /usr/ports/databases/mongodb42
package name: mongodb42-4.2.14
building for: FreeBSD main-arm64-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400027 arm64
maintained by: ronald-lists@klop.ws
Makefile ident: 
Poudriere version: 3.2.8-20-g137a4a48
Host OSVERSION: 1400008
Jail OSVERSION: 1400027
Job Id: 01




!!! Jail is newer than host. (Jail: 1400027, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400027
UNAME_v=FreeBSD 14.0-CURRENT 1400027
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-20-g137a4a48
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for mongodb42-4.2.14:
     LTO=on: Use Link-Time Optimization
     SASL=on: SASL authentication support
     SSL=on: SSL protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ronald-lists@klop.ws
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  HOME=/wrkdirs/usr/ports/databases/mongodb42/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongodb42/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mongodb42/work  HOME=/wrkdirs/usr/ports/databases/mongodb42/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mongodb42/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fuse-ld=lld  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mongodb"  EXAMPLESDIR="share/examples/mongodb"  DATADIR="share/mongodb"  WWWDIR="www/mongodb"  ETCDIR="etc/mongodb"
--End PLIST_SUB--

--SUB_LIST--
LEGACY_LIMITS="@comment " MODERN_LIMITS="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mongodb DOCSDIR=/usr/local/share/doc/mongodb EXAMPLESDIR=/usr/local/share/examples/mongodb  WWWDIR=/usr/local/www/mongodb ETCDIR=/usr/local/etc/mongodb
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400027
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License SSPLv1 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mongodb42-4.2.14 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[main-arm64-default-job-01] Installing pkg-1.17.1...
[main-arm64-default-job-01] Extracting pkg-1.17.1: .......... done
===>   mongodb42-4.2.14 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mongodb42-4.2.14
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.14 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.14 for building
=> SHA256 Checksum OK for mongodb-src-r4.2.14.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License SSPLv1 APACHE20 accepted by the user
===> Fetching all distfiles required by mongodb42-4.2.14 for building
===>  Extracting for mongodb42-4.2.14
=> SHA256 Checksum OK for mongodb-src-r4.2.14.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mongodb42-4.2.14
/bin/mv /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.14/src/third_party/wiredtiger/src/checksum/power8/crc32.sx /wrkdirs/usr/ports/databases/mongodb42/work/mongodb-src-r4.2.14/src/third_party/wiredtiger/src/checksum/power8/crc32.S
===>  Applying extra patch patches for mongodb42-4.2.14 from /usr/ports/databases/mongodb42/files/aarch64
===>  Applying FreeBSD patches for mongodb42-4.2.14 from /usr/ports/databases/mongodb42/files
===========================================================================
=======================<phase: build-depends  >============================
===>   mongodb42-4.2.14 depends on package: py38-cheetah3>0 - not found
===>   Installing existing package /packages/All/py38-cheetah3-3.2.6_1.pkg
<snip>
In file included from src/third_party/mozjs-60/extract/js/src/builtin/WeakMapObject.h:10:
In file included from src/third_party/mozjs-60/extract/js/src/gc/WeakMap.h:16:
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:344:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
        typedef struct {
                      ^
                       Hasher
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:345:13: note: type is not C-compatible due to this member declaration
            typedef SlotsEdge Lookup;
            ^~~~~~~~~~~~~~~~~~~~~~~~
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:350:11: note: type is given name 'Hasher' for linkage purposes by this typedef declaration
        } Hasher;
          ^
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/builtin/WeakSetObject.cpp:7:
In file included from src/third_party/mozjs-60/extract/js/src/builtin/WeakSetObject.h:10:
In file included from src/third_party/mozjs-60/extract/js/src/builtin/WeakMapObject.h:10:
In file included from src/third_party/mozjs-60/extract/js/src/gc/WeakMap.h:18:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:24:
In file included from src/third_party/mozjs-60/extract/js/src/vm/GlobalObject.h:17:
In file included from src/third_party/mozjs-60/extract/js/src/vm/ErrorObject.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/vm/SavedStacks.h:11:
src/third_party/mozjs-60/include/mozilla/FastBernoulliTrial.h:368:21: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
    if (skipCount < SIZE_MAX)
                  ~ ^~~~~~~~
/usr/include/machine/_stdint.h:150:18: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX        UINT64_MAX
                        ^~~~~~~~~~
/usr/include/machine/_stdint.h:75:20: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX      0xffffffffffffffffUL
                        ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
c++ -o build/opt/third_party/mozjs-60/extract/modules/fdlibm/s_scalbn.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-
 lambda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/mozjs-60/platform/aarc
 h64/freebsd/include -Isrc/third_party/mozjs-!
 60/platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/extract/modules/fdlibm/s_scalbn.cpp
c++ -o build/opt/mongo/scripting/mozjs/jscustomallocator.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-
 capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-config.h -include js/RequiredDefines.h -fpic -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/scripting/mozjs/jscustomallocator.cpp
c++ -o build/opt/third_party/mozjs-60/extract/modules/fdlibm/s_fabs.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-la
 mbda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/mozjs-60/platform/aarch6
 4/freebsd/include -Isrc/third_party/mozjs-60!
 /platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/extract/modules/fdlibm/s_fabs.cpp
c++ -o build/opt/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-exp
 ression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/mo
 zjs-60/platform/aarch64/freebsd/include -Isr!
 c/third_party/mozjs-60/platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.cpp:27:
In file included from src/third_party/mozjs-60/extract/js/src/builtin/Promise.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/vm/NativeObject.h:18:
In file included from src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:13:
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:344:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
        typedef struct {
                      ^
                       Hasher
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:345:13: note: type is not C-compatible due to this member declaration
            typedef SlotsEdge Lookup;
            ^~~~~~~~~~~~~~~~~~~~~~~~
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:350:11: note: type is given name 'Hasher' for linkage purposes by this typedef declaration
        } Hasher;
          ^
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.cpp:29:
In file included from src/third_party/mozjs-60/extract/js/src/gc/GCInternals.h:20:
In file included from src/third_party/mozjs-60/extract/js/src/vm/HelperThreads.h:26:
In file included from src/third_party/mozjs-60/extract/js/src/jit/Ion.h:15:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:24:
In file included from src/third_party/mozjs-60/extract/js/src/vm/GlobalObject.h:17:
In file included from src/third_party/mozjs-60/extract/js/src/vm/ErrorObject.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/vm/SavedStacks.h:11:
src/third_party/mozjs-60/include/mozilla/FastBernoulliTrial.h:368:21: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
    if (skipCount < SIZE_MAX)
                  ~ ^~~~~~~~
/usr/include/machine/_stdint.h:150:18: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX        UINT64_MAX
                        ^~~~~~~~~~
/usr/include/machine/_stdint.h:75:20: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX      0xffffffffffffffffUL
                        ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
c++ -o build/opt/third_party/mozjs-60/extract/modules/fdlibm/e_log2.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-la
 mbda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/mozjs-60/platform/aarch6
 4/freebsd/include -Isrc/third_party/mozjs-60!
 /platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/extract/modules/fdlibm/e_log2.cpp
c++ -o build/opt/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-exp
 ression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/mo
 zjs-60/platform/aarch64/freebsd/include -Isr!
 c/third_party/mozjs-60/platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/wasm/WasmJS.cpp:19:
In file included from src/third_party/mozjs-60/extract/js/src/wasm/WasmJS.h:22:
In file included from src/third_party/mozjs-60/extract/js/src/gc/Policy.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:13:
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:344:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
        typedef struct {
                      ^
                       Hasher
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:345:13: note: type is not C-compatible due to this member declaration
            typedef SlotsEdge Lookup;
            ^~~~~~~~~~~~~~~~~~~~~~~~
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:350:11: note: type is given name 'Hasher' for linkage purposes by this typedef declaration
        } Hasher;
          ^
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/wasm/WasmJS.cpp:35:
In file included from src/third_party/mozjs-60/extract/js/src/wasm/WasmBaselineCompile.h:22:
In file included from src/third_party/mozjs-60/extract/js/src/wasm/WasmGenerator.h:22:
In file included from src/third_party/mozjs-60/extract/js/src/jit/MacroAssembler.h:14:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:24:
In file included from src/third_party/mozjs-60/extract/js/src/vm/GlobalObject.h:17:
In file included from src/third_party/mozjs-60/extract/js/src/vm/ErrorObject.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/vm/SavedStacks.h:11:
src/third_party/mozjs-60/include/mozilla/FastBernoulliTrial.h:368:21: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
    if (skipCount < SIZE_MAX)
                  ~ ^~~~~~~~
/usr/include/machine/_stdint.h:150:18: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX        UINT64_MAX
                        ^~~~~~~~~~
/usr/include/machine/_stdint.h:75:20: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX      0xffffffffffffffffUL
                        ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
c++ -o build/opt/mongo/scripting/mozjs/dbpointer.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture 
 -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-config.h -include js/RequiredDefines.h -fpic -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/include -Isrc/third_party/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc src/mongo/scripting/mozjs/dbpointer.cpp
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /usr/local/poudriere/jails/main-arm64/usr/src/contrib/llvm-project/llvm/include/llvm/Support/Casting.h, line 269.
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/ld.lld -pie --eh-frame-hdr -export-dynamic -dynamic-linker /libexec/ld-elf.so.1 --enable-new-dtags -o build/opt/mongo/mongos /usr/lib/Scrt1.o /usr/lib/crti.o /usr/lib/crtbeginS.o -L/usr/local/lib -L/usr/lib -plugin-opt=mcpu=generic -z now --build-id --hash-style=gnu -z noexecstack --warn-execstack -z relro build/opt/mongo/s/cluster_cursor_stats.o build/opt/mongo/s/mongos_options.o build/opt/mongo/s/mongos_options_init.o build/opt/mongo/s/mongos_options_gen.o build/opt/mongo/s/router_transactions_server_status.o build/opt/mongo/s/s_sharding_server_status.o build/opt/mongo/s/server.o build/opt/mongo/s/service_entry_point_mongos.o build/opt/mongo/s/sharding_uptime_reporter.o build/opt/mongo/s/version_mongos.o --start-group --whole-archive build/opt/mongo/util/options_parser/liboptions_parser_init.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libssl_options_server.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libhttp_client_i
 mpl.a --no-whole-archive --whole-archive build/opt/mongo/util/libalarm.a --no-whole-archive --whole-archive build/opt/mongo/util/libversion_impl.a --no-whole-archive --whole-archive build/opt/mongo/util/liblatch_analyzer.a --no-whole-archive --whole-archive build/opt/mongo/transport/libservice_entry_point.a --no-whole-archive --whole-archive build/opt/mongo/transport/libmessage_compressor_options_server.a --no-whole-archive --whole-archive build/opt/mongo/s/libsharding_initialization.a --no-whole-archive --whole-archive build/opt/mongo/util/libperiodic_runner_factory.a --no-whole-archive --whole-archive build/opt/mongo/util/libperiodic_runner_impl.a --no-whole-archive --whole-archive build/opt/mongo/s/libsharding_task_executor.a --no-whole-archive --whole-archive build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a --no-whole-archive --whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_impl.a --no-whole-archive --whole-archive build/opt/mongo/s/catalog/libdist_lock_cat
 alog_interface.a --no-whole-archive --whole-!
 archive build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a --no-whole-archive --whole-archive build/opt/mongo/s/libcommitted_optime_metadata_hook.a --no-whole-archive --whole-archive build/opt/mongo/s/commands/libcluster_commands.a --no-whole-archive --whole-archive build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libcluster_aggregate.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libmongos_process_interface.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libsharded_agg_helpers.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libcluster_aggregation_planner.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libmongo_process_common.a --no-whole-archive --whole-archive build/opt/mongo/s/commands/libshared_cluster_commands.a --no-whole-archive --whole-archive build/opt/mongo/executor/libasync_multicaster.a --no-whole-archive --whole-archive bui
 ld/opt/mongo/db/views/libviews.a --no-whole-archive --whole-archive build/opt/mongo/db/views/libresolved_view.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libaggregation.a --no-whole-archive --whole-archive build/opt/mongo/db/libshared_request_handling.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libwrite_commands_common.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libservers.a --no-whole-archive --whole-archive build/opt/mongo/util/libntservice.a --no-whole-archive --whole-archive build/opt/mongo/scripting/libscripting_common.a --no-whole-archive --whole-archive build/opt/mongo/shell/libmongojs.a --no-whole-archive --whole-archive build/opt/mongo/s/libsharding_legacy_api.a --no-whole-archive --whole-archive build/opt/mongo/s/libcluster_last_error_info.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libisself.a --no-whole-archive --whole-archive build/opt/mongo/db/libtraffic_recorder.a --no-whole-archive --whol
 e-archive build/opt/mongo/db/commands/libpro!
 file_comm!
 on.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/liblist_databases_command.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libkill_common.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libfeature_compatibility_parsers.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libcurrent_op_common.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libcore.a --no-whole-archive --whole-archive build/opt/mongo/logger/libparse_log_component_settings.a --no-whole-archive --whole-archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a --no-whole-archive --whole-archive build/opt/mongo/db/libstartup_warnings_common.a --no-whole-archive --whole-archive build/opt/mongo/db/libsessions_collection_sharded.a --no-whole-archive --whole-archive build/opt/mongo/s/libsharding_api.a --no-whole-archive --whole-archive build/opt/mongo/s/write_ops/libcluster_write_op.a --no-whole-archive --whole-ar
 chive build/opt/mongo/s/query/libcluster_query.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libstore_possible_cursor.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a --no-whole-archive --whole-archive build/opt/mongo/db/libcursor_server_params.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libcluster_client_cursor.a --no-whole-archive --whole-archive build/opt/mongo/s/query/librouter_exec_stage.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libasync_results_merger.a --no-whole-archive --whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a --no-whole-archive --whole-archive build/opt/mongo/db/storage/libduplicate_key_error_info.a --no-whole-archive --whole-archive build/opt/mongo/s/libsharding_router_api.a --no-whole-archive --whole-archive build/opt/mongo/s/libasync_requests_sender.a --no-whole-archive --whole-archive build/opt/mongo/s/client/libsharding_client.a --no-whole-a
 rchive --whole-archive build/opt/mongo/clien!
 t/libfetc!
 her.a --no-whole-archive --whole-archive build/opt/mongo/executor/libscoped_task_executor.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libtxn_cmd_request.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libquery_common.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libdistinct_command_idl.a --no-whole-archive --whole-archive build/opt/mongo/db/query/datetime/libinit_timezone_data.a --no-whole-archive --whole-archive build/opt/mongo/db/query/collation/libcollator_factory_icu.a --no-whole-archive --whole-archive build/opt/mongo/db/query/collation/libcollator_icu.a --no-whole-archive --whole-archive build/opt/mongo/db/libsessions_collection_rs.a --no-whole-archive --whole-archive build/opt/mongo/db/libdbdirectclient.a --no-whole-archive --whole-archive build/opt/mongo/db/liblasterror.a --no-whole-archive --whole-archive build/opt/mongo/client/libremote_command_targeter.a --no-whole-archive --whole-archive build/opt/mongo/db/libsession_cat
 alog.a --no-whole-archive --whole-archive build/opt/mongo/db/libservice_liaison_mongos.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_session_cache_impl.a --no-whole-archive --whole-archive build/opt/mongo/db/s/libsharding_api_d.a --no-whole-archive --whole-archive build/opt/mongo/db/librange_arithmetic.a --no-whole-archive --whole-archive build/opt/mongo/db/libservice_liaison.a --no-whole-archive --whole-archive build/opt/mongo/db/libinitialize_server_security_state.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libssl_parameters_auth.a --no-whole-archive --whole-archive build/opt/mongo/db/libserverinit.a --no-whole-archive --whole-archive build/opt/mongo/util/libsignal_handlers.a --no-whole-archive --whole-archive build/opt/mongo/db/liblog_process_details.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libreplica_set_messages.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libsplit_horizon.a --no-whole-archive --whole-ar
 chive build/opt/mongo/db/libserver_options_s!
 ervers.a !
 --no-whole-archive --whole-archive build/opt/mongo/db/libserver_options_base.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libsecurity_key.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libsecurity_file.a --no-whole-archive --whole-archive build/opt/mongo/db/ftdc/libftdc_mongos.a --no-whole-archive --whole-archive build/opt/mongo/db/ftdc/libftdc_server.a --no-whole-archive --whole-archive build/opt/mongo/db/ftdc/libftdc.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libserver_status_servers.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauthmongos.a --no-whole-archive --whole-archive build/opt/mongo/s/libcoreshard.a --no-whole-archive --whole-archive build/opt/mongo/util/concurrency/libthread_pool.a --no-whole-archive --whole-archive build/opt/mongo/s/libgrid.a --no-whole-archive --whole-archive build/opt/mongo/s/query/libcluster_cursor_manager.a --no-whole-archive --whole-archive build/opt/mongo/db/libkill_sessions.a -
 -no-whole-archive --whole-archive build/opt/mongo/s/libsharding_routing_table.a --no-whole-archive --whole-archive build/opt/mongo/s/libchunk_writes_tracker.a --no-whole-archive --whole-archive build/opt/mongo/s/client/libshard_interface.a --no-whole-archive --whole-archive build/opt/mongo/client/libremote_command_retry_scheduler.a --no-whole-archive --whole-archive build/opt/mongo/executor/libtask_executor_pool.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_time_metadata_hook.a --no-whole-archive --whole-archive build/opt/mongo/client/libclientdriver_network.a --no-whole-archive --whole-archive build/opt/mongo/executor/libthread_pool_task_executor.a --no-whole-archive --whole-archive build/opt/mongo/executor/libnetwork_interface_thread_pool.a --no-whole-archive --whole-archive build/opt/mongo/executor/libnetwork_interface_factory.a --no-whole-archive --whole-archive build/opt/mongo/executor/libnetwork_interface_tl.a --no-whole-archive --whole-archive build/opt/m
 ongo/transport/libtransport_layer_manager.a !
 --no-whol!
 e-archive --whole-archive build/opt/mongo/transport/libservice_executor.a --no-whole-archive --whole-archive build/opt/mongo/transport/libtransport_layer.a --no-whole-archive --whole-archive build/opt/mongo/base/libsystem_error.a --no-whole-archive --whole-archive build/opt/mongo/client/libasync_client.a --no-whole-archive --whole-archive build/opt/mongo/transport/libmessage_compressor.a --no-whole-archive --whole-archive build/opt/third_party/libshim_zstd.a --no-whole-archive build/opt/third_party/zstandard-1.3.7/libzstd.a --whole-archive build/opt/third_party/libshim_zlib.a --no-whole-archive --whole-archive build/opt/mongo/executor/libnetwork_interface.a --no-whole-archive --whole-archive build/opt/mongo/executor/libtask_executor_interface.a --no-whole-archive --whole-archive build/opt/mongo/executor/libconnection_pool_executor.a --no-whole-archive --whole-archive build/opt/mongo/executor/libegress_tag_closer_manager.a --no-whole-archive --whole-archive build/opt/mongo/executor/l
 ibconnection_pool_stats.a --no-whole-archive --whole-archive build/opt/mongo/s/catalog/libdist_lock_manager.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauthservercommon.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libauthentication_commands.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libsaslauth.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libsasl_options_init.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauth_impl_internal.a --no-whole-archive --whole-archive build/opt/mongo/db/catalog/libdocument_validation.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libuser_document_parser.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/librole_graph_update.a --no-whole-archive --whole-archive build/opt/mongo/db/update/libupdate_driver.a --no-whole-archive --whole-archive build/opt/mongo/db/update/libupdate.a --no-whole-archive --whole-archive build/opt/mongo/db/update/libupdat
 e_common.a --no-whole-archive --whole-archiv!
 e build/o!
 pt/mongo/db/pipeline/libpipeline.a --no-whole-archive --whole-archive build/opt/third_party/libshim_snappy.a --no-whole-archive --whole-archive build/opt/mongo/db/storage/libencryption_hooks.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libspeculative_majority_read_info.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/liboplog_entry.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/liblite_parsed_document_source.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libgranularity_rounder.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libaccumulator.a --no-whole-archive --whole-archive build/opt/mongo/db/libsessions_collection.a --no-whole-archive --whole-archive build/opt/mongo/s/write_ops/libbatch_write_types.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_session_id_helpers.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_session_cache.a --no-whole-archive --whole-archive bu
 ild/opt/mongo/db/libcurop_failpoint_helpers.a --no-whole-archive --whole-archive build/opt/mongo/db/libcurop.a --no-whole-archive --whole-archive build/opt/mongo/util/libprogress_meter.a --no-whole-archive --whole-archive build/opt/mongo/util/libdiagnostic_info.a --no-whole-archive --whole-archive build/opt/mongo/db/libgeneric_cursor.a --no-whole-archive --whole-archive build/opt/mongo/db/concurrency/liblock_manager.a --no-whole-archive --whole-archive build/opt/mongo/util/concurrency/libticketholder.a --no-whole-archive --whole-archive build/opt/mongo/db/concurrency/libflow_control_ticketholder.a --no-whole-archive --whole-archive build/opt/mongo/db/libbackground.a --no-whole-archive --whole-archive build/opt/mongo/client/libclientdriver_minimal.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libssl_manager.a --no-whole-archive --whole-archive build/opt/third_party/libshim_asio.a --no-whole-archive --whole-archive build/opt/third_party/asio-master/libasio.a --no-whole
 -archive --whole-archive build/opt/mongo/uti!
 l/net/lib!
 ssl_types.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libssl_options.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libsocket.a --no-whole-archive --whole-archive build/opt/mongo/util/libbackground_job.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libserver_status.a --no-whole-archive --whole-archive build/opt/mongo/db/stats/libcounters.a --no-whole-archive --whole-archive build/opt/mongo/db/libcommands.a --no-whole-archive --whole-archive build/opt/mongo/db/libaudit.a --no-whole-archive --whole-archive build/opt/mongo/client/libclient_query.a --no-whole-archive --whole-archive build/opt/mongo/client/libauthentication.a --no-whole-archive --whole-archive build/opt/mongo/db/libupdate_index_data.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libquery_planner.a --no-whole-archive --whole-archive build/opt/mongo/db/index/libkey_generator.a --no-whole-archive --whole-archive build/opt/mongo/db/libprojection_exec_agg.a --n
 o-whole-archive --whole-archive build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a --no-whole-archive --whole-archive build/opt/mongo/db/index/libindex_descriptor.a --no-whole-archive --whole-archive build/opt/mongo/db/catalog/libindex_catalog.a --no-whole-archive --whole-archive build/opt/mongo/db/catalog/libindex_catalog_entry.a --no-whole-archive --whole-archive build/opt/mongo/db/fts/libbase_fts.a --no-whole-archive --whole-archive build/opt/third_party/libshim_stemmer.a --no-whole-archive build/opt/third_party/libstemmer_c/libstemmer.a --whole-archive build/opt/mongo/db/matcher/libexpressions.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libquery_knobs.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libexpression.a --no-whole-archive --whole-archive build/opt/mongo/util/libsummation.a --no-whole-archive --whole-archive build/opt/mongo/util/libregex_util.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libexpression_co
 ntext.a --no-whole-archive --whole-archive b!
 uild/opt/!
 mongo/db/query/collation/libcollator_factory_interface.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libaggregation_request.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libexplain_options.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libcommand_request_response.a --no-whole-archive --whole-archive build/opt/mongo/rpc/librpc.a --no-whole-archive --whole-archive build/opt/mongo/rpc/libprotocol.a --no-whole-archive --whole-archive build/opt/third_party/wiredtiger/libwiredtiger_checksum.a --no-whole-archive --whole-archive build/opt/mongo/db/libwire_version.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libdocument_sources_idl.a --no-whole-archive --whole-archive build/opt/mongo/s/libcommon_s.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libquery_request.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libread_concern_args.a --no-whole-archive --whole-archive build/opt/mongo/db/catalog/libc
 ollection_catalog.a --no-whole-archive --whole-archive build/opt/mongo/db/catalog/libcollection.a --no-whole-archive --whole-archive build/opt/mongo/client/libconnection_string.a --no-whole-archive --whole-archive build/opt/mongo/util/libdns_query.a --no-whole-archive --whole-archive build/opt/mongo/db/storage/libkey_string.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libdependencies.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libdocument_value.a --no-whole-archive --whole-archive build/opt/mongo/util/libintrusive_counter.a --no-whole-archive --whole-archive build/opt/mongo/db/query/datetime/libdate_time_support.a --no-whole-archive --whole-archive build/opt/third_party/libshim_timelib.a --no-whole-archive build/opt/third_party/timelib-2021.06/libtimelib.a --whole-archive build/opt/mongo/db/pipeline/libfield_path.a --no-whole-archive --whole-archive build/opt/mongo/db/matcher/libpath.a --no-whole-archive --whole-archive build/opt/mongo/db/fts
 /libfts_query_noop.a --no-whole-archive --wh!
 ole-archi!
 ve build/opt/mongo/db/fts/unicode/libunicode.a --no-whole-archive --whole-archive build/opt/mongo/liblinenoise_utf8.a --no-whole-archive --whole-archive build/opt/mongo/db/index/libexpression_params.a --no-whole-archive --whole-archive build/opt/mongo/db/query/collation/libcollator_interface.a --no-whole-archive --whole-archive build/opt/mongo/db/libmongohasher.a --no-whole-archive --whole-archive build/opt/mongo/db/geo/libgeoparser.a --no-whole-archive --whole-archive build/opt/mongo/db/geo/libgeometry.a --no-whole-archive --whole-archive build/opt/third_party/s2/libs2.a --no-whole-archive --whole-archive build/opt/third_party/s2/util/math/libmath.a --no-whole-archive --whole-archive build/opt/third_party/s2/util/coding/libcoding.a --no-whole-archive --whole-archive build/opt/third_party/s2/strings/libstrings.a --no-whole-archive --whole-archive build/opt/third_party/s2/base/libbase_s2.a --no-whole-archive --whole-archive build/opt/mongo/db/bson/libdotted_path_support.a --no-whole-
 archive --whole-archive build/opt/mongo/db/ops/libwrite_ops_parsers.a --no-whole-archive --whole-archive build/opt/mongo/db/query/libhint_parser.a --no-whole-archive --whole-archive build/opt/mongo/db/pipeline/libruntime_constants_idl.a --no-whole-archive --whole-archive build/opt/mongo/db/libdbmessage.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauth_options.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libuser.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libsasl_options.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/librole_graph.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauthorization_manager_global.a --no-whole-archive --whole-archive build/opt/mongo/client/libsasl_client.a --no-whole-archive --whole-archive build/opt/mongo/util/libmd5.a --no-whole-archive --whole-archive build/opt/mongo/util/libicu.a --no-whole-archive --whole-archive build/opt/mongo/util/libicu_init.a --no-whole-archive --whol
 e-archive build/opt/third_party/libshim_icu.!
 a --no-wh!
 ole-archive --whole-archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a --no-whole-archive --whole-archive build/opt/third_party/icu4c-57.1/source/libicu_common.a --no-whole-archive --whole-archive build/opt/third_party/icu4c-57.1/source/libicu_data.a --no-whole-archive --whole-archive build/opt/mongo/rpc/libcommand_status.a --no-whole-archive --whole-archive build/opt/mongo/executor/libremote_command.a --no-whole-archive --whole-archive build/opt/mongo/rpc/libmetadata.a --no-whole-archive --whole-archive build/opt/mongo/rpc/libclient_metadata.a --no-whole-archive --whole-archive build/opt/mongo/s/libis_mongos.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_time_validator.a --no-whole-archive --whole-archive build/opt/mongo/db/libsigned_logical_time.a --no-whole-archive --whole-archive build/opt/mongo/db/libkeys_collection_manager.a --no-whole-archive --whole-archive build/opt/mongo/transport/libtransport_layer_common.a --no-whole-archive --whole-archive
  build/opt/mongo/db/repl/librepl_coordinator_interface.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libreplication_process.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/libstorage_interface.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/librollback_idl.a --no-whole-archive --whole-archive build/opt/mongo/db/libnamespace_string.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/liboptime.a --no-whole-archive --whole-archive build/opt/mongo/db/libkeys_collection_client_sharded.a --no-whole-archive --whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_clock.a --no-whole-archive --whole-archive build/opt/mongo/db/libglobal_settings.a --no-whole-archive --whole-archive build/opt/mongo/db/repl/librepl_settings.a --no-whole-archive --whole-archive build/opt/mongo/db/libkeys_collection_document.a --no-whole-archive --whole-archive build/opt/mongo/db/libtim
 e_proof_service.a --no-whole-archive --whole!
 -archive !
 build/opt/mongo/db/liblogical_time.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauthprivilege.a --no-whole-archive --whole-archive build/opt/mongo/rpc/libmetadata_impersonated_user.a --no-whole-archive --whole-archive build/opt/mongo/db/libserver_options.a --no-whole-archive --whole-archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a --no-whole-archive --whole-archive build/opt/mongo/db/libcommon.a --no-whole-archive --whole-archive build/opt/mongo/db/libwrite_concern_options.a --no-whole-archive --whole-archive build/opt/mongo/db/libindex_names.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libtest_commands_enabled.a --no-whole-archive --whole-archive build/opt/mongo/db/commands/libserver_status_core.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libaddress_restriction.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauthentication_restriction.a --no-whole-archive --whole-archive build/opt/mongo/bson/mutabl
 e/libmutable_bson.a --no-whole-archive --whole-archive build/opt/mongo/util/libsafe_num.a --no-whole-archive --whole-archive build/opt/mongo/db/auth/libauth.a --no-whole-archive --whole-archive build/opt/mongo/client/libread_preference.a --no-whole-archive --whole-archive build/opt/mongo/db/libservice_context.a --no-whole-archive --whole-archive build/opt/mongo/util/libperiodic_runner.a --no-whole-archive --whole-archive build/opt/mongo/util/libclock_sources.a --no-whole-archive --whole-archive build/opt/mongo/db/storage/libwrite_unit_of_work.a --no-whole-archive --whole-archive build/opt/mongo/util/libfail_point.a --no-whole-archive --whole-archive build/opt/mongo/db/storage/libstorage_options.a --no-whole-archive --whole-archive build/opt/mongo/db/libmulti_key_path_tracker.a --no-whole-archive --whole-archive build/opt/mongo/db/liblogical_session_id.a --no-whole-archive --whole-archive build/opt/mongo/idl/libserver_parameter.a --no-whole-archive --whole-archive build/opt/mongo/uti
 l/options_parser/liboptions_parser.a --no-wh!
 ole-archi!
 ve --whole-archive build/opt/third_party/libshim_yaml.a --no-whole-archive --whole-archive build/opt/third_party/yaml-cpp-0.6.2/libyaml.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libnetwork.a --no-whole-archive --whole-archive build/opt/mongo/util/libwinutil.a --no-whole-archive --whole-archive build/opt/mongo/util/concurrency/libspin_lock.a --no-whole-archive --whole-archive build/opt/mongo/util/net/libhttp_client.a --no-whole-archive --whole-archive build/opt/mongo/idl/libidl_parser.a --no-whole-archive --whole-archive build/opt/mongo/db/libcommand_generic_argument.a --no-whole-archive --whole-archive build/opt/mongo/crypto/libsha_block_openssl.a --no-whole-archive --whole-archive build/opt/mongo/crypto/libsha1_block.a --no-whole-archive --whole-archive build/opt/mongo/crypto/libsha256_block.a --no-whole-archive --whole-archive build/opt/mongo/util/libsecure_compare_memory.a --no-whole-archive --whole-archive build/opt/mongo/bson/util/libbson_extract.a --no-whol
 e-archive --whole-archive build/opt/mongo/base/libsecure_allocator.a --no-whole-archive --whole-archive build/opt/mongo/util/libsecure_zero_memory.a --no-whole-archive --whole-archive build/opt/mongo/util/libprocessinfo.a --no-whole-archive --whole-archive build/opt/mongo/db/libserver_options_core.a --no-whole-archive --whole-archive build/opt/mongo/libbase.a --no-whole-archive --whole-archive build/opt/third_party/murmurhash3/libmurmurhash3.a --no-whole-archive --whole-archive build/opt/third_party/libshim_pcrecpp.a --no-whole-archive --whole-archive build/opt/third_party/libshim_intel_decimal128.a --no-whole-archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a --whole-archive build/opt/third_party/libshim_fmt.a --no-whole-archive --whole-archive build/opt/third_party/fmt/libfmt.a --no-whole-archive --whole-archive build/opt/third_party/libshim_boost.a --no-whole-archive --whole-archive build/opt/third_party/libshim_abseil.a --no-whole-archive --whole-archive bu
 ild/opt/third_party/abseil-cpp-master/libabs!
 l_contain!
 er.a --no-whole-archive --whole-archive build/opt/third_party/abseil-cpp-master/libabsl_hash.a --no-whole-archive --whole-archive build/opt/mongo/util/libquick_exit.a --no-whole-archive --whole-archive build/opt/third_party/libshim_allocator.a --no-whole-archive build/opt/mongo/util/libdebugger.a --whole-archive build/opt/mongo/libboost_assert_shim.a --no-whole-archive --end-group -lcurl -lz -lsnappy -lsasl2 -lpcre -lpcrecpp -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lkvm -lcrypto -lssl -lcrypto -lrt -ldl -lexecinfo -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtendS.o /usr/lib/crtn.o
1.	Running pass 'Function Pass Manager' on module 'ld-temp.o'.
2.	Running pass 'Loop Pass Manager' on function '@_ZN5mongo14PlanEnumerator28getMultikeyCompoundablePredsERKNSt3__16vectorIPNS_15MatchExpressionENS1_9allocatorIS4_EEEES9_PS7_'
3.	Running pass 'Loop Strength Reduction' on basic block '%344'
#0 0x0000000001f05c1c (/usr/bin/ld.lld+0x1f05c1c)
#1 0x0000000001f03dd4 (/usr/bin/ld.lld+0x1f03dd4)
#2 0x0000000001f06440 (/usr/bin/ld.lld+0x1f06440)
#3 0x000000004373dc98 (/lib/libthr.so.3+0x29c98)
c++ -o build/opt/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-
 unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/mozjs-60/platfo
 rm/aarch64/freebsd/include -Isrc/third_party!
 /mozjs-60/platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.cpp
In file included from src/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.cpp:31:
In file included from src/third_party/mozjs-60/extract/js/src/jsexn.h:17:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22:
In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24:
In file included from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:12:
In file included from src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:13:
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:344:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
        typedef struct {
                      ^
                       Hasher
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:345:13: note: type is not C-compatible due to this member declaration
            typedef SlotsEdge Lookup;
            ^~~~~~~~~~~~~~~~~~~~~~~~
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:350:11: note: type is given name 'Hasher' for linkage purposes by this typedef declaration
        } Hasher;
          ^
In file included from src/third_party/mozjs-60/mongo_sources/mongoErrorReportToString.cpp:47:
In file included from src/third_party/mozjs-60/extract/js/src/vm/ErrorObject.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/vm/SavedStacks.h:11:
src/third_party/mozjs-60/include/mozilla/FastBernoulliTrial.h:368:21: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
    if (skipCount < SIZE_MAX)
                  ~ ^~~~~~~~
/usr/include/machine/_stdint.h:150:18: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX        UINT64_MAX
                        ^~~~~~~~~~
/usr/include/machine/_stdint.h:75:20: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX      0xffffffffffffffffUL
                        ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
c++ -o build/opt/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -fsized-deallocation -Wno-defaulted-function-deleted -stdlib=libc++ -std=c++17 -Wno-non-virtual-dtor -Wno-invalid-offsetof -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expr
 ession -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -flto -fno-builtin-memcmp -moutline-atomics -include js-confdefs.h -fpic -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Ibuild/opt/third_party/mozjs-60/extract/js/src -Isrc/third_party/mozjs-60/extract/js/src -Ibuild/opt/third_party/mozjs-60/extract/mfbt -Isrc/third_party/mozjs-60/extract/mfbt -Ibuild/opt/third_party/mozjs-60/extract/intl/icu/source/common -Isrc/third_party/mozjs-60/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-60/include -Isrc/third_party/mozjs-60/include -Ibuild/opt/third_party/mozjs-60/mongo_sources -Isrc/third_party/mozjs-60/mongo_sources -Ibuild/opt/third_party/mozjs-60/platform/aarch64/freebsd/build -Isrc/third_party/mozjs-60/platform/aarch64/freebsd/build -Ibuild/opt/third_party/moz
 js-60/platform/aarch64/freebsd/include -Isrc!
 /third_party/mozjs-60/platform/aarch64/freebsd/include -I/usr/local/include src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: linker command failed due to signal (use -v to see invocation)
scons: *** [build/opt/mongo/mongos] Error 254
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/frontend/TokenStream.cpp:9:
In file included from src/third_party/mozjs-60/extract/js/src/frontend/TokenStream.h:183:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSContext.h:22:
In file included from src/third_party/mozjs-60/extract/js/src/vm/Runtime.h:24:
In file included from src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.h:14:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSObject.h:12:
In file included from src/third_party/mozjs-60/extract/js/src/gc/Barrier.h:13:
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:344:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
        typedef struct {
                      ^
                       Hasher
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:345:13: note: type is not C-compatible due to this member declaration
            typedef SlotsEdge Lookup;
            ^~~~~~~~~~~~~~~~~~~~~~~~
src/third_party/mozjs-60/extract/js/src/gc/StoreBuffer.h:350:11: note: type is given name 'Hasher' for linkage purposes by this typedef declaration
        } Hasher;
          ^
In file included from src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp:2:
In file included from src/third_party/mozjs-60/extract/js/src/frontend/TokenStream.cpp:26:
In file included from src/third_party/mozjs-60/extract/js/src/frontend/Parser.h:175:
In file included from src/third_party/mozjs-60/extract/js/src/frontend/FullParseHandler.h:16:
In file included from src/third_party/mozjs-60/extract/js/src/frontend/SharedContext.h:18:
In file included from src/third_party/mozjs-60/extract/js/src/vm/EnvironmentObject.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/gc/WeakMap.h:18:
In file included from src/third_party/mozjs-60/extract/js/src/vm/JSCompartment.h:24:
In file included from src/third_party/mozjs-60/extract/js/src/vm/GlobalObject.h:17:
In file included from src/third_party/mozjs-60/extract/js/src/vm/ErrorObject.h:13:
In file included from src/third_party/mozjs-60/extract/js/src/vm/SavedStacks.h:11:
src/third_party/mozjs-60/include/mozilla/FastBernoulliTrial.h:368:21: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
    if (skipCount < SIZE_MAX)
                  ~ ^~~~~~~~
/usr/include/machine/_stdint.h:150:18: note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX        UINT64_MAX
                        ^~~~~~~~~~
/usr/include/machine/_stdint.h:75:20: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX      0xffffffffffffffffUL
                        ^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
scons: building terminated because of errors.
build/opt/mongo/mongos failed: Error 254
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mongodb42