Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2021 10:04:32 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-arm64-default][databases/mongodb42] Failed for mongodb42-4.2.14 in build
Message-ID:  <202106291004.15TA4Wst011939@ampere2.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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/p1ac2d7ea8e41_sf94360971e/logs/mongodb42-4.2.14.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p1ac2d7ea8e41_sf94360971e
Log:

=>> Building databases/mongodb42
build started at Tue Jun 29 07:53:22 UTC 2021
port directory: /usr/ports/databases/mongodb42
package name: mongodb42-4.2.14
building for: FreeBSD main-arm64-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400024 arm64
maintained by: ronald-lists@klop.ws
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1400024
Job Id: 06




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400024
UNAME_v=FreeBSD 14.0-CURRENT 1400024
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-8-gaf08dbda
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-rc2-0-ge7dac564cd0e) 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-rc2-0-ge7dac564cd0e) 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-rc2-0-ge7dac564cd0e) 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=1400024
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.16.3.txz
[main-arm64-default-job-06] Installing pkg-1.16.3...
[main-arm64-default-job-06] Extracting pkg-1.16.3: .......... 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.txz
<snip>
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
5 warnings generated.
/usr/local/bin/python3.8 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/query/cluster_query_knobs_gen.h --output build/opt/mongo/s/query/cluster_query_knobs_gen.cpp src/mongo/s/query/cluster_query_knobs.idl
c++ -o build/opt/mongo/s/query/cluster_query_knobs_gen.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 -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-stro
 ng -flto -fno-builtin-memcmp -moutline-atomics -fpic -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/SafeInt -Isrc/third_party/fmt/dist/include -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/usr/local/include -Ibuild/opt -Isrc build/opt/mongo/s/query/cluster_query_knobs_gen.cpp
In file included from build/opt/mongo/s/query/cluster_query_knobs_gen.cpp:16:
In file included from src/mongo/db/commands.h:46:
In file included from src/mongo/db/query/explain.h:34:
In file included from src/mongo/db/query/canonical_query.h:39:
In file included from src/mongo/db/query/parsed_projection.h:33:
In file included from src/mongo/db/matcher/expression_parser.h:38:
In file included from src/mongo/db/matcher/expression_with_placeholder.h:37:
In file included from src/mongo/db/pipeline/expression_context.h:43:
src/mongo/db/pipeline/mongo_process_interface.h:107:12: warning: expression result unused [-Wunused-value]
    static MONGO_DECLARE_SHIM(
           ^~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:136:51: note: expanded from macro 'MONGO_DECLARE_SHIM'
#define MONGO_DECLARE_SHIM(/*SHIM_SIGNATURE*/...) MONGO_DECLARE_SHIM_1(__LINE__, __VA_ARGS__)
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:137:39: note: expanded from macro 'MONGO_DECLARE_SHIM_1'
#define MONGO_DECLARE_SHIM_1(LN, ...) MONGO_DECLARE_SHIM_2(LN, __VA_ARGS__)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/base/shim.h:170:17: note: expanded from macro 'MONGO_DECLARE_SHIM_2'
                LibTUHook{};                                                                      \
                ^        ~~
1 warning generated.
c++ -o build/opt/mongo/db/snapshot_window_util.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 -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 -fpic -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/s2 -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/db/snapshot_window_util.cpp
/usr/local/bin/ar rcsTD build/opt/mongo/db/libsnapshot_window_util.a build/opt/mongo/db/snapshot_window_util.o
Skipping ranlib for thin archive build/opt/mongo/db/libsnapshot_window_util.a
cc -o build/opt/third_party/wiredtiger/src/meta/meta_ckpt.o -c -std=c11 -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 -fpic -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -DHAVE_VERBOSE -DHAVE_ARM_NEON_INTRIN_H -DHAVE_BUILTIN_EXTENSION_ZLIB -D
 HAVE_BUILTIN_EXTENSION_SNAPPY -DHAVE_BUILTIN_EXTENSION_ZSTD -Isrc/third_party/zstandard-1.3.7/zstd/lib -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/usr/local/include -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_freebsd -Isrc/third_party/wiredtiger/build_freebsd src/third_party/wiredtiger/src/meta/meta_ckpt.c
c++ -o build/opt/mongo/db/repl/scatter_gather_algorithm.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 -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-str
 ong -flto -fno-builtin-memcmp -moutline-atomics -fpic -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/s2 -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/db/repl/scatter_gather_algorithm.cpp
ld.lld: error: undefined symbol: __aarch64_ldadd8_acq_rel
>>> referenced by atomic:1050 (/usr/include/c++/v1/atomic:1050)
>>>               lto.tmp:(_GLOBAL__sub_I_dbshell.cpp)
>>> referenced by memory:2419 (/usr/include/c++/v1/memory:2419)
>>>               lto.tmp:(mongo::latch_detail::Registration::Registration(mongo::latch_detail::Identity))
>>> referenced by memory:2419 (/usr/include/c++/v1/memory:2419)
>>>               lto.tmp:(mongo::latch_detail::Registration::~Registration())
>>> referenced 7636 more times

ld.lld: error: undefined symbol: __aarch64_ldadd8_relax
>>> referenced by memory:2408 (/usr/include/c++/v1/memory:2408)
>>>               lto.tmp:(_GLOBAL__sub_I_dbshell.cpp)
>>> referenced by memory:2408 (/usr/include/c++/v1/memory:2408)
>>>               lto.tmp:(mongo::latch_detail::Registration::Registration(mongo::latch_detail::Identity))
>>> referenced by memory:2408 (/usr/include/c++/v1/memory:2408)
>>>               lto.tmp:(mongo::future_details::SharedStateBase::SharedStateBase())
>>> referenced 562 more times

ld.lld: error: undefined symbol: __aarch64_ldadd4_acq_rel
>>> referenced by atomic:1050 (/usr/include/c++/v1/atomic:1050)
>>>               lto.tmp:(_GLOBAL__sub_I_dbshell.cpp)
>>> referenced by atomic:1072 (/usr/include/c++/v1/atomic:1072)
>>>               lto.tmp:(generateCompletions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&))
>>> referenced by atomic:1072 (/usr/include/c++/v1/atomic:1072)
>>>               lto.tmp:(generateCompletions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&))
>>> referenced 16748 more times

ld.lld: error: undefined symbol: __aarch64_cas1_acq_rel
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(mongo::auth::(anonymous namespace)::authMongoCRImpl(std::__1::function<mongo::Future<mongo::BSONObj> (mongo::OpMsgRequest)>, mongo::BSONObj const&))
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(mongo::auth::(anonymous namespace)::authMongoCRImpl(std::__1::function<mongo::Future<mongo::BSONObj> (mongo::OpMsgRequest)>, mongo::BSONObj const&))
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(auto mongo::future_details::throwingCall<mongo::auth::(anonymous namespace)::authMongoCRImpl(std::__1::function<mongo::Future<mongo::BSONObj> (mongo::OpMsgRequest)>, mongo::BSONObj const&)::$_0&, mongo::BSONObj>(mongo::auth::(anonymous namespace)::authMongoCRImpl(std::__1::function<mongo::Future<mongo::BSONObj> (mongo::OpMsgRequest)>, mongo::BSONObj const&)::$_0&, mongo::BSONObj&&))
>>> referenced 162 more times

ld.lld: error: undefined symbol: __aarch64_ldadd4_relax
>>> referenced by atomic:1050 (/usr/include/c++/v1/atomic:1050)
>>>               lto.tmp:(auto mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::generalImpl<mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>*) &&::'lambda'(mongo::future_details::FakeVoid&&), mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>*) &&::'lambda'(mongo::Status&&), mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>*) &&::'lambda'()>(mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>*) &&::'lambda'(mongo::future_details::FakeVoid&&)&&, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future
 _details::SharedStateImpl<mongo::future_details::FakeVoid>*) &&::'lambda'(mongo::Status&&)&&, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>*) &&::'lambda'()&&))
>>> referenced by atomic:1050 (/usr/include/c++/v1/atomic:1050)
>>>               lto.tmp:(js::jit::CanEnterBaselineAtBranch(JSContext*, js::InterpreterFrame*))
>>> referenced by atomic:1050 (/usr/include/c++/v1/atomic:1050)
>>>               lto.tmp:(js::jit::CanEnterBaselineMethod(JSContext*, js::RunState&))
>>> referenced 790 more times

ld.lld: error: undefined symbol: __aarch64_swp1_acq_rel
>>> referenced by atomic:1017 (/usr/include/c++/v1/atomic:1017)
>>>               lto.tmp:(mongo::future_details::SharedStateBase::transitionToFinished())
>>> referenced by AtomicOperations-arm64.h:67 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:67)
>>>               lto.tmp:(js::atomics_exchange(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:67 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:67)
>>>               lto.tmp:(js::atomics_exchange(JSContext*, unsigned int, JS::Value*))
>>> referenced 17 more times

ld.lld: error: undefined symbol: __aarch64_cas1_acq
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(mongo::future_details::SharedStateBase::wait(mongo::Interruptible*))

ld.lld: error: undefined symbol: __aarch64_cas8_acq_rel
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(mongo::Interruptible::NotInterruptible::getExpirationDateForWaitForValue(mongo::Duration<std::__1::ratio<1l, 1000l> >))
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(mongo::ThreadPool::schedule(mongo::unique_function<void (mongo::Status)>))
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(mongo::ThreadPool::_consumeTasks())
>>> referenced 53 more times

ld.lld: error: undefined symbol: __aarch64_swp1_acq
>>> referenced by atomic:1017 (/usr/include/c++/v1/atomic:1017)
>>>               lto.tmp:(mongo::repl::SplitHorizon::setParameters(mongo::Client*, boost::optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >))
>>> referenced by atomic:1017 (/usr/include/c++/v1/atomic:1017)
>>>               lto.tmp:(mongo::repl::SplitHorizon::setParameters(mongo::Client*, boost::optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >))
>>> referenced by atomic:1017 (/usr/include/c++/v1/atomic:1017)
>>>               lto.tmp:(mongo::repl::SplitHorizon::setParameters(mongo::Client*, boost::optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >))
>>> referenced 72 more times

ld.lld: error: undefined symbol: __aarch64_cas4_acq_rel
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(MOZ_CrashPrintf)
>>> referenced by AtomicsObject.cpp:0 (src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.cpp:0)
>>>               lto.tmp:(js::atomics_compareExchange(JSContext*, unsigned int, JS::Value*))
>>> referenced by atomic:1028 (/usr/include/c++/v1/atomic:1028)
>>>               lto.tmp:(JSContext::requestInterrupt(JSContext::InterruptMode))
>>> referenced 15 more times

ld.lld: error: undefined symbol: __aarch64_cas2_acq_rel
>>> referenced by AtomicOperations-arm64.h:76 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:76)
>>>               lto.tmp:(js::atomics_compareExchange(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:76 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:76)
>>>               lto.tmp:(js::atomics_compareExchange(JSContext*, unsigned int, JS::Value*))

ld.lld: error: undefined symbol: __aarch64_swp4_acq_rel
>>> referenced by AtomicsObject.cpp:0 (src/third_party/mozjs-60/extract/js/src/builtin/AtomicsObject.cpp:0)
>>>               lto.tmp:(js::atomics_exchange(JSContext*, unsigned int, JS::Value*))
>>> referenced by atomic:1017 (/usr/include/c++/v1/atomic:1017)
>>>               lto.tmp:(mongo::executor::NetworkInterfaceTL::startup())
>>> referenced by atomic:1017 (/usr/include/c++/v1/atomic:1017)
>>>               lto.tmp:(mongo::executor::NetworkInterfaceTL::shutdown())

ld.lld: error: undefined symbol: __aarch64_swp2_acq_rel
>>> referenced by AtomicOperations-arm64.h:67 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:67)
>>>               lto.tmp:(js::atomics_exchange(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:67 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:67)
>>>               lto.tmp:(js::atomics_exchange(JSContext*, unsigned int, JS::Value*))

ld.lld: error: undefined symbol: __aarch64_ldadd1_acq_rel
>>> referenced by AtomicOperations-arm64.h:85 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:85)
>>>               lto.tmp:(js::atomics_add(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:85 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:85)
>>>               lto.tmp:(js::atomics_add(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:93 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:93)
>>>               lto.tmp:(js::atomics_sub(JSContext*, unsigned int, JS::Value*))
>>> referenced 1 more times

ld.lld: error: undefined symbol: __aarch64_ldadd2_acq_rel
>>> referenced by AtomicOperations-arm64.h:85 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:85)
>>>               lto.tmp:(js::atomics_add(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:85 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:85)
>>>               lto.tmp:(js::atomics_add(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:93 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:93)
>>>               lto.tmp:(js::atomics_sub(JSContext*, unsigned int, JS::Value*))
>>> referenced 1 more times

ld.lld: error: undefined symbol: __aarch64_ldclr1_acq_rel
>>> referenced by AtomicOperations-arm64.h:101 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:101)
>>>               lto.tmp:(js::atomics_and(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:101 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:101)
>>>               lto.tmp:(js::atomics_and(JSContext*, unsigned int, JS::Value*))

ld.lld: error: undefined symbol: __aarch64_ldclr2_acq_rel
>>> referenced by AtomicOperations-arm64.h:101 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:101)
>>>               lto.tmp:(js::atomics_and(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:101 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:101)
>>>               lto.tmp:(js::atomics_and(JSContext*, unsigned int, JS::Value*))

ld.lld: error: undefined symbol: __aarch64_ldclr4_acq_rel
>>> referenced by AtomicOperations-arm64.h:101 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:101)
>>>               lto.tmp:(js::atomics_and(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:101 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:101)
>>>               lto.tmp:(js::atomics_and(JSContext*, unsigned int, JS::Value*))
>>> referenced by atomic:1093 (/usr/include/c++/v1/atomic:1093)
>>>               lto.tmp:(mongo::FailPoint::setMode(mongo::FailPoint::Mode, unsigned int, mongo::BSONObj const&))
>>> referenced 2 more times

ld.lld: error: undefined symbol: __aarch64_ldset1_acq_rel
>>> referenced by AtomicOperations-arm64.h:109 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:109)
>>>               lto.tmp:(js::atomics_or(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:109 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:109)
>>>               lto.tmp:(js::atomics_or(JSContext*, unsigned int, JS::Value*))

ld.lld: error: undefined symbol: __aarch64_ldset2_acq_rel
>>> referenced by AtomicOperations-arm64.h:109 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:109)
>>>               lto.tmp:(js::atomics_or(JSContext*, unsigned int, JS::Value*))
>>> referenced by AtomicOperations-arm64.h:109 (src/third_party/mozjs-60/extract/js/src/jit/arm64/AtomicOperations-arm64.h:109)
>>>               lto.tmp:(js::atomics_or(JSContext*, unsigned int, JS::Value*))

ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/opt/mongo/mongo] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongo failed: Error 1
===> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106291004.15TA4Wst011939>