Created
January 14, 2020 09:19
-
-
Save itachiluan/3aa7a404ca2fbbdd3005caf2295efc3b to your computer and use it in GitHub Desktop.
build log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Package: dev-db/mongodb-4.0.13 | |
* Repository: gentoo | |
* Maintainer: ultrabug@gentoo.org | |
* USE: arm64 elibc_glibc kernel_linux ssl tools userland_GNU | |
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox | |
>>> Unpacking source... | |
>>> Unpacking mongodb-src-r4.0.13.tar.gz to /var/tmp/portage/dev-db/mongodb-4.0.13/work | |
>>> Source unpacked in /var/tmp/portage/dev-db/mongodb-4.0.13/work | |
>>> Preparing source in /var/tmp/portage/dev-db/mongodb-4.0.13/work/mongodb-src-r4.0.13 ... | |
* Applying mongodb-3.6.1-fix-scons.patch ... | |
[ ok ] | |
* Applying mongodb-4.0.0-no-compass.patch ... | |
[ ok ] | |
* Applying mongodb-4.0.12-boost-1.71-cxxabi-include.patch ... | |
[ ok ] | |
>>> Source prepared. | |
>>> Configuring source in /var/tmp/portage/dev-db/mongodb-4.0.13/work/mongodb-src-r4.0.13 ... | |
>>> Source configured. | |
>>> Compiling source in /var/tmp/portage/dev-db/mongodb-4.0.13/work/mongodb-src-r4.0.13 ... | |
scons -j5 CC=aarch64-unknown-linux-gnu-gcc CXX=aarch64-unknown-linux-gnu-g++ --disable-warnings-as-errors --use-system-boost --use-system-pcre --use-system-snappy --use-system-stemmer --use-system-yaml --use-system-zlib --ssl core tools | |
scons: Reading SConscript files ... | |
* Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p | |
Mkdir("build/scons") | |
scons version: 3.1.1 | |
python version: 2 7 17 'final' 0 | |
Checking whether the C compiler works... yes | |
Checking whether the C++ compiler works... yes | |
Checking that the C++ compiler can link a C++ program... yes | |
Checking if C++ compiler "aarch64-unknown-linux-gnu-g++" is GCC... yes | |
Checking if C compiler "aarch64-unknown-linux-gnu-gcc" is GCC... yes | |
Detected a aarch64 processor | |
Checking if target OS linux is supported by the toolchain... yes | |
Checking if C compiler is GCC 5.3.0 or newer...yes | |
Checking if C++ compiler is GCC 5.3.0 or newer...yes | |
Checking if C compiler supports -Wno-unused-local-typedefs... yes | |
Checking if C compiler supports -Wno-unused-function... yes | |
Checking if C compiler supports -Wno-unused-private-field... no | |
Checking if C compiler supports -Wno-deprecated-declarations... yes | |
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no | |
Checking if C compiler supports -Wno-tautological-constant-compare... no | |
Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no | |
Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no | |
Checking if C compiler supports -Wno-unused-const-variable... yes | |
Checking if C compiler supports -Wno-unused-but-set-variable... yes | |
Checking if C compiler supports -Wno-missing-braces... yes | |
Checking if C compiler supports -Wno-inconsistent-missing-override... no | |
Checking if C compiler supports -Wno-potentially-evaluated-expression... no | |
Checking if C++ compiler supports -Wpessimizing-move... yes | |
Checking if C++ compiler supports -Wredundant-move... yes | |
Checking if C++ compiler supports -Wno-maybe-uninitialized... yes | |
Checking if C++ compiler supports -Wno-undefined-var-template... no | |
Checking if C++ compiler supports -Wno-instantiation-after-specialization... no | |
Checking if C compiler supports -Wno-unused-lambda-capture... no | |
Checking if C compiler supports -Wno-exceptions... no | |
Checking -Wnon-virtual-dtor for false positives... no | |
Checking if C compiler supports -fstack-protector-strong... yes | |
Checking if we are using libstdc++... yes | |
Checking if C++ compiler supports -std=c++14... yes | |
Checking if C compiler supports -std=c11... yes | |
WARNING: System versions of C++ libraries must be compiled with C++14 support | |
Checking for C++14... yes | |
Checking for memset_s... no | |
Checking for C function strnlen()... yes | |
Checking for libstdc++ 5.3.0 or better... yes | |
Checking if we are on a POSIX system... yes | |
Checking if the POSIX monotonic clock is supported... yes | |
Checking off_t is 8 bytes... yes | |
Checking if linker supports -fuse-ld=gold... yes | |
Checking if linker supports -Wl,--build-id... yes | |
Checking if linker supports -Wl,--hash-style=gnu... yes | |
Checking if linker supports -Wl,-z,noexecstack... yes | |
Checking if linker supports -Wl,--warn-execstack... yes | |
Checking if linker supports -Wl,-z,relro... yes | |
Checking for glibc with non-broken _FORTIFY_SOURCE...yes | |
Checking if C compiler supports -fno-builtin-memcmp... yes | |
Checking for storage class thread_local yes | |
Checking for C++14 std::enable_if_t support...yes | |
Checking for C++14 std::make_unique support... yes | |
Checking if pthread_setname_np is supported... yes | |
Checking for SSLeay_version(0) in C library crypto... yes | |
Checking for SSL_version(NULL) in C library ssl... yes | |
Checking that linking to OpenSSL works...yes | |
Checking whether FIPS_mode_set is declared... yes | |
Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes | |
Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes | |
Using SSL Provider: openssl | |
Checking for curl_global_init(0) in C library curl... yes | |
Checking for C library pcre... yes | |
Checking for C library pcrecpp... yes | |
Checking for C library snappy... yes | |
Checking for C library z... yes | |
Checking for C library stemmer... yes | |
Checking for C library yaml-cpp... yes | |
Checking for C++ header file boost/filesystem/operations.hpp... yes | |
Checking if system boost version is 1.49 or newer...yes | |
Checking for C++ library boost_filesystem-mt... yes | |
Checking for C++ library boost_program_options-mt... yes | |
Checking for C++ library boost_system-mt... yes | |
Checking for C++ library boost_iostreams-mt... yes | |
Checking for C library rt... yes | |
Checking for C library dl... yes | |
Checking for C++ header file execinfo.h... yes | |
Checking whether backtrace is declared... yes | |
Checking whether backtrace_symbols is declared... yes | |
Checking whether backtrace_symbols_fd is declared... yes | |
Checking for C library pcap... yes | |
Checking if std::atomic<int64_t> works... yes | |
Checking if std::atomic<uint64_t> works... yes | |
Checking if std::atomic<int32_t> works... yes | |
Checking if std::atomic<uint32_t> works... yes | |
Checking for extended alignment 64 for concurrency types... yes | |
Checking for mongoc_get_major_version() in C library mongoc-1.0... no | |
*** Run 'pip2 install --user regex' to speed up error code checking | |
Checking if __malloc_hook is declared volatile... yes | |
Checking for C function fallocate()... yes | |
Checking for C function sync_file_range()... yes | |
Checking for C header file arm_neon.h... yes | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
/usr/bin/python2.7 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/opt/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/opt/mongo/base/error_codes.cpp | |
Creating 'build/opt/mongo/config.h' | |
/usr/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/logical_session_id_gen.h --output build/opt/mongo/db/logical_session_id_gen.cpp src/mongo/db/logical_session_id.idl | |
/usr/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/generic_cursor_gen.h --output build/opt/mongo/db/generic_cursor_gen.cpp src/mongo/db/generic_cursor.idl | |
/usr/bin/python2.7 src/mongo/db/auth/generate_action_types.py src/mongo/db/auth/action_types.txt build/opt/mongo/db/auth/action_type.h build/opt/mongo/db/auth/action_type.cpp | |
Compiling build/opt/mongo/db/fts/fts_index_format.o | |
/usr/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/query/async_results_merger_params_gen.h --output build/opt/mongo/s/query/async_results_merger_params_gen.cpp src/mongo/s/query/async_results_merger_params.idl | |
/usr/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/db/query/tailable_mode_gen.h --output build/opt/mongo/db/query/tailable_mode_gen.cpp src/mongo/db/query/tailable_mode.idl | |
/usr/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/database_version_gen.h --output build/opt/mongo/s/database_version_gen.cpp src/mongo/s/database_version.idl | |
Compiling build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o | |
/usr/bin/python2.7 buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch aarch64 --header build/opt/mongo/s/catalog/type_chunk_base_gen.h --output build/opt/mongo/s/catalog/type_chunk_base_gen.cpp src/mongo/s/catalog/type_chunk_base.idl | |
Compiling build/opt/third_party/gperftools-2.5/src/thread_cache.o | |
Compiling build/opt/mongo/db/field_parser.o | |
Compiling build/opt/mongo/s/commands/cluster_coll_stats_cmd.o | |
Compiling build/opt/third_party/icu4c-57.1/source/common/uinvchar.o | |
Compiling build/opt/mongo/s/commands/cluster_find_cmd.o | |
Compiling build/opt/mongo/client/connection_string_connect.o | |
In file included from src/mongo/db/pipeline/value.h:35, | |
from src/mongo/db/pipeline/document_internal.h:39, | |
from src/mongo/db/pipeline/document.h:33, | |
from src/mongo/db/pipeline/dependencies.h:37, | |
from src/mongo/db/matcher/expression.h:42, | |
from src/mongo/db/query/canonical_query.h:37, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_coll_stats_cmd.cpp:35: | |
src/mongo/db/pipeline/value_internal.h: In copy constructor ‘mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:168:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
168 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In constructor ‘mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)’: | |
src/mongo/db/pipeline/value_internal.h:173:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
173 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In destructor ‘mongo::ValueStorage::~ValueStorage()’: | |
src/mongo/db/pipeline/value_internal.h:181:45: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment [-Wclass-memaccess] | |
181 | DEV memset(this, 0xee, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:196:42: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
196 | memmove(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)’: | |
src/mongo/db/pipeline/value_internal.h:205:42: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
205 | memmove(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘void mongo::ValueStorage::swap(mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:214:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
214 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h:215:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
215 | memcpy(&rhs, temp, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘void mongo::ValueStorage::zero()’: | |
src/mongo/db/pipeline/value_internal.h:302:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] | |
302 | memset(this, 0, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
In file included from src/mongo/db/pipeline/document.h:33, | |
from src/mongo/db/pipeline/dependencies.h:37, | |
from src/mongo/db/matcher/expression.h:42, | |
from src/mongo/db/query/canonical_query.h:37, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_coll_stats_cmd.cpp:35: | |
src/mongo/db/pipeline/document_internal.h: In member function ‘void mongo::DocumentStorage::hashTabInit()’: | |
src/mongo/db/pipeline/document_internal.h:351:44: warning: ‘void* memset(void*, int, size_t)’ writing to an object of non-trivial type ‘class mongo::Position’; use assignment instead [-Wclass-memaccess] | |
351 | memset(_hashTab, -1, hashTabBytes()); | |
| ^ | |
src/mongo/db/pipeline/document_internal.h:47:7: note: ‘class mongo::Position’ declared here | |
47 | class Position { | |
| ^~~~~~~~ | |
In file included from src/mongo/db/pipeline/value.h:35, | |
from src/mongo/db/pipeline/document_internal.h:39, | |
from src/mongo/db/pipeline/document.h:33, | |
from src/mongo/db/pipeline/dependencies.h:37, | |
from src/mongo/db/matcher/expression.h:42, | |
from src/mongo/db/query/canonical_query.h:37, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/db/pipeline/document_source.h:46, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:33, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:33: | |
src/mongo/db/pipeline/value_internal.h: In copy constructor ‘mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:168:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
168 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In constructor ‘mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)’: | |
src/mongo/db/pipeline/value_internal.h:173:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
173 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In destructor ‘mongo::ValueStorage::~ValueStorage()’: | |
src/mongo/db/pipeline/value_internal.h:181:45: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment [-Wclass-memaccess] | |
181 | DEV memset(this, 0xee, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:196:42: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
196 | memmove(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)’: | |
src/mongo/db/pipeline/value_internal.h:205:42: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
205 | memmove(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘void mongo::ValueStorage::swap(mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:214:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
214 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h:215:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
215 | memcpy(&rhs, temp, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘void mongo::ValueStorage::zero()’: | |
src/mongo/db/pipeline/value_internal.h:302:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] | |
302 | memset(this, 0, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
In file included from src/mongo/db/pipeline/document.h:33, | |
from src/mongo/db/pipeline/dependencies.h:37, | |
from src/mongo/db/matcher/expression.h:42, | |
from src/mongo/db/query/canonical_query.h:37, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/db/pipeline/document_source.h:46, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:33, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:33: | |
src/mongo/db/pipeline/document_internal.h: In member function ‘void mongo::DocumentStorage::hashTabInit()’: | |
src/mongo/db/pipeline/document_internal.h:351:44: warning: ‘void* memset(void*, int, size_t)’ writing to an object of non-trivial type ‘class mongo::Position’; use assignment instead [-Wclass-memaccess] | |
351 | memset(_hashTab, -1, hashTabBytes()); | |
| ^ | |
src/mongo/db/pipeline/document_internal.h:47:7: note: ‘class mongo::Position’ declared here | |
47 | class Position { | |
| ^~~~~~~~ | |
In file included from src/mongo/db/matcher/expression_text_base.h:33, | |
from src/mongo/db/matcher/extensions_callback.h:34, | |
from src/mongo/db/matcher/extensions_callback_noop.h:33, | |
from src/mongo/db/query/canonical_query.h:38, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_coll_stats_cmd.cpp:35: | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:192:25: warning: redundant move in return statement [-Wredundant-move] | |
192 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:192:25: note: remove ‘std::move’ call | |
In file included from src/mongo/db/matcher/expression_text_base.h:33, | |
from src/mongo/db/matcher/extensions_callback.h:34, | |
from src/mongo/db/matcher/extensions_callback_noop.h:33, | |
from src/mongo/db/query/canonical_query.h:38, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/db/pipeline/document_source.h:46, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:33, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:33: | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:192:25: warning: redundant move in return statement [-Wredundant-move] | |
192 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:192:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] | |
214 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:214:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] | |
214 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:214:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:236:25: warning: redundant move in return statement [-Wredundant-move] | |
236 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:236:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:236:25: warning: redundant move in return statement [-Wredundant-move] | |
236 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:236:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:258:25: warning: redundant move in return statement [-Wredundant-move] | |
258 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:258:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:258:25: warning: redundant move in return statement [-Wredundant-move] | |
258 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:258:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:280:25: warning: redundant move in return statement [-Wredundant-move] | |
280 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:280:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:280:25: warning: redundant move in return statement [-Wredundant-move] | |
280 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:280:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] | |
300 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:300:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] | |
300 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:300:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] | |
344 | return std::move(m); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:344:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] | |
344 | return std::move(m); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:344:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] | |
380 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:380:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] | |
380 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:380:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] | |
561 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:561:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] | |
561 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:561:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] | |
582 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:582:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] | |
582 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:582:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] | |
603 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:603:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] | |
603 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:603:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] | |
624 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:624:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] | |
624 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:624:25: note: remove ‘std::move’ call | |
In file included from src/mongo/db/matcher/expression_parser.h:39, | |
from src/mongo/db/query/parsed_projection.h:32, | |
from src/mongo/db/query/canonical_query.h:40, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_coll_stats_cmd.cpp:35: | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:128:25: warning: redundant move in return statement [-Wredundant-move] | |
128 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
In file included from src/mongo/db/matcher/expression_parser.h:39, | |
from src/mongo/db/query/parsed_projection.h:32, | |
from src/mongo/db/query/canonical_query.h:40, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/db/pipeline/document_source.h:46, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.h:33, | |
from src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp:33: | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:128:25: warning: redundant move in return statement [-Wredundant-move] | |
128 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:128:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h:128:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:157:25: warning: redundant move in return statement [-Wredundant-move] | |
157 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:157:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:157:25: warning: redundant move in return statement [-Wredundant-move] | |
157 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:157:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:186:25: warning: redundant move in return statement [-Wredundant-move] | |
186 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:186:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:186:25: warning: redundant move in return statement [-Wredundant-move] | |
186 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:186:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:204:25: warning: redundant move in return statement [-Wredundant-move] | |
204 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:204:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:204:25: warning: redundant move in return statement [-Wredundant-move] | |
204 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:204:25: note: remove ‘std::move’ call | |
Compiling build/opt/third_party/icu4c-57.1/source/i18n/tzrule.o | |
Compiling build/opt/third_party/icu4c-57.1/source/i18n/collationtailoring.o | |
Compiling build/opt/mongo/util/icu.o | |
src/mongo/client/connection_string_connect.cpp: In member function ‘std::unique_ptr<mongo::DBClientBase> mongo::ConnectionString::connect(mongo::StringData, std::string&, double, const mongo::MongoURI*) const’: | |
src/mongo/client/connection_string_connect.cpp:72:33: warning: redundant move in return statement [-Wredundant-move] | |
72 | return std::move(c); | |
| ~~~~~~~~~^~~ | |
src/mongo/client/connection_string_connect.cpp:72:33: note: remove ‘std::move’ call | |
src/mongo/client/connection_string_connect.cpp:85:29: warning: redundant move in return statement [-Wredundant-move] | |
85 | return std::move(set); | |
| ~~~~~~~~~^~~~~ | |
src/mongo/client/connection_string_connect.cpp:85:29: note: remove ‘std::move’ call | |
aarch64-unknown-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus | |
compilation terminated. | |
scons: *** [build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o] Error 1 | |
In file included from src/mongo/db/pipeline/value.h:35, | |
from src/mongo/db/pipeline/document_internal.h:39, | |
from src/mongo/db/pipeline/document.h:33, | |
from src/mongo/db/pipeline/dependencies.h:37, | |
from src/mongo/db/matcher/expression.h:42, | |
from src/mongo/db/query/canonical_query.h:37, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_find_cmd.cpp:37: | |
src/mongo/db/pipeline/value_internal.h: In copy constructor ‘mongo::ValueStorage::ValueStorage(const mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:168:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
168 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In constructor ‘mongo::ValueStorage::ValueStorage(mongo::ValueStorage&&)’: | |
src/mongo/db/pipeline/value_internal.h:173:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
173 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In destructor ‘mongo::ValueStorage::~ValueStorage()’: | |
src/mongo/db/pipeline/value_internal.h:181:45: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment [-Wclass-memaccess] | |
181 | DEV memset(this, 0xee, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘mongo::ValueStorage& mongo::ValueStorage::operator=(const mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:196:42: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
196 | memmove(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)’: | |
src/mongo/db/pipeline/value_internal.h:205:42: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
205 | memmove(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘void mongo::ValueStorage::swap(mongo::ValueStorage&)’: | |
src/mongo/db/pipeline/value_internal.h:214:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
214 | memcpy(this, &rhs, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h:215:41: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] | |
215 | memcpy(&rhs, temp, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
src/mongo/db/pipeline/value_internal.h: In member function ‘void mongo::ValueStorage::zero()’: | |
src/mongo/db/pipeline/value_internal.h:302:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class mongo::ValueStorage’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] | |
302 | memset(this, 0, sizeof(*this)); | |
| ^ | |
src/mongo/db/pipeline/value_internal.h:80:7: note: ‘class mongo::ValueStorage’ declared here | |
80 | class ValueStorage { | |
| ^~~~~~~~~~~~ | |
In file included from src/mongo/db/pipeline/document.h:33, | |
from src/mongo/db/pipeline/dependencies.h:37, | |
from src/mongo/db/matcher/expression.h:42, | |
from src/mongo/db/query/canonical_query.h:37, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_find_cmd.cpp:37: | |
src/mongo/db/pipeline/document_internal.h: In member function ‘void mongo::DocumentStorage::hashTabInit()’: | |
src/mongo/db/pipeline/document_internal.h:351:44: warning: ‘void* memset(void*, int, size_t)’ writing to an object of non-trivial type ‘class mongo::Position’; use assignment instead [-Wclass-memaccess] | |
351 | memset(_hashTab, -1, hashTabBytes()); | |
| ^ | |
src/mongo/db/pipeline/document_internal.h:47:7: note: ‘class mongo::Position’ declared here | |
47 | class Position { | |
| ^~~~~~~~ | |
In file included from src/mongo/db/matcher/expression_text_base.h:33, | |
from src/mongo/db/matcher/extensions_callback.h:34, | |
from src/mongo/db/matcher/extensions_callback_noop.h:33, | |
from src/mongo/db/query/canonical_query.h:38, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_find_cmd.cpp:37: | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::EqualityMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:192:25: warning: redundant move in return statement [-Wredundant-move] | |
192 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:192:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTEMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:214:25: warning: redundant move in return statement [-Wredundant-move] | |
214 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:214:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::LTMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:236:25: warning: redundant move in return statement [-Wredundant-move] | |
236 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:236:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:258:25: warning: redundant move in return statement [-Wredundant-move] | |
258 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:258:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::GTEMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:280:25: warning: redundant move in return statement [-Wredundant-move] | |
280 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:280:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::RegexMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:300:25: warning: redundant move in return statement [-Wredundant-move] | |
300 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:300:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ModMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:344:25: warning: redundant move in return statement [-Wredundant-move] | |
344 | return std::move(m); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:344:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::ExistsMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:380:25: warning: redundant move in return statement [-Wredundant-move] | |
380 | return std::move(e); | |
| ~~~~~~~~~^~~ | |
src/mongo/db/matcher/expression_leaf.h:380:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllSetMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:561:25: warning: redundant move in return statement [-Wredundant-move] | |
561 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:561:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAllClearMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:582:25: warning: redundant move in return statement [-Wredundant-move] | |
582 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:582:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnySetMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:603:25: warning: redundant move in return statement [-Wredundant-move] | |
603 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:603:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_leaf.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::BitsAnyClearMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_leaf.h:624:25: warning: redundant move in return statement [-Wredundant-move] | |
624 | return std::move(bitTestMatchExpression); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ | |
src/mongo/db/matcher/expression_leaf.h:624:25: note: remove ‘std::move’ call | |
In file included from src/mongo/db/matcher/expression_parser.h:39, | |
from src/mongo/db/query/parsed_projection.h:32, | |
from src/mongo/db/query/canonical_query.h:40, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_find_cmd.cpp:37: | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::AndMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:128:25: warning: redundant move in return statement [-Wredundant-move] | |
128 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:128:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::OrMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:157:25: warning: redundant move in return statement [-Wredundant-move] | |
157 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:157:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NorMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:186:25: warning: redundant move in return statement [-Wredundant-move] | |
186 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:186:25: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_tree.h: In member function ‘virtual std::unique_ptr<mongo::MatchExpression> mongo::NotMatchExpression::shallowClone() const’: | |
src/mongo/db/matcher/expression_tree.h:204:25: warning: redundant move in return statement [-Wredundant-move] | |
204 | return std::move(self); | |
| ~~~~~~~~~^~~~~~ | |
src/mongo/db/matcher/expression_tree.h:204:25: note: remove ‘std::move’ call | |
In file included from src/mongo/db/matcher/expression_parser.h:40, | |
from src/mongo/db/query/parsed_projection.h:32, | |
from src/mongo/db/query/canonical_query.h:40, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_coll_stats_cmd.cpp:35: | |
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’: | |
src/mongo/db/matcher/expression_type.h:56:38: required from here | |
src/mongo/db/matcher/expression_type.h:61:30: warning: redundant move in return statement [-Wredundant-move] | |
61 | return std::move(expr); | |
| ^ | |
src/mongo/db/matcher/expression_type.h:61:30: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’: | |
src/mongo/db/matcher/expression_type.h:56:38: required from here | |
src/mongo/db/matcher/expression_type.h:61:30: warning: redundant move in return statement [-Wredundant-move] | |
src/mongo/db/matcher/expression_type.h:61:30: note: remove ‘std::move’ call | |
In file included from src/mongo/db/matcher/expression_parser.h:40, | |
from src/mongo/db/query/parsed_projection.h:32, | |
from src/mongo/db/query/canonical_query.h:40, | |
from src/mongo/db/query/explain.h:35, | |
from src/mongo/db/commands.h:47, | |
from src/mongo/s/commands/cluster_find_cmd.cpp:37: | |
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’: | |
src/mongo/db/matcher/expression_type.h:56:38: required from here | |
src/mongo/db/matcher/expression_type.h:61:30: warning: redundant move in return statement [-Wredundant-move] | |
61 | return std::move(expr); | |
| ^ | |
src/mongo/db/matcher/expression_type.h:61:30: note: remove ‘std::move’ call | |
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’: | |
src/mongo/db/matcher/expression_type.h:56:38: required from here | |
src/mongo/db/matcher/expression_type.h:61:30: warning: redundant move in return statement [-Wredundant-move] | |
src/mongo/db/matcher/expression_type.h:61:30: note: remove ‘std::move’ call | |
scons: building terminated because of errors. | |
build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o failed: Error 1 | |
* ERROR: dev-db/mongodb-4.0.13::gentoo failed (compile phase): | |
* escons failed. | |
* | |
* Call stack: | |
* ebuild.sh, line 125: Called src_compile | |
* environment, line 2969: Called escons 'CC=aarch64-unknown-linux-gnu-gcc' 'CXX=aarch64-unknown-linux-gnu-g++' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--ssl' 'core' 'tools' | |
* environment, line 1278: Called die | |
* The specific snippet of code: | |
* die -n "escons failed." | |
* | |
* If you need support, post the output of `emerge --info '=dev-db/mongodb-4.0.13::gentoo'`, | |
* the complete build log and the output of `emerge -pqv '=dev-db/mongodb-4.0.13::gentoo'`. | |
* The complete build log is located at '/var/tmp/portage/dev-db/mongodb-4.0.13/temp/build.log'. | |
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-4.0.13/temp/environment'. | |
* Working directory: '/var/tmp/portage/dev-db/mongodb-4.0.13/work/mongodb-src-r4.0.13' | |
* S: '/var/tmp/portage/dev-db/mongodb-4.0.13/work/mongodb-src-r4.0.13' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment