# python3 buildscripts/scons.py DESTDIR=/opt/mongo install-mongod --disable-warnings-as-errors Checking required python packages... Requirements list: Cheetah3<=3.2.6.post1 PyYAML<=6.0.0,>=3.0.0 packaging<=21.3 psutil<=5.8.0 pymongo<4.0,>=3.9 pypiwin32>=223; sys_platform == "win32" and python_version > "3" pywin32>=225; sys_platform == "win32" and python_version > "3" regex<=2021.11.10 requests<=2.26.0,>=2.0.0 requirements_parser<=0.3.1 setuptools Resolved to these distributions: certifi 2022.6.15 charset-normalizer 2.0.12 cheetah3 3.2.6.post1 idna 3.3 packaging 21.3 psutil 5.8.0 pymongo 3.12.3 pyparsing 3.0.9 pyyaml 6.0 regex 2021.11.10 requests 2.26.0 requirements-parser 0.3.1 setuptools 47.1.0 types-setuptools 57.4.18 urllib3 1.26.10 scons: Reading SConscript files ... scons: running with args /usr/bin/python3 buildscripts/scons.py DESTDIR=/opt/mongo install-mongod --disable-warnings-as-errors scons version: 3.1.2 python version: 3 7 13 'final' 0 CC is gcc gcc found in $PATH at /usr/bin/gcc CXX is g++ g++ found in $PATH at /usr/bin/g++ Checking if C++ compiler "g++" is GCC... (cached) yes Checking if C compiler "gcc" is GCC... (cached) yes Detected a ppc64le processor Checking if target OS linux is supported by the toolchain... (cached) yes Checking if C compiler is GCC 8.2 or newer...(cached) yes Checking if C++ compiler is GCC 8.2 or newer...(cached) yes Checking if linker supports -fuse-ld=lld... (cached) no Checking if linker supports -fuse-ld=gold... (cached) yes Checking whether the C compiler works... (cached) yes Checking whether the C++ compiler works... (cached) yes Checking that the C++ compiler can link a C++ program... (cached) yes Checking if C compiler supports -Wno-unused-local-typedefs... (cached) yes Checking if C compiler supports -Wno-unused-function... (cached) yes Checking if C compiler supports -Wno-unused-private-field... (cached) no Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no Checking if C compiler supports -Wno-tautological-constant-compare... (cached) no Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... (cached) no Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... (cached) no Checking if C compiler supports -Wno-unused-const-variable... (cached) yes Checking if C compiler supports -Wno-unused-but-set-variable... (cached) yes Checking if C compiler supports -Wno-missing-braces... (cached) yes Checking if C compiler supports -Wno-inconsistent-missing-override... (cached) no Checking if C compiler supports -Wno-potentially-evaluated-expression... (cached) no Checking if C++ compiler supports -Wpessimizing-move... (cached) no Checking if C++ compiler supports -Wno-maybe-uninitialized... (cached) yes Checking if C++ compiler supports -Wno-undefined-var-template... (cached) no Checking if C++ compiler supports -Wno-instantiation-after-specialization... (cached) no Checking if C compiler supports -Wno-unused-lambda-capture... (cached) no Checking if C++ compiler supports -fsized-deallocation... (cached) yes Checking if C++ compiler supports -Wno-defaulted-function-deleted... (cached) no Checking if C++ compiler supports -Wunused-exception-parameter... (cached) no Checking if -Wnon-virtual-dtor works reasonably... (cached) no Checking if C compiler supports -fstack-protector-strong... (cached) yes Checking if we are using libstdc++... (cached) yes Checking if C++ compiler supports -std=c++17... (cached) yes Checking if C compiler supports -std=c11... (cached) yes Checking for C++17... (cached) yes Checking for memset_s... (cached) no Checking for C function strnlen()... (cached) yes Checking for C function explicit_bzero()... (cached) yes Checking for libstdc++ 5.3.0 or better... (cached) yes Checking if we are on a POSIX system... (cached) yes Checking if the POSIX monotonic clock is supported... (cached) yes Checking off_t is 8 bytes... (cached) yes Checking if linker supports -Wl,--no-threads... (cached) yes Checking if linker supports -Wl,--build-id... (cached) yes Checking if linker supports -Wl,--hash-style=gnu... (cached) yes Checking if linker supports -Wl,-z,noexecstack... (cached) yes Checking if linker supports -Wl,--warn-execstack... (cached) yes Checking if linker supports -Wl,-z,relro... (cached) yes Checking if C compiler supports -Wa,--nocompress-debug-sections... (cached) yes Checking elf.h for SHF_COMPRESSED... (cached) yes Checking if linker supports -Wl,--compress-debug-sections=none... (cached) yes Checking for glibc with non-broken _FORTIFY_SOURCE...(cached) yes Checking if pthread_setname_np is supported... (cached) yes Checking for SSLeay_version(0) in C library crypto... (cached) yes Checking for SSL_version(NULL) in C library ssl... (cached) yes Checking that linking to OpenSSL works...(cached) yes Checking whether FIPS_mode_set is declared... (cached) yes Checking whether d2i_ASN1_SEQUENCE_ANY is declared... (cached) yes Checking if SSL_[CTX_]_set_ecdh_auto is supported... (cached) yes Checking if EC_KEY_new_by_curve_name is supported... (cached) yes Using SSL Provider: openssl Checking for C library rt... (cached) yes Checking for C library dl... (cached) yes Checking for C++ header file execinfo.h... (cached) yes Checking whether backtrace is declared... (cached) yes Checking whether backtrace_symbols is declared... (cached) yes Checking whether backtrace_symbols_fd is declared... (cached) yes Checking for C library pcap... (cached) no Checking for C library wpcap... (cached) no Checking if std::atomic works... (cached) yes Checking if std::atomic works... (cached) yes Checking if std::atomic works... (cached) yes Checking if std::atomic works... (cached) yes Checking for extended alignment 128 for concurrency types... (cached) yes Checking for mongoc_get_major_version() in C library mongoc-1.0... (cached) no Checking for curl_global_init(0) in C library curl... (cached) yes Checking for curl_global_init(0) in C library curl... (cached) yes Checking for vec_vbperm output in index 0... (cached) no Checking for vec_vbperm output in index 1... (cached) yes Checking for C header file sys/sdt.h... (cached) no Checking for C function fallocate()... (cached) yes Checking for C function sync_file_range()... (cached) yes Checking for C header file arm_neon.h... (cached) no scons: done reading SConscript files. scons: Building targets ... Compiling build/opt/mongo/db/keys_collection_client_direct.o Compiling build/opt/mongo/util/future_util.o Compiling build/opt/mongo/db/auth/restriction_environment.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38, from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c:31: src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c: In function '__bid128_frexp': src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:142:28: note: the ABI of passing aggregates with 16-byte alignment has changed in GCC 5 #define bid128_frexp __bid128_frexp ^~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:1856:6: note: in definition of macro 'BID128_FUNCTION_ARG128_CUSTOMARGTYPE2_PLAIN' fn_name (BID_UINT128 bid_##arg_name1, \ ^~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c:34:45: note: in expansion of macro 'bid128_frexp' BID128_FUNCTION_ARG128_CUSTOMARGTYPE2_PLAIN(bid128_frexp, x, int*, exp) ^~~~~~~~~~~~ Generating library build/opt/mongo/base/libsecure_allocator.a Skipping ranlib for thin archive build/opt/mongo/base/libsecure_allocator.a Compiling build/opt/mongo/db/fts/fts_unicode_tokenizer.o Compiling build/opt/mongo/logv2/log_tag.o Compiling build/opt/mongo/util/signal_win32.o Compiling build/opt/mongo/util/signal_handlers.o Compiling build/opt/mongo/db/pipeline/accumulator_push.o Compiling build/opt/mongo/db/repl/topology_version_observer.o Compiling build/opt/mongo/db/resumable_index_builds_gen.o Compiling build/opt/mongo/db/storage/flow_control.o Compiling build/opt/mongo/db/repl/member_config_gen.o Generating build/opt/mongo/db/auth/sasl_commands_gen.cpp Compiling build/opt/mongo/db/auth/sasl_payload.o Compiling build/opt/mongo/db/s/flush_routing_table_cache_updates_command.o Compiling build/opt/mongo/db/auth/sasl_plain_server_conversation.o Compiling build/opt/mongo/db/storage/backup_block.o Compiling build/opt/mongo/db/commands/validate_db_metadata_gen.o Compiling build/opt/mongo/db/query/index_entry.o Compiling build/opt/mongo/db/auth/role_name_or_string.o Compiling build/opt/mongo/db/s/collection_sharding_state_factory_standalone.o Compiling build/opt/third_party/icu4c-57.1/source/common/uhash.o Generating build/opt/mongo/db/s/create_collection_coordinator_document_gen.cpp Compiling build/opt/mongo/db/commands/find_cmd.o Compiling build/opt/mongo/db/repl/optime_base_gen.o Compiling build/opt/mongo/db/catalog/import_collection_oplog_entry_gen.o Compiling build/opt/mongo/db/read_write_concern_defaults.o Compiling build/opt/mongo/db/read_write_concern_defaults_gen.o Compiling build/opt/mongo/db/pipeline/document_source_list_sessions.o Compiling build/opt/mongo/db/query/plan_executor_factory.o Compiling build/opt/mongo/db/concurrency/flow_control_ticketholder.o Generating library build/opt/mongo/s/query/libcluster_query.a Skipping ranlib for thin archive build/opt/mongo/s/query/libcluster_query.a Generating library build/opt/mongo/rpc/libclient_metadata.a Skipping ranlib for thin archive build/opt/mongo/rpc/libclient_metadata.a Compiling build/opt/mongo/transport/message_compressor_zstd.o Compiling build/opt/mongo/transport/message_compressor_snappy.o Compiling build/opt/mongo/transport/message_compressor_manager.o Compiling build/opt/mongo/transport/message_compressor_zlib.o Compiling build/opt/mongo/transport/message_compressor_registry.o Compiling build/opt/mongo/db/update/pullall_node.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o Generating library build/opt/third_party/boost/libboost_filesystem.a Compiling build/opt/third_party/icu4c-57.1/source/i18n/name2uni.o Skipping ranlib for thin archive build/opt/third_party/boost/libboost_filesystem.a Compiling build/opt/mongo/db/index/index_access_method_factory_impl.o Compiling build/opt/mongo/db/repl/replication_consistency_markers_gen.o Compiling build/opt/mongo/db/exec/shard_filter.o Generating library build/opt/mongo/client/sdam/libsdam_configuration_parameters.a Skipping ranlib for thin archive build/opt/mongo/client/sdam/libsdam_configuration_parameters.a Compiling build/opt/mongo/s/request_types/update_zone_key_range_request_type.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o Compiling build/opt/mongo/db/commands/connection_status_gen.o Compiling build/opt/mongo/db/s/resharding/resharding_oplog_fetcher.o Generating library build/opt/mongo/db/libtime_proof_service.a Compiling build/opt/mongo/client/sasl_client_session.o Skipping ranlib for thin archive build/opt/mongo/db/libtime_proof_service.a Compiling build/opt/mongo/db/s/resharding/resharding_donor_recipient_common.o Generating build/opt/mongo/db/repl/repl_set_test_egress_gen.cpp Compiling build/opt/mongo/db/update/pop_node.o Compiling build/opt/mongo/db/repl/apply_ops_command_info.o Compiling build/opt/mongo/db/repl/apply_ops_gen.o Compiling build/opt/mongo/db/s/periodic_sharded_index_consistency_checker.o Compiling build/opt/mongo/db/catalog/index_catalog_entry_impl.o Compiling build/opt/third_party/icu4c-57.1/source/i18n/remtrans.o Compiling build/opt/mongo/db/s/cleanup_orphaned_cmd.o Compiling build/opt/mongo/s/chunk_manager_targeter.o Compiling build/opt/mongo/s/cluster_write.o Compiling build/opt/mongo/s/cluster_ddl.o Compiling build/opt/third_party/icu4c-57.1/source/i18n/uspoof_impl.o Compiling build/opt/third_party/mozjs/extract/modules/fdlibm/s_trunc.o Compiling build/opt/mongo/db/update/storage_validation.o Compiling build/opt/mongo/db/update/update_oplog_entry_serialization.o Compiling build/opt/mongo/db/update/v1_log_builder.o Compiling build/opt/mongo/db/update/field_checker.o Compiling build/opt/mongo/db/commands/fle2_compact.o Compiling build/opt/mongo/db/commands/fle2_compact_gen.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o Compiling build/opt/mongo/db/repl/data_replicator_external_state_initial_sync.o Compiling build/opt/mongo/s/balancer_configuration.o Compiling build/opt/mongo/s/catalog_cache.o Compiling build/opt/mongo/s/grid.o Compiling build/opt/mongo/s/client/shard_registry.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o Compiling build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters_gen.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o Compiling build/opt/third_party/icu4c-57.1/source/i18n/coptccal.o In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38, from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c:30: src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c: In function '__bid128_fdim': src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:172:29: note: the ABI of passing aggregates with 16-byte alignment has changed in GCC 5 #define bid128_fdim __bid128_fdim ^~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:1779:6: note: in definition of macro 'BID128_FUNCTION_ARG2' fn_name (BID_UINT128 bid_##arg_name1, \ ^~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c:41:23: note: in expansion of macro 'bid128_fdim' BID128_FUNCTION_ARG2 (bid128_fdim, x, y) ^~~~~~~~~~~ Compiling build/opt/mongo/db/query/hint_parser.o /usr/bin/python3 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.yml src/mongo/shell/error_codes.tpl.js build/opt/mongo/shell/error_codes.js Compiling build/opt/third_party/icu4c-57.1/source/i18n/bocsu.o Compiling build/opt/third_party/icu4c-57.1/source/common/bytestrie.o Compiling build/opt/mongo/db/pipeline/document_source_list_local_sessions.o Compiling build/opt/mongo/util/safe_num.o Compiling build/opt/mongo/db/s/resharding/resharding_recipient_service_external_state.o Compiling build/opt/mongo/db/process_health/health_monitoring_gen.o /usr/bin/python3 src/mongo/db/fts/generate_stop_words.py src/mongo/db/fts/stop_words_danish.txt src/mongo/db/fts/stop_words_dutch.txt src/mongo/db/fts/stop_words_english.txt src/mongo/db/fts/stop_words_finnish.txt src/mongo/db/fts/stop_words_french.txt src/mongo/db/fts/stop_words_german.txt src/mongo/db/fts/stop_words_hungarian.txt src/mongo/db/fts/stop_words_italian.txt src/mongo/db/fts/stop_words_norwegian.txt src/mongo/db/fts/stop_words_portuguese.txt src/mongo/db/fts/stop_words_romanian.txt src/mongo/db/fts/stop_words_russian.txt src/mongo/db/fts/stop_words_spanish.txt src/mongo/db/fts/stop_words_swedish.txt src/mongo/db/fts/stop_words_turkish.txt build/opt/mongo/db/fts/stop_words_list.h build/opt/mongo/db/fts/stop_words_list.cpp Compiling build/opt/mongo/db/query/optimizer/utils/memo_utils.o Generating library build/opt/mongo/util/net/libssl_types.a Skipping ranlib for thin archive build/opt/mongo/util/net/libssl_types.a Compiling build/opt/mongo/db/pipeline/document_source_fill.o Compiling build/opt/mongo/db/commands/feature_compatibility_version_document_gen.o Compiling build/opt/mongo/db/repl/oplog_interface_remote.o Compiling build/opt/third_party/icu4c-57.1/source/i18n/collationiterator.o Compiling build/opt/mongo/db/repl/initial_syncer.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o Generating library build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a Skipping ranlib for thin archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a Generating build/opt/mongo/db/catalog/index_build_entry_gen.cpp Compiling build/opt/mongo/db/repl/repl_set_get_status_cmd.o Compiling build/opt/mongo/db/repl/repl_set_command.o Compiling build/opt/third_party/icu4c-57.1/source/common/bytestrieiterator.o Compiling build/opt/mongo/db/s/transaction_coordinator_util.o Compiling build/opt/mongo/db/query/collation/collator_factory_interface.o Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38, from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_trans.h:61, from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c:31: src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c: In function '__bid64_pow': src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:711:28: note: the ABI of passing aggregates with 16-byte alignment has changed in GCC 5 #define binary128_to_bid64 __binary128_to_bid64 ^ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:1136:12: note: in definition of macro 'BIDECIMAL_CALL1' _RES = _FUNC((_OP1) _RND_MODE_ARG _EXC_FLAGS_ARG _EXC_MASKS_ARG _EXC_INFO_ARG) ^~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_trans.h:329:32: note: in expansion of macro 'binary128_to_bid64' # define binary80_to_bid64 binary128_to_bid64 ^~~~~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c:193:20: note: in expansion of macro 'binary80_to_bid64' BIDECIMAL_CALL1 (binary80_to_bid64, res, rd); ^~~~~~~~~~~~~~~~~ Compiling build/opt/mongo/db/service_entry_point_mongod.o Compiling build/opt/mongo/db/views/durable_view_catalog.o Compiling build/opt/third_party/icu4c-57.1/source/common/utrie2_builder.o Compiling build/opt/third_party/mozjs/platform/ppc64le/linux/build/Unified_cpp_js_src22.o Compiling build/opt/mongo/db/repl/oplog_buffer_proxy.o Generating library build/opt/mongo/s/query/librouter_exec_stage.a Compiling build/opt/mongo/db/auth/enable_localhost_auth_bypass_parameter_gen.o Compiling build/opt/mongo/db/pipeline/window_function/window_bounds.o Skipping ranlib for thin archive build/opt/mongo/s/query/librouter_exec_stage.a Compiling build/opt/mongo/db/query/optimizer/utils/interval_utils.o Compiling build/opt/mongo/db/s/config/configsvr_split_chunk_command.o Compiling build/opt/mongo/client/dbclient_rs.o Compiling build/opt/mongo/util/processinfo_linux.o Compiling build/opt/mongo/db/pipeline/document_source_documents.o Compiling build/opt/mongo/db/index/wildcard_key_generator.o Compiling build/opt/third_party/icu4c-57.1/source/common/utrace.o Generating library build/opt/mongo/db/libsessions_collection_standalone.a Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection_standalone.a Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:38, from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c:31: src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c: In function '__bid128_minnum': src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:510:23: note: the ABI of passing aggregates with 16-byte alignment has changed in GCC 5 #define bid128_minnum __bid128_minnum ^~~~~~~~~~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_conf.h:1791:6: note: in definition of macro 'BID128_FUNCTION_ARG2_NORND' fn_name (BID_UINT128 bid_##arg_name1, \ ^~~~~~~ src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c:37:28: note: in expansion of macro 'bid128_minnum' BID128_FUNCTION_ARG2_NORND(bid128_minnum, x, y) ^~~~~~~~~~~~~ Compiling build/opt/mongo/db/query/plan_enumerator.o Compiling build/opt/mongo/db/audit.o g++: fatal error: Killed signal terminated program cc1plus compilation terminated. g++: fatal error: Killed signal terminated program cc1plus compilation terminated. scons: *** [build/opt/mongo/db/s/resharding/resharding_oplog_fetcher.o] Error 1 scons: *** [build/opt/mongo/db/s/resharding/resharding_donor_recipient_common.o] Error 1 scons: building terminated because of errors. build/opt/mongo/db/s/resharding/resharding_oplog_fetcher.o failed: Error 1 build/opt/mongo/db/s/resharding/resharding_donor_recipient_common.o failed: Error 1