<86>Feb 7 01:43:17 userdel[434560]: delete user 'rooter' <86>Feb 7 01:43:17 userdel[434560]: removed group 'rooter' owned by 'rooter' <86>Feb 7 01:43:17 userdel[434560]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 7 01:43:17 groupadd[434565]: group added to /etc/group: name=rooter, GID=660 <86>Feb 7 01:43:17 groupadd[434565]: group added to /etc/gshadow: name=rooter <86>Feb 7 01:43:17 groupadd[434565]: new group: name=rooter, GID=660 <86>Feb 7 01:43:17 useradd[434569]: new user: name=rooter, UID=660, GID=660, home=/root, shell=/bin/bash <86>Feb 7 01:43:17 userdel[434575]: delete user 'builder' <86>Feb 7 01:43:17 userdel[434575]: removed group 'builder' owned by 'builder' <86>Feb 7 01:43:17 userdel[434575]: removed shadow group 'builder' owned by 'builder' <86>Feb 7 01:43:17 groupadd[434580]: group added to /etc/group: name=builder, GID=661 <86>Feb 7 01:43:17 groupadd[434580]: group added to /etc/gshadow: name=builder <86>Feb 7 01:43:17 groupadd[434580]: new group: name=builder, GID=661 <86>Feb 7 01:43:17 useradd[434584]: new user: name=builder, UID=661, GID=661, home=/usr/src, shell=/bin/bash <13>Feb 7 01:43:26 rpmi: libboost_system1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libopenblas-0.2.20-alt2 p9+229427.100.2.1 1558020504 installed <13>Feb 7 01:43:27 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696275 installed <13>Feb 7 01:43:27 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Feb 7 01:43:27 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Feb 7 01:43:27 rpmi: libboost_atomic1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_contract1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_random1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_chrono1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_timer1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_filesystem1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_thread1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:27 rpmi: libboost_type_erasure1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:32 rpmi: valgrind-3.15.0-alt1 sisyphus+227330.200.1.2 1555620866 installed <13>Feb 7 01:43:32 rpmi: libyaml2-0.2.2-alt1 sisyphus+229134.100.1.1 1557342720 installed <13>Feb 7 01:43:32 rpmi: libyaml-cpp0-0.6.2-alt2 sisyphus+222677.100.1.1 1550991970 installed <13>Feb 7 01:43:32 rpmi: libstemmer-0-alt1.svn585 1428058058 installed <13>Feb 7 01:43:32 rpmi: libsnappy-1.1.7-alt1 sisyphus+227320.100.1.3 1555618688 installed <13>Feb 7 01:43:32 rpmi: libpcrecpp3-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Feb 7 01:43:32 rpmi: libpcre16-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Feb 7 01:43:32 rpmi: pcretest-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Feb 7 01:43:32 rpmi: libpcre-devel-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Feb 7 01:43:32 rpmi: libunwind-1.1-alt3 sisyphus+222321.100.1.1 1550757592 installed <13>Feb 7 01:43:32 rpmi: libgperftools-2.6.3-alt1 1521472871 installed <13>Feb 7 01:43:32 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Feb 7 01:43:32 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Feb 7 01:43:32 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Feb 7 01:43:32 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Feb 7 01:43:32 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Feb 7 01:43:32 rpmi: libpcap0.8-2:1.9.1-alt2 p9+263886.100.3.1 1609171732 installed <13>Feb 7 01:43:32 rpmi: publicsuffix-list-dafsa-20210121-alt1 p9+265130.100.3.1 1611941989 installed <13>Feb 7 01:43:32 rpmi: libpsl-0.21.1-alt1 p9+255207.100.1.1 1595355041 installed <13>Feb 7 01:43:32 rpmi: libnghttp2-1.41.0-alt1 p9+256449.100.1.1 1597829543 installed <13>Feb 7 01:43:32 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Feb 7 01:43:32 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Feb 7 01:43:32 rpmi: libboost_program_options1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:32 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Feb 7 01:43:33 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Feb 7 01:43:34 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Feb 7 01:43:34 rpmi: libboost_context1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:34 rpmi: libboost_fiber1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:34 rpmi: libboost_stacktrace1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:34 rpmi: libnumpy-py3-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Feb 7 01:43:34 rpmi: libboost_python1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:34 rpmi: libnumpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Feb 7 01:43:34 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>Feb 7 01:43:34 rpmi: libquadmath0-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Feb 7 01:43:34 rpmi: libgfortran5-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Feb 7 01:43:34 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>Feb 7 01:43:34 rpmi: libboost_test1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:34 rpmi: libboost_serialization1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:34 rpmi: libboost_iostreams1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:35 rpmi: libicu65-1:6.5.1-alt1 p9+247371.14560.149.1 1590835589 installed <13>Feb 7 01:43:35 rpmi: libboost_regex1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:35 rpmi: libboost_graph1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:35 rpmi: libboost_date_time1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:35 rpmi: libboost_container1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:35 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed <13>Feb 7 01:43:35 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:35 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Feb 7 01:43:35 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Feb 7 01:43:35 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Feb 7 01:43:35 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Feb 7 01:43:35 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Feb 7 01:43:35 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Feb 7 01:43:35 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 7 01:43:35 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Feb 7 01:43:35 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Feb 7 01:43:35 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Feb 7 01:43:35 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Feb 7 01:43:36 rpmi: libcrypto1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982871 installed <13>Feb 7 01:43:36 rpmi: libssl1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982871 installed <13>Feb 7 01:43:36 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Feb 7 01:43:36 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Feb 7 01:43:37 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Feb 7 01:43:37 rpmi: python3-module-numpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Feb 7 01:43:37 rpmi: libboost_python3-1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:37 rpmi: libboost_numpy3-1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:37 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Feb 7 01:43:37 groupadd[450086]: group added to /etc/group: name=_keytab, GID=499 <86>Feb 7 01:43:37 groupadd[450086]: group added to /etc/gshadow: name=_keytab <86>Feb 7 01:43:37 groupadd[450086]: new group: name=_keytab, GID=499 <13>Feb 7 01:43:37 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <86>Feb 7 01:43:37 groupadd[450153]: group added to /etc/group: name=sasl, GID=498 <86>Feb 7 01:43:37 groupadd[450153]: group added to /etc/gshadow: name=sasl <86>Feb 7 01:43:37 groupadd[450153]: new group: name=sasl, GID=498 <13>Feb 7 01:43:37 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Feb 7 01:43:37 rpmi: libldap-2.4.54-alt0.M90P.1 p9+260357.200.2.1 1603585219 installed <13>Feb 7 01:43:37 rpmi: libcurl-7.74.0-alt1 p9+264236.100.1.1 1609357257 installed <13>Feb 7 01:43:37 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Feb 7 01:43:37 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Feb 7 01:43:37 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:37 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:37 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:37 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:37 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:37 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-strict-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:38 rpmi: python-module-numpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Feb 7 01:43:38 rpmi: libboost_numpy1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:40 rpmi: boost-devel-headers-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:40 rpmi: boost-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:40 rpmi: python-module-bson-3.6.0-alt1.1 sisyphus+225625.14500.91.1 1555292613 installed <13>Feb 7 01:43:40 rpmi: python-module-pymongo-3.6.0-alt1.1 sisyphus+225625.14500.91.1 1555292613 installed <13>Feb 7 01:43:40 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 7 01:43:40 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:40 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Feb 7 01:43:40 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Feb 7 01:43:40 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Feb 7 01:43:40 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Feb 7 01:43:40 rpmi: boost-filesystem-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:40 rpmi: boost-program_options-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Feb 7 01:43:40 rpmi: python-module-Cheetah-3.1.0-alt1.1 sisyphus+225625.35500.91.1 1555331353 installed <13>Feb 7 01:43:40 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Feb 7 01:43:40 rpmi: python-module-yaml-5.1.2-alt1 p9+235990.100.1.1 1565701458 installed <13>Feb 7 01:43:40 rpmi: libcurl-devel-7.74.0-alt1 p9+264236.100.1.1 1609357257 installed <13>Feb 7 01:43:40 rpmi: libsasl2-devel-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Feb 7 01:43:40 rpmi: libssl-devel-1.1.1i-alt2 p9+264846.100.1.1 1610982871 installed <13>Feb 7 01:43:40 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Feb 7 01:43:40 rpmi: libpcap-devel-2:1.9.1-alt2 p9+263886.100.3.1 1609171732 installed <13>Feb 7 01:43:40 rpmi: libsystemd-devel-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Feb 7 01:43:40 rpmi: libgperftools-devel-2.6.3-alt1 1521472871 installed <13>Feb 7 01:43:40 rpmi: libpcrecpp-devel-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Feb 7 01:43:40 rpmi: libsnappy-devel-1.1.7-alt1 sisyphus+227320.100.1.3 1555618688 installed <13>Feb 7 01:43:40 rpmi: libstemmer-devel-0-alt1.svn585 1428058058 installed <13>Feb 7 01:43:40 rpmi: libyaml-cpp-devel-0.6.2-alt2 sisyphus+222677.100.1.1 1550991970 installed <13>Feb 7 01:43:40 rpmi: valgrind-devel-3.15.0-alt1 sisyphus+227330.200.1.2 1555620866 installed <13>Feb 7 01:43:40 rpmi: libreadline-devel-7.0.3-alt3 sisyphus+222164.300.1.1 1550686325 installed <13>Feb 7 01:43:40 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/mongo-4.0.7-alt1.nosrc.rpm Installing mongo-4.0.7-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.86704 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mongo-4.0.7 + echo 'Source #0 (mongo-4.0.7.tar):' Source #0 (mongo-4.0.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/mongo-4.0.7.tar + cd mongo-4.0.7 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (mongodb-2.4.5-no-term.patch):' Patch #1 (mongodb-2.4.5-no-term.patch): + /usr/bin/patch -p1 patching file SConstruct Hunk #1 succeeded at 1792 (offset 1090 lines). + sed -i 's/\r//' README + sed -i -r 's|(env.Append\(CCFLAGS=\['\''-DDEBUG_MODE=false'\'')(\]\))|\1,'\''-O0'\''\2|' src/third_party/s2/SConscript + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.23160 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mongo-4.0.7 ++ pkg-config --cflags libpcrecpp + scons core tools -j 8 --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-yaml --prefix=/usr/src/tmp/mongo-buildroot/usr --nostrip --use-sasl-client --wiredtiger=on --ssl --disable-warnings-as-errors MONGO_VERSION=4.0.7-alt1 'CCFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre' scons: Reading SConscript files ... Mkdir("build/scons") scons version: 3.0.1 python version: 2 7 16 '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 "g++" is GCC... yes Checking if C compiler "gcc" is GCC... yes Detected a x86_64 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... no Checking if C++ compiler supports -Wredundant-move... no 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 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 for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... yes Checking for C library tcmalloc... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic 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 for C function fallocate()... yes Checking for C function sync_file_range()... yes Checking for C header file x86intrin.h... yes Checking for C header file arm_neon.h... no scons: done reading SConscript files. scons: Building targets ... /usr/bin/python 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 Creating 'build/opt/mongo/config.h' /usr/bin/python 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 /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.c g++ -o build/opt/mongo/db/curop_failpoint_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/curop_failpoint_helpers.cpp g++ -o build/opt/mongo/db/views/view_graph.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/views/view_graph.cpp g++ -o build/opt/mongo/db/views/view.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/views/view.cpp g++ -o build/opt/third_party/s2/base/int128.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/base/int128.cc g++ -o build/opt/mongo/db/auth/action_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/action_set.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.cpp g++ -o build/opt/mongo/db/views/view_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/views/view_catalog.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.c g++ -o build/opt/mongo/db/keys_collection_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_manager.cpp 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/curop.h:37, from src/mongo/db/curop_failpoint_helpers.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/curop_failpoint_helpers.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --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 /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/database_version_gen.h --output build/opt/mongo/s/database_version_gen.cpp src/mongo/s/database_version.idl /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/ops/write_ops_gen.h --output build/opt/mongo/db/ops/write_ops_gen.cpp src/mongo/db/ops/write_ops.idl 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/views/view_catalog.cpp:47: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/views/view_catalog.cpp:47: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/expression.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/expression.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.c g++ -o build/opt/mongo/bson/bson_depth.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bson_depth.cpp g++ -o build/opt/mongo/util/secure_compare_memory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/secure_compare_memory.cpp g++ -o build/opt/mongo/s/catalog/sharding_catalog_client_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/sharding_catalog_client_impl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/scientificnumberformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/scientificnumberformatter.cpp g++ -o build/opt/mongo/db/repl/update_position_args.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/update_position_args.cpp g++ -o build/opt/mongo/logger/log_severity.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/log_severity.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/iostreams/src/mapped_file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/iostreams/src/mapped_file.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.c 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/pipeline/expression.h:42, from src/mongo/db/pipeline/expression.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/expression.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/logical_session_cache_stats_gen.h --output build/opt/mongo/db/logical_session_cache_stats_gen.cpp src/mongo/db/logical_session_cache_stats.idl /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/refresh_sessions_gen.h --output build/opt/mongo/db/refresh_sessions_gen.cpp src/mongo/db/refresh_sessions.idl /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/end_sessions_gen.h --output build/opt/mongo/db/commands/end_sessions_gen.cpp src/mongo/db/commands/end_sessions.idl 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/catalog/sharding_catalog_client_impl.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/catalog/sharding_catalog_client_impl.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libcurop_failpoint_helpers.a build/opt/mongo/db/curop_failpoint_helpers.o Skipping ranlib for thin archive build/opt/mongo/db/libcurop_failpoint_helpers.a g++ -o build/opt/mongo/util/net/hostname_canonicalization.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/hostname_canonicalization.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/repl/update_position_args.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/update_position_args.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/update/update_driver.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/update_driver.cpp g++ -o build/opt/mongo/db/update/field_checker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/field_checker.cpp g++ -o build/opt/mongo/db/logical_session_server_status_section.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_server_status_section.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucsdet.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucsdet.cpp 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/update/update_driver.h:41, from src/mongo/db/update/update_driver.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/zrule.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/zrule.cpp 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/update/update_driver.h:41, from src/mongo/db/update/update_driver.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/s2/s2latlng.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2latlng.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2.h:6, from src/third_party/s2/s2latlng.cc:2: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-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/db/commands/server_status.h:35, from src/mongo/db/logical_session_server_status_section.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/logical_session_server_status_section.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.c g++ -o build/opt/mongo/util/options_parser/startup_option_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/startup_option_init.cpp g++ -o build/opt/third_party/s2/s2r2rect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2r2rect.cc In file included from /usr/include/assert.h:35, from src/third_party/s2/base/casts.h:13, from src/third_party/s2/base/basictypes.h:9, from src/third_party/s2/s2r2rect.h:6, from src/third_party/s2/s2r2rect.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/mongo/rpc/command_reply_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/command_reply_builder.cpp g++ -o build/opt/mongo/db/auth/role_graph_update.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/role_graph_update.cpp ar rcsTD build/opt/mongo/db/views/libviews.a build/opt/mongo/db/views/view.o build/opt/mongo/db/views/view_catalog.o build/opt/mongo/db/views/view_graph.o Skipping ranlib for thin archive build/opt/mongo/db/views/libviews.a g++ -o build/opt/mongo/db/pipeline/value.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/value.cpp g++ -o build/opt/mongo/executor/task_executor_pool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/task_executor_pool.cpp g++ -o build/opt/mongo/util/fail_point_service.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/fail_point_service.cpp In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/value.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/value.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/repl_set_heartbeat_response.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_heartbeat_response.cpp 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/update/update_driver.h:41, from src/mongo/db/auth/role_graph_update.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/update/update_driver.h:41, from src/mongo/db/auth/role_graph_update.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/index/expression_params.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/expression_params.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.c g++ -o build/opt/mongo/util/options_parser/startup_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/startup_options.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.c g++ -o build/opt/third_party/icu4c-57.1/source/common/uloc_keytype.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uloc_keytype.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/variables_map.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/variables_map.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationcompare.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationcompare.cpp g++ -o build/opt/mongo/db/repl/repl_settings_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_settings_init.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dcfmtsym.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dcfmtsym.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tmutfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmutfmt.cpp g++ -o build/opt/mongo/db/pipeline/granularity_rounder_powers_of_two.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/fmtable.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fmtable.cpp g++ -o build/opt/mongo/idl/idl_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/idl/idl_parser.cpp g++ -o build/opt/mongo/util/itoa.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/itoa.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/options_description.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/options_description.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.c g++ -o build/opt/mongo/client/replica_set_monitor_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/replica_set_monitor_manager.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/granularity_rounder.h:37, from src/mongo/db/pipeline/granularity_rounder_powers_of_two.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/granularity_rounder.h:37, from src/mongo/db/pipeline/granularity_rounder_powers_of_two.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/cmdline_utils/censor_cmdline.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/cmdline_utils/censor_cmdline.cpp ar rcsTD build/opt/mongo/db/auth/librole_graph_update.a build/opt/mongo/db/auth/role_graph_update.o Skipping ranlib for thin archive build/opt/mongo/db/auth/librole_graph_update.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucal.cpp g++ -o build/opt/third_party/s2/util/math/mathutil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/util/math/mathutil.cc g++ -o build/opt/third_party/icu4c-57.1/source/common/charstr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/charstr.cpp g++ -o build/opt/mongo/db/query/count_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/count_request.cpp ar rcsTD build/opt/mongo/idl/libidl_parser.a build/opt/mongo/idl/idl_parser.o Skipping ranlib for thin archive build/opt/mongo/idl/libidl_parser.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.c /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/pipeline/document_sources_gen.h --output build/opt/mongo/db/pipeline/document_sources_gen.cpp src/mongo/db/pipeline/document_sources.idl /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/kill_sessions_gen.h --output build/opt/mongo/db/kill_sessions_gen.cpp src/mongo/db/kill_sessions.idl /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/oplog_entry_gen.h --output build/opt/mongo/db/repl/oplog_entry_gen.cpp src/mongo/db/repl/oplog_entry.idl ar rcsTD build/opt/mongo/util/cmdline_utils/libcmdline_utils.a build/opt/mongo/util/cmdline_utils/censor_cmdline.o Skipping ranlib for thin archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a g++ -o build/opt/third_party/icu4c-57.1/source/common/patternprops.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/patternprops.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_ct.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_ct.c g++ -o build/opt/mongo/transport/message_compressor_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_manager.cpp g++ -o build/opt/mongo/db/auth/restriction_environment.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/restriction_environment.cpp g++ -o build/opt/mongo/db/pipeline/document_source_change_stream_transform.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_change_stream_transform.cpp g++ -o build/opt/third_party/s2/s2region.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2region.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2.h:6, from src/third_party/s2/s2region.h:6, from src/third_party/s2/s2region.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/mongo/db/auth/security_file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/security_file.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/util_props.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/util_props.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.c g++ -o build/opt/third_party/s2/s2cellunion.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2cellunion.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/bits/stl_algobase.h:59, from /usr/include/c++/8/vector:60, from src/third_party/s2/s2cellunion.h:6, from src/third_party/s2/s2cellunion.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/mongo/util/signal_handlers_synchronous.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/signal_handlers_synchronous.cpp ar rcsTD build/opt/mongo/db/auth/libsecurity_file.a build/opt/mongo/db/auth/security_file.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libsecurity_file.a g++ -o build/opt/mongo/db/commands/feature_compatibility_version_command_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/feature_compatibility_version_command_parser.cpp g++ -o build/opt/mongo/db/commands/feature_compatibility_version_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/feature_compatibility_version_parser.cpp ar rcsTD build/opt/mongo/db/auth/libauthentication_restriction.a build/opt/mongo/db/auth/restriction_environment.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthentication_restriction.a g++ -o build/opt/mongo/db/logical_time_metadata_hook.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_time_metadata_hook.cpp 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_change_stream_transform.h:33, from src/mongo/db/pipeline/document_source_change_stream_transform.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_change_stream_transform.h:33, from src/mongo/db/pipeline/document_source_change_stream_transform.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/ustack.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustack.cpp g++ -o build/opt/mongo/db/fts/fts_basic_phrase_matcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_basic_phrase_matcher.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unifunct.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unifunct.cpp g++ -o build/opt/mongo/db/s/database_sharding_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/database_sharding_state.cpp g++ -o build/opt/mongo/db/pipeline/aggregation_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/aggregation_request.cpp g++ -o build/opt/mongo/db/matcher/matchable.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/matchable.cpp 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/commands/feature_compatibility_version_command_parser.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/feature_compatibility_version_command_parser.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/client/parallel.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/parallel.cpp ar rcsTD build/opt/mongo/db/liblogical_time_metadata_hook.a build/opt/mongo/db/logical_time_metadata_hook.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_time_metadata_hook.a g++ -o build/opt/mongo/db/pipeline/granularity_rounder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/granularity_rounder.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/s/database_sharding_state.h:34, from src/mongo/db/s/database_sharding_state.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/s/database_sharding_state.h:34, from src/mongo/db/s/database_sharding_state.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/granularity_rounder_preferred_numbers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp 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/aggregation_request.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/aggregation_request.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/granularity_rounder.h:37, from src/mongo/db/pipeline/granularity_rounder.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/granularity_rounder.h:37, from src/mongo/db/pipeline/granularity_rounder.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/granularity_rounder.h:37, from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/granularity_rounder.h:37, from src/mongo/db/pipeline/granularity_rounder_preferred_numbers.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/commands/libfeature_compatibility_parsers.a build/opt/mongo/db/commands/feature_compatibility_version_parser.o build/opt/mongo/db/commands/feature_compatibility_version_command_parser.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libfeature_compatibility_parsers.a g++ -o build/opt/mongo/rpc/metadata/config_server_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/config_server_metadata.cpp g++ -o build/opt/mongo/rpc/metadata/egress_metadata_hook_list.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/egress_metadata_hook_list.cpp ar rcsTD build/opt/mongo/db/pipeline/libgranularity_rounder.a build/opt/mongo/db/pipeline/granularity_rounder.o build/opt/mongo/db/pipeline/granularity_rounder_powers_of_two.o build/opt/mongo/db/pipeline/granularity_rounder_preferred_numbers.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libgranularity_rounder.a g++ -o build/opt/mongo/rpc/metadata/tracking_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/tracking_metadata.cpp g++ -o build/opt/mongo/rpc/metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata.cpp 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/config_server_metadata.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/config_server_metadata.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/rpc/metadata/sharding_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/sharding_metadata.cpp ar rcsTD build/opt/mongo/db/pipeline/libaggregation_request.a build/opt/mongo/db/pipeline/aggregation_request.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libaggregation_request.a g++ -o build/opt/mongo/rpc/metadata/logical_time_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/logical_time_metadata.cpp g++ -o build/opt/mongo/rpc/metadata/oplog_query_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/oplog_query_metadata.cpp 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/tracking_metadata.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/tracking_metadata.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/rpc/metadata/repl_set_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/repl_set_metadata.cpp 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/oplog_query_metadata.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/oplog_query_metadata.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/cluster_last_error_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/cluster_last_error_info.cpp g++ -o build/opt/mongo/db/query/expression_index_knobs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/expression_index_knobs.cpp g++ -o build/opt/mongo/db/server_options_server_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_options_server_helpers.cpp ar rcsTD build/opt/mongo/db/pipeline/libexpression.a build/opt/mongo/db/pipeline/expression.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libexpression.a 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/repl_set_metadata.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/query/getmore_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/getmore_request.cpp 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/rpc/metadata/repl_set_metadata.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_user_management_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_user_management_commands.cpp g++ -o build/opt/mongo/util/background.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/background.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/iostreams/src/file_descriptor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/iostreams/src/file_descriptor.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/getmore_request.h:38, from src/mongo/db/query/getmore_request.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/getmore_request.h:38, from src/mongo/db/query/getmore_request.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/create_database_gen.h --output build/opt/mongo/s/request_types/create_database_gen.cpp src/mongo/s/request_types/create_database.idl g++ -o build/opt/mongo/s/commands/cluster_commands_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_commands_helpers.cpp g++ -o build/opt/mongo/executor/remote_command_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/remote_command_request.cpp 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_user_management_commands.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_user_management_commands.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucoleitr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucoleitr.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.c g++ -o build/opt/mongo/db/storage/encryption_hooks.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/encryption_hooks.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.c g++ -o build/opt/mongo/db/fts/stemmer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/stemmer.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/locdspnm.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locdspnm.cpp g++ -o build/opt/mongo/bson/json.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/json.cpp ar rcsTD build/opt/mongo/rpc/libmetadata.a build/opt/mongo/rpc/metadata.o build/opt/mongo/rpc/metadata/config_server_metadata.o build/opt/mongo/rpc/metadata/egress_metadata_hook_list.o build/opt/mongo/rpc/metadata/logical_time_metadata.o build/opt/mongo/rpc/metadata/sharding_metadata.o build/opt/mongo/rpc/metadata/repl_set_metadata.o build/opt/mongo/rpc/metadata/oplog_query_metadata.o build/opt/mongo/rpc/metadata/tracking_metadata.o Skipping ranlib for thin archive build/opt/mongo/rpc/libmetadata.a g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr_props.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_props.cpp 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_commands_helpers.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_commands_helpers.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/regextxt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regextxt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationfcd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfcd.cpp g++ -o build/opt/mongo/db/query/collation/collator_factory_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_factory_interface.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.cpp g++ -o build/opt/mongo/s/request_types/add_shard_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/add_shard_request_type.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/create_indexes_gen.h --output build/opt/mongo/db/create_indexes_gen.cpp src/mongo/db/create_indexes.idl g++ -o build/opt/mongo/db/create_indexes_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/create_indexes_gen.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.c g++ -o build/opt/mongo/util/periodic_runner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/periodic_runner.cpp ar rcsTD build/opt/mongo/db/query/collation/libcollator_factory_interface.a build/opt/mongo/db/query/collation/collator_factory_interface.o Skipping ranlib for thin archive build/opt/mongo/db/query/collation/libcollator_factory_interface.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.c g++ -o build/opt/mongo/base/error_codes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/base/error_codes.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.c g++ -o build/opt/mongo/db/auth/authz_session_external_state_server_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_session_external_state_server_common.cpp ar rcsTD build/opt/mongo/util/libperiodic_runner.a build/opt/mongo/util/periodic_runner.o Skipping ranlib for thin archive build/opt/mongo/util/libperiodic_runner.a g++ -o build/opt/mongo/util/assert_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/assert_util.cpp ar rcsTD build/opt/mongo/db/libserver_options_servers.a build/opt/mongo/db/server_options_server_helpers.o Skipping ranlib for thin archive build/opt/mongo/db/libserver_options_servers.a g++ -o build/opt/mongo/db/service_liaison.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/service_liaison.cpp 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 build/opt/mongo/db/create_indexes_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/create_indexes_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/ftdc/ftdc_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_mongos.cpp g++ -o build/opt/mongo/s/query/router_stage_mock.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_mock.cpp g++ -o build/opt/mongo/db/query/tailable_mode_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/query/tailable_mode_gen.cpp g++ -o build/opt/mongo/s/catalog/type_config_version.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_config_version.cpp 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/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_mongos.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_mongos.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.c g++ -o build/opt/mongo/s/sharding_uptime_reporter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/sharding_uptime_reporter.cpp 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 build/opt/mongo/db/query/tailable_mode_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/query/tailable_mode_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/commands/libcluster_commands_helpers.a build/opt/mongo/s/commands/cluster_commands_helpers.o Skipping ranlib for thin archive build/opt/mongo/s/commands/libcluster_commands_helpers.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.c g++ -o build/opt/mongo/s/commands/commands_public.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/commands_public.cpp g++ -o build/opt/mongo/db/fts/fts_spec_legacy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_spec_legacy.cpp g++ -o build/opt/mongo/db/query/query_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_request.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbnf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbnf.cpp g++ -o build/opt/mongo/db/matcher/expression_text_base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_text_base.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_text_base.h:33, from src/mongo/db/matcher/expression_text_base.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_text_base.h:33, from src/mongo/db/matcher/expression_text_base.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/transport/transport_layer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/transport_layer.cpp 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/commands_public.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands_public.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/query/query_request.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/query/query_request.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/datetime/init_timezone_data.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/datetime/init_timezone_data.cpp g++ -o build/opt/mongo/db/repl/read_concern_args.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/read_concern_args.cpp gcc -o build/opt/third_party/icu4c-57.1/source/stubdata/stubdata.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/stubdata/stubdata.c ar rcsTD build/opt/third_party/icu4c-57.1/source/libicu_data.a build/opt/third_party/icu4c-57.1/source/stubdata/stubdata.o Skipping ranlib for thin archive build/opt/third_party/icu4c-57.1/source/libicu_data.a g++ -o build/opt/third_party/icu4c-57.1/source/common/uvectr64.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uvectr64.cpp g++ -o build/opt/mongo/s/database_version_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/database_version_helpers.cpp g++ -o build/opt/mongo/db/auth/authz_manager_external_state_s.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_manager_external_state_s.cpp g++ -o build/opt/mongo/s/catalog/type_lockpings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_lockpings.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationrootelements.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationrootelements.cpp g++ -o build/opt/mongo/db/query/expression_index.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/expression_index.cpp g++ -o build/opt/mongo/db/commands/server_status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/server_status.cpp ar rcsTD build/opt/mongo/db/query/datetime/libinit_timezone_data.a build/opt/mongo/db/query/datetime/init_timezone_data.o Skipping ranlib for thin archive build/opt/mongo/db/query/datetime/libinit_timezone_data.a g++ -o build/opt/mongo/client/remote_command_targeter_factory_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/remote_command_targeter_factory_impl.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/query/index_bounds_builder.h:35, from src/mongo/db/query/expression_index.h:39, from src/mongo/db/query/expression_index.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/query/index_bounds_builder.h:35, from src/mongo/db/query/expression_index.h:39, from src/mongo/db/query/expression_index.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/update/rename_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/rename_node.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.c /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/clone_catalog_data_gen.h --output build/opt/mongo/s/request_types/clone_catalog_data_gen.cpp src/mongo/s/request_types/clone_catalog_data.idl g++ -o build/opt/mongo/s/request_types/set_shard_version_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/set_shard_version_request.cpp g++ -o build/opt/mongo/s/request_types/clone_catalog_data_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/clone_catalog_data_gen.cpp 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/commands/server_status.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/rename_node.h:33, from src/mongo/db/update/rename_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/rename_node.h:33, from src/mongo/db/update/rename_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/s/request_types/clone_catalog_data_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/clone_catalog_data_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/catalog/mongo_version_range.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/mongo_version_range.cpp g++ -o build/opt/mongo/s/catalog/type_chunk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_chunk.cpp g++ -o build/opt/mongo/s/request_types/remove_shard_from_zone_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/remove_shard_from_zone_request_type.cpp g++ -o build/opt/mongo/s/catalog/type_shard_database.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_shard_database.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/create_collection_gen.h --output build/opt/mongo/s/request_types/create_collection_gen.cpp src/mongo/s/request_types/create_collection.idl g++ -o build/opt/mongo/s/request_types/create_collection_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/create_collection_gen.cpp g++ -o build/opt/mongo/s/catalog/type_changelog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_changelog.cpp g++ -o build/opt/mongo/s/request_types/move_chunk_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/move_chunk_request.cpp g++ -o build/opt/mongo/s/catalog/type_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_collection.cpp g++ -o build/opt/mongo/s/request_types/balance_chunk_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/balance_chunk_request_type.cpp 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 build/opt/mongo/s/request_types/create_collection_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/create_collection_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/catalog/type_locks.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_locks.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.h --output build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp src/mongo/s/request_types/clone_collection_options_from_primary_shard.idl g++ -o build/opt/mongo/s/request_types/create_database_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/create_database_gen.cpp g++ -o build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp g++ -o build/opt/mongo/s/request_types/update_zone_key_range_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/update_zone_key_range_request_type.cpp g++ -o build/opt/mongo/s/catalog/type_database.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_database.cpp 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 build/opt/mongo/s/request_types/create_database_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/create_database_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/flush_database_cache_updates_gen.h --output build/opt/mongo/s/request_types/flush_database_cache_updates_gen.cpp src/mongo/s/request_types/flush_database_cache_updates.idl g++ -o build/opt/mongo/s/request_types/add_shard_to_zone_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/add_shard_to_zone_request_type.cpp g++ -o build/opt/mongo/s/request_types/flush_database_cache_updates_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/flush_database_cache_updates_gen.cpp g++ -o build/opt/mongo/s/catalog/type_shard_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_shard_collection.cpp g++ -o build/opt/mongo/s/catalog/type_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_mongos.cpp g++ -o build/opt/mongo/s/request_types/commit_chunk_migration_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/commit_chunk_migration_request_type.cpp g++ -o build/opt/mongo/s/chunk_version.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/chunk_version.cpp g++ -o build/opt/mongo/s/catalog/type_shard.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_shard.cpp 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 build/opt/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/flush_database_cache_updates_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/move_primary_gen.h --output build/opt/mongo/s/request_types/move_primary_gen.cpp src/mongo/s/request_types/move_primary.idl /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/shard_collection_gen.h --output build/opt/mongo/s/request_types/shard_collection_gen.cpp src/mongo/s/request_types/shard_collection.idl g++ -o build/opt/mongo/s/request_types/move_primary_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/move_primary_gen.cpp g++ -o build/opt/mongo/s/cannot_implicitly_create_collection_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/cannot_implicitly_create_collection_info.cpp g++ -o build/opt/mongo/s/shard_id.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/shard_id.cpp g++ -o build/opt/mongo/s/stale_exception.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/stale_exception.cpp g++ -o build/opt/mongo/s/request_types/shard_collection_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/shard_collection_gen.cpp g++ -o build/opt/mongo/s/request_types/merge_chunk_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/merge_chunk_request_type.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.h --output build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp src/mongo/s/request_types/flush_routing_table_cache_updates.idl g++ -o build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp 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 build/opt/mongo/s/request_types/move_primary_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/move_primary_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/database_version_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/database_version_gen.cpp 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 build/opt/mongo/s/request_types/shard_collection_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/shard_collection_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/catalog/type_tags.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/type_tags.cpp g++ -o build/opt/mongo/s/request_types/migration_secondary_throttle_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/migration_secondary_throttle_options.cpp g++ -o build/opt/mongo/s/request_types/split_chunk_request_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/request_types/split_chunk_request_type.cpp g++ -o build/opt/mongo/s/catalog/type_chunk_base_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/catalog/type_chunk_base_gen.cpp 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 build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/s/database_version_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/database_version_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/s/catalog/type_chunk_base_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/catalog/type_chunk_base_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/request_types/get_database_version_gen.h --output build/opt/mongo/s/request_types/get_database_version_gen.cpp src/mongo/s/request_types/get_database_version.idl g++ -o build/opt/mongo/util/duration.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/duration.cpp g++ -o build/opt/mongo/s/request_types/get_database_version_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/request_types/get_database_version_gen.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.c /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/rollback_gen.h --output build/opt/mongo/db/repl/rollback_gen.cpp src/mongo/db/repl/rollback.idl g++ -o build/opt/mongo/db/audit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/audit.cpp g++ -o build/opt/mongo/db/repl/replication_process.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_process.cpp 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 build/opt/mongo/s/request_types/get_database_version_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/request_types/get_database_version_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/planner_analysis.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/planner_analysis.cpp g++ -o build/opt/mongo/s/catalog/dist_lock_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_catalog.cpp g++ -o build/opt/mongo/db/repl/repl_set_heartbeat_args_v1.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/replication_process.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/replication_process.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/base64.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/base64.cpp 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/planner_analysis.h:33, from src/mongo/db/query/planner_analysis.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/planner_analysis.h:33, from src/mongo/db/query/planner_analysis.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_build.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_build.cpp g++ -o build/opt/mongo/db/matcher/matcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/matcher.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationsets.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationsets.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.c g++ -o build/opt/mongo/db/views/resolved_view.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/views/resolved_view.cpp g++ -o build/opt/mongo/db/catalog/uuid_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/uuid_catalog.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_heartbeat_args_v1.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_heartbeat_args_v1.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csrecog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrecog.cpp g++ -o build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_internal_inhibit_optimization.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/matcher/matcher.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/matcher/matcher.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/catalog/uuid_catalog.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/catalog/uuid_catalog.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/libcommon_s.a build/opt/mongo/s/catalog/mongo_version_range.o build/opt/mongo/s/catalog/type_changelog.o build/opt/mongo/s/catalog/type_chunk.o build/opt/mongo/s/catalog/type_collection.o build/opt/mongo/s/catalog/type_config_version.o build/opt/mongo/s/catalog/type_database.o build/opt/mongo/s/catalog/type_lockpings.o build/opt/mongo/s/catalog/type_locks.o build/opt/mongo/s/catalog/type_mongos.o build/opt/mongo/s/catalog/type_shard_collection.o build/opt/mongo/s/catalog/type_shard_database.o build/opt/mongo/s/catalog/type_shard.o build/opt/mongo/s/catalog/type_tags.o build/opt/mongo/s/request_types/add_shard_request_type.o build/opt/mongo/s/request_types/add_shard_to_zone_request_type.o build/opt/mongo/s/request_types/balance_chunk_request_type.o build/opt/mongo/s/request_types/commit_chunk_migration_request_type.o build/opt/mongo/s/request_types/merge_chunk_request_type.o build/opt/mongo/s/request_types/migration_secondary_throttle_options.o build/opt/mongo/s/request_types/move_chunk_request.o build/opt/mongo/s/request_types/remove_shard_from_zone_request_type.o build/opt/mongo/s/request_types/set_shard_version_request.o build/opt/mongo/s/request_types/split_chunk_request_type.o build/opt/mongo/s/request_types/update_zone_key_range_request_type.o build/opt/mongo/s/cannot_implicitly_create_collection_info.o build/opt/mongo/s/chunk_version.o build/opt/mongo/s/database_version_helpers.o build/opt/mongo/s/shard_id.o build/opt/mongo/s/stale_exception.o build/opt/mongo/s/catalog/type_chunk_base_gen.o build/opt/mongo/s/database_version_gen.o build/opt/mongo/s/request_types/clone_catalog_data_gen.o build/opt/mongo/s/request_types/create_collection_gen.o build/opt/mongo/s/request_types/create_database_gen.o build/opt/mongo/s/request_types/flush_database_cache_updates_gen.o build/opt/mongo/s/request_types/flush_routing_table_cache_updates_gen.o build/opt/mongo/s/request_types/get_database_version_gen.o build/opt/mongo/s/request_types/move_primary_gen.o build/opt/mongo/s/request_types/shard_collection_gen.o build/opt/mongo/s/request_types/clone_collection_options_from_primary_shard_gen.o Skipping ranlib for thin archive build/opt/mongo/s/libcommon_s.a g++ -o build/opt/mongo/util/dns_query.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/dns_query.cpp 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 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/locdispnames.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locdispnames.cpp g++ -o build/opt/mongo/db/repl/replication_consistency_markers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_consistency_markers.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnvmbcs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvmbcs.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.c g++ -o build/opt/mongo/s/commands/cluster_filemd5_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_filemd5_cmd.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/propname.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/propname.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/olsontz.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/olsontz.cpp ar rcsTD build/opt/third_party/s2/util/math/libmath.a build/opt/third_party/s2/util/math/mathutil.o Skipping ranlib for thin archive build/opt/third_party/s2/util/math/libmath.a g++ -o build/opt/mongo/base/data_range.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/data_range.cpp g++ -o build/opt/mongo/db/dbdirectclient.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/dbdirectclient.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.c g++ -o build/opt/third_party/icu4c-57.1/source/common/putil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/putil.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.c g++ -o build/opt/third_party/icu4c-57.1/source/common/usprep.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/usprep.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ufieldpositer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ufieldpositer.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.c g++ -o build/opt/mongo/db/auth/user_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/user_set.cpp g++ -o build/opt/mongo/s/commands/cluster_killcursors_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_killcursors_cmd.cpp g++ -o build/opt/mongo/base/validate_locale.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/validate_locale.cpp 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_filemd5_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_filemd5_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/dbdirectclient.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/dbdirectclient.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/wire_version.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/wire_version.cpp g++ -o build/opt/mongo/db/client.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/client.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbinode.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbinode.cpp g++ -o build/opt/mongo/s/query/router_stage_update_on_add_shard.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_update_on_add_shard.cpp 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/commands/killcursors_common.h:31, from src/mongo/s/commands/cluster_killcursors_cmd.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.c 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/commands/killcursors_common.h:31, from src/mongo/s/commands/cluster_killcursors_cmd.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/transport/session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/session.cpp gcc -o build/opt/third_party/timelib-2018.01alpha1/astro.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/astro.c ar rcsTD build/opt/mongo/util/libdns_query.a build/opt/mongo/util/dns_query.o Skipping ranlib for thin archive build/opt/mongo/util/libdns_query.a g++ -o build/opt/mongo/db/pipeline/document_source_unwind.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_unwind.cpp ar rcsTD build/opt/mongo/db/libwire_version.a build/opt/mongo/db/wire_version.o Skipping ranlib for thin archive build/opt/mongo/db/libwire_version.a g++ -o build/opt/mongo/db/update/update_array_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/update_array_node.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/router_stage_update_on_add_shard.h:33, from src/mongo/s/query/router_stage_update_on_add_shard.cpp:32: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/router_stage_update_on_add_shard.h:33, from src/mongo/s/query/router_stage_update_on_add_shard.cpp:32: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/accumulation_statement.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulation_statement.cpp g++ -o build/opt/mongo/db/commands/generic.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/generic.cpp 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/update/update_array_node.h:37, from src/mongo/db/update/update_array_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/update/update_array_node.h:37, from src/mongo/db/update/update_array_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_unwind.h:33, from src/mongo/db/pipeline/document_source_unwind.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulation_statement.h:36, from src/mongo/db/pipeline/accumulation_statement.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulation_statement.h:36, from src/mongo/db/pipeline/accumulation_statement.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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_unwind.h:33, from src/mongo/db/pipeline/document_source_unwind.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/generic.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/generic.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/rpc/factory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/factory.cpp g++ -o build/opt/mongo/s/config_server_client.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/config_server_client.cpp g++ -o build/opt/mongo/db/query/find_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/find_common.cpp g++ -o build/opt/mongo/db/catalog/database_holder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/database_holder.cpp g++ -o build/opt/mongo/s/commands/cluster_index_filter_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_index_filter_cmd.cpp ar rcsTD build/opt/mongo/rpc/librpc.a build/opt/mongo/rpc/factory.o Skipping ranlib for thin archive build/opt/mongo/rpc/librpc.a g++ -o build/opt/mongo/db/query/plan_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/plan_cache.cpp 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/curop.h:37, from src/mongo/db/query/find_common.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/query/find_common.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/catalog/libdatabase_holder.a build/opt/mongo/db/catalog/database_holder.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libdatabase_holder.a g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_eq.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp g++ -o build/opt/mongo/base/init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/init.cpp g++ -o build/opt/mongo/db/field_ref_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/field_ref_set.cpp 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/plan_cache.h:37, from src/mongo/db/query/plan_cache.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/query/plan_cache.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/authz_session_external_state_s.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_session_external_state_s.cpp 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_index_filter_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_eq.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_eq.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_index_filter_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/winmain.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/winmain.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_eq.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_eq.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/rpc/metadata/client_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/client_metadata.cpp g++ -o build/opt/mongo/rpc/metadata/client_metadata_ismaster.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/client_metadata_ismaster.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/measure.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/measure.cpp g++ -o build/opt/mongo/db/pipeline/document_source_out.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_out.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp g++ -o build/opt/mongo/db/concurrency/lock_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/lock_stats.cpp g++ -o build/opt/mongo/db/update_index_data.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update_index_data.cpp g++ -o build/opt/mongo/client/dbclient_connection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/dbclient_connection.cpp 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_num_array_items.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_out.h:33, from src/mongo/db/pipeline/document_source_out.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_out.h:33, from src/mongo/db/pipeline/document_source_out.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/client/mongo_uri_connect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/mongo_uri_connect.cpp g++ -o build/opt/mongo/client/replica_set_monitor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/replica_set_monitor.cpp g++ -o build/opt/mongo/client/connpool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/connpool.cpp 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/client/dbclient_connection.cpp:53: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/client/dbclient_connection.cpp:53: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/rpc/libclient_metadata.a build/opt/mongo/rpc/metadata/client_metadata.o build/opt/mongo/rpc/metadata/client_metadata_ismaster.o Skipping ranlib for thin archive build/opt/mongo/rpc/libclient_metadata.a g++ -o build/opt/mongo/client/global_conn_pool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/global_conn_pool.cpp g++ -o build/opt/mongo/client/connection_string_connect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/connection_string_connect.cpp g++ -o build/opt/mongo/client/dbclient_rs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/dbclient_rs.cpp gcc -o build/opt/third_party/timelib-2018.01alpha1/dow.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/dow.c g++ -o build/opt/mongo/db/pipeline/document_source_merge_cursors.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_merge_cursors.cpp g++ -o build/opt/mongo/bson/simple_bsonobj_comparator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/simple_bsonobj_comparator.cpp g++ -o build/opt/mongo/platform/stack_locator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/stack_locator.cpp gcc -o build/opt/third_party/timelib-2018.01alpha1/parse_zoneinfo.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_zoneinfo.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/nfsubs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nfsubs.cpp g++ -o build/opt/mongo/db/commands/kill_all_sessions_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_all_sessions_command.cpp g++ -o build/opt/mongo/util/concurrency/spin_lock.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/concurrency/spin_lock.cpp g++ -o build/opt/mongo/db/auth/authorization_manager_global.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authorization_manager_global.cpp ar rcsTD build/opt/mongo/util/concurrency/libspin_lock.a build/opt/mongo/util/concurrency/spin_lock.o Skipping ranlib for thin archive build/opt/mongo/util/concurrency/libspin_lock.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ucharstriebuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucharstriebuilder.cpp g++ -o build/opt/mongo/executor/connection_pool_tl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/connection_pool_tl.cpp g++ -o build/opt/mongo/executor/network_interface_tl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/network_interface_tl.cpp 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_merge_cursors.h:33, from src/mongo/db/pipeline/document_source_merge_cursors.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_merge_cursors.h:33, from src/mongo/db/pipeline/document_source_merge_cursors.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/transport/service_entry_point_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/service_entry_point_impl.cpp g++ -o build/opt/mongo/transport/service_state_machine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/service_state_machine.cpp 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/commands/kill_all_sessions_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/kill_all_sessions_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/logger/rotatable_file_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/rotatable_file_manager.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/servlkf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servlkf.cpp g++ -o build/opt/mongo/db/pipeline/document_source_sample_from_random_cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp ar rcsTD build/opt/mongo/client/libclientdriver_network.a build/opt/mongo/client/connection_string_connect.o build/opt/mongo/client/mongo_uri_connect.o build/opt/mongo/client/connpool.o build/opt/mongo/client/dbclient_connection.o build/opt/mongo/client/dbclient_rs.o build/opt/mongo/client/global_conn_pool.o build/opt/mongo/client/replica_set_monitor.o build/opt/mongo/client/replica_set_monitor_manager.o gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.c Skipping ranlib for thin archive build/opt/mongo/client/libclientdriver_network.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/compactdecimalformat.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/compactdecimalformat.cpp g++ -o build/opt/mongo/util/system_tick_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/system_tick_source.cpp g++ -o build/opt/mongo/db/matcher/path.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/path.cpp g++ -o build/opt/mongo/db/matcher/path_internal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/path_internal.cpp g++ -o build/opt/mongo/client/query.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/query.cpp ar rcsTD build/opt/mongo/transport/libservice_entry_point.a build/opt/mongo/transport/service_entry_point_impl.o build/opt/mongo/transport/service_state_machine.o Skipping ranlib for thin archive build/opt/mongo/transport/libservice_entry_point.a g++ -o build/opt/mongo/s/commands/cluster_explain.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_explain.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/propsvec.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/propsvec.c g++ -o build/opt/mongo/s/client/shard.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/shard.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uts46.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uts46.cpp g++ -o build/opt/mongo/s/catalog/dist_lock_ping_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_ping_info.cpp ar rcsTD build/opt/mongo/db/matcher/libpath.a build/opt/mongo/db/matcher/path.o build/opt/mongo/db/matcher/path_internal.o Skipping ranlib for thin archive build/opt/mongo/db/matcher/libpath.a g++ -o build/opt/mongo/db/pipeline/document_source_change_stream_close_cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp ar rcsTD build/opt/mongo/executor/libnetwork_interface_tl.a build/opt/mongo/executor/connection_pool_tl.o build/opt/mongo/executor/network_interface_tl.o Skipping ranlib for thin archive build/opt/mongo/executor/libnetwork_interface_tl.a g++ -o build/opt/mongo/db/lasterror.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/lasterror.cpp 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_sample_from_random_cursor.h:33, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_sample_from_random_cursor.h:33, from src/mongo/db/pipeline/document_source_sample_from_random_cursor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/update/compare_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/compare_node.cpp g++ -o build/opt/mongo/s/catalog_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog_cache.cpp 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_explain.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_explain.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_change_stream_close_cursor.h:34, from src/mongo/db/pipeline/document_source_change_stream_close_cursor.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_change_stream_close_cursor.h:34, from src/mongo/db/pipeline/document_source_change_stream_close_cursor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/compare_node.h:33, from src/mongo/db/update/compare_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/compare_node.h:33, from src/mongo/db/update/compare_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/liblasterror.a build/opt/mongo/db/lasterror.o Skipping ranlib for thin archive build/opt/mongo/db/liblasterror.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.c gcc -o build/opt/third_party/icu4c-57.1/source/common/utf_impl.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utf_impl.c gcc -o build/opt/third_party/icu4c-57.1/source/common/uenum.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uenum.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.c g++ -o build/opt/third_party/icu4c-57.1/source/common/bytestream.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestream.cpp g++ -o build/opt/mongo/db/pipeline/document_source_watch_for_uuid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_watch_for_uuid.cpp g++ -o build/opt/mongo/s/commands/cluster_plan_cache_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_plan_cache_cmd.cpp ar rcsTD build/opt/mongo/s/client/libshard_interface.a build/opt/mongo/s/client/shard.o Skipping ranlib for thin archive build/opt/mongo/s/client/libshard_interface.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucln_in.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucln_in.cpp g++ -o build/opt/mongo/db/repl/repl_set_heartbeat_args.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_heartbeat_args.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/positional_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/positional_options.cpp g++ -o build/opt/mongo/s/commands/cluster_collection_mod_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_collection_mod_cmd.cpp 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_watch_for_uuid.h:32, from src/mongo/db/pipeline/document_source_watch_for_uuid.cpp:32: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_watch_for_uuid.h:32, from src/mongo/db/pipeline/document_source_watch_for_uuid.cpp:32: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_heartbeat_args.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_heartbeat_args.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_plan_cache_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_plan_cache_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_collection_mod_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_collection_mod_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.c ar rcsTD build/opt/mongo/db/ftdc/libftdc_mongos.a build/opt/mongo/db/ftdc/ftdc_mongos.o Skipping ranlib for thin archive build/opt/mongo/db/ftdc/libftdc_mongos.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.c g++ -o build/opt/mongo/s/query/cluster_cursor_cleanup_job.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_cursor_cleanup_job.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ustrcase_locale.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrcase_locale.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/decfmtst.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decfmtst.cpp g++ -o build/opt/mongo/s/query/store_possible_cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/store_possible_cursor.cpp g++ -o build/opt/mongo/util/startup_test.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/startup_test.cpp g++ -o build/opt/mongo/db/pipeline/accumulator_merge_objects.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_merge_objects.cpp g++ -o build/opt/mongo/db/hasher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/hasher.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.c 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/query/cluster_cursor_cleanup_job.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/uvectr32.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uvectr32.cpp g++ -o build/opt/mongo/db/matcher/schema/json_schema_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/json_schema_parser.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_merge_objects.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/util/debugger.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/debugger.cpp In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_merge_objects.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/util/libdebugger.a build/opt/mongo/util/debugger.o Skipping ranlib for thin archive build/opt/mongo/util/libdebugger.a g++ -o build/opt/mongo/db/pipeline/document_source_list_local_cursors.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_list_local_cursors.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/parsers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/parsers.cpp 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/curop.h:37, from src/mongo/s/query/store_possible_cursor.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/platform/process_id.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/process_id.cpp 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/curop.h:37, from src/mongo/s/query/store_possible_cursor.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libmongohasher.a build/opt/mongo/db/hasher.o Skipping ranlib for thin archive build/opt/mongo/db/libmongohasher.a 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/matcher/schema/json_schema_parser.h:33, from src/mongo/db/matcher/schema/json_schema_parser.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/decimalformatpattern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decimalformatpattern.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/regeximp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regeximp.cpp 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/matcher/schema/json_schema_parser.h:33, from src/mongo/db/matcher/schema/json_schema_parser.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/icu4c-57.1/source/common/uarrsort.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uarrsort.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.c g++ -o build/opt/mongo/util/procparser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/procparser.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/vzone.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/vzone.cpp g++ -o build/opt/mongo/db/commands/connection_status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/connection_status.cpp 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_list_local_cursors.h:38, from src/mongo/db/pipeline/document_source_list_local_cursors.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_list_local_cursors.h:38, from src/mongo/db/pipeline/document_source_list_local_cursors.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/cursor_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/cursor_request.cpp 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/commands/connection_status.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/utf8_codecvt_facet.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/utf8_codecvt_facet.cpp 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/commands/connection_status.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/pluralmap.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/pluralmap.cpp g++ -o build/opt/third_party/shim_allocator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_allocator.cpp g++ -o build/opt/mongo/db/concurrency/lock_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/lock_manager.cpp g++ -o build/opt/mongo/db/concurrency/global_lock_acquisition_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/global_lock_acquisition_tracker.cpp ar rcsTD build/opt/mongo/s/query/libstore_possible_cursor.a build/opt/mongo/s/query/store_possible_cursor.o Skipping ranlib for thin archive build/opt/mongo/s/query/libstore_possible_cursor.a g++ -o build/opt/mongo/db/concurrency/d_concurrency.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/d_concurrency.cpp ar rcsTD build/opt/mongo/util/libprocparser.a build/opt/mongo/util/procparser.o Skipping ranlib for thin archive build/opt/mongo/util/libprocparser.a g++ -o build/opt/mongo/db/concurrency/lock_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/lock_state.cpp g++ -o build/opt/mongo/s/catalog/dist_lock_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_manager.cpp g++ -o build/opt/mongo/s/write_ops/batched_command_response.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batched_command_response.cpp g++ -o build/opt/mongo/s/write_ops/batched_command_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batched_command_request.cpp ar rcsTD build/opt/mongo/s/catalog/libdist_lock_manager.a build/opt/mongo/s/catalog/dist_lock_manager.o build/opt/mongo/s/catalog/dist_lock_ping_info.o Skipping ranlib for thin archive build/opt/mongo/s/catalog/libdist_lock_manager.a g++ -o build/opt/mongo/s/write_ops/write_error_detail.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/write_error_detail.cpp g++ -o build/opt/mongo/s/write_ops/batched_upsert_detail.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batched_upsert_detail.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp 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/write_ops/batched_command_response.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/write_ops/batched_command_response.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/schema/expression_internal_schema_root_doc_eq.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/schema/expression_internal_schema_root_doc_eq.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/initialize_operation_session_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/initialize_operation_session_info.cpp g++ -o build/opt/mongo/db/auth/user_name.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/user_name.cpp g++ -o build/opt/mongo/db/logical_time.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_time.cpp g++ -o build/opt/mongo/db/operation_time_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/operation_time_tracker.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/dtintrv.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/dtintrv.cpp g++ -o build/opt/mongo/db/keys_collection_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_cache.cpp g++ -o build/opt/third_party/shim_pcrecpp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_pcrecpp.cc ar rcsTD build/opt/third_party/libshim_pcrecpp.a build/opt/third_party/shim_pcrecpp.o Skipping ranlib for thin archive build/opt/third_party/libshim_pcrecpp.a g++ -o build/opt/mongo/db/s/collection_sharding_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_sharding_state.cpp ar rcsTD build/opt/mongo/db/concurrency/liblock_manager.a build/opt/mongo/db/concurrency/d_concurrency.o build/opt/mongo/db/concurrency/global_lock_acquisition_tracker.o build/opt/mongo/db/concurrency/lock_manager.o build/opt/mongo/db/concurrency/lock_state.o build/opt/mongo/db/concurrency/lock_stats.o Skipping ranlib for thin archive build/opt/mongo/db/concurrency/liblock_manager.a g++ -o build/opt/mongo/db/repl/repl_set_request_votes_args.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_request_votes_args.cpp g++ -o build/opt/mongo/db/repl/repl_set_html_summary.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_html_summary.cpp g++ -o build/opt/mongo/db/repl/last_vote.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/last_vote.cpp ar rcsTD build/opt/mongo/db/liblogical_time.a build/opt/mongo/db/logical_time.o build/opt/mongo/db/operation_time_tracker.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_time.a g++ -o build/opt/mongo/db/repl/is_master_response.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/is_master_response.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_request_votes_args.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_request_votes_args.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/repl_set_config.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_config.cpp g++ -o build/opt/mongo/db/repl/member_config.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/member_config.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/repl/last_vote.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/last_vote.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/repl_set_tag.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_tag.cpp g++ -o build/opt/mongo/util/allocator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/allocator.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_config.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/util/tcmalloc_server_status_section.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/tcmalloc_server_status_section.cpp 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/s/write_ops/libbatch_write_types.a build/opt/mongo/s/write_ops/batched_command_request.o build/opt/mongo/s/write_ops/batched_command_response.o build/opt/mongo/s/write_ops/batched_upsert_detail.o build/opt/mongo/s/write_ops/write_error_detail.o 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/bson/util/bson_check.h:35, from src/mongo/db/repl/repl_set_config.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/s/write_ops/libbatch_write_types.a g++ -o build/opt/mongo/rpc/command_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/command_request.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/repl/member_config.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/repl/member_config.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/rpc/command_request_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/command_request_builder.cpp 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/commands/server_status.h:35, from src/mongo/util/tcmalloc_server_status_section.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/util/tcmalloc_server_status_section.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/ftdc/block_compressor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/block_compressor.cpp g++ -o build/opt/mongo/db/ftdc/file_writer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/file_writer.cpp g++ -o build/opt/mongo/db/ftdc/util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/util.cpp g++ -o build/opt/mongo/db/ftdc/file_reader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/file_reader.cpp 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/rpc/command_request_builder.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/rpc/command_request_builder.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/ftdc/file_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/file_manager.cpp g++ -o build/opt/mongo/db/ftdc/compressor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/compressor.cpp g++ -o build/opt/mongo/db/ftdc/varint.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/varint.cpp g++ -o build/opt/mongo/db/ftdc/controller.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/controller.cpp g++ -o build/opt/mongo/db/ftdc/decompressor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/decompressor.cpp g++ -o build/opt/mongo/db/ftdc/collector.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/collector.cpp g++ -o build/opt/mongo/db/s/sharded_connection_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharded_connection_info.cpp g++ -o build/opt/mongo/db/update/current_date_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/current_date_node.cpp ar rcsTD build/opt/mongo/rpc/libcommand_request.a build/opt/mongo/rpc/command_request.o build/opt/mongo/rpc/command_request_builder.o Skipping ranlib for thin archive build/opt/mongo/rpc/libcommand_request.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitaffixesandpadding.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitaffixesandpadding.cpp g++ -o build/opt/mongo/bson/mutable/element.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/mutable/element.cpp g++ -o build/opt/mongo/db/update/log_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/log_builder.cpp ar rcsTD build/opt/mongo/db/repl/libreplica_set_messages.a build/opt/mongo/db/repl/is_master_response.o build/opt/mongo/db/repl/member_config.o build/opt/mongo/db/repl/repl_set_config.o build/opt/mongo/db/repl/repl_set_heartbeat_args.o build/opt/mongo/db/repl/repl_set_heartbeat_args_v1.o build/opt/mongo/db/repl/repl_set_heartbeat_response.o build/opt/mongo/db/repl/repl_set_html_summary.o build/opt/mongo/db/repl/repl_set_request_votes_args.o build/opt/mongo/db/repl/repl_set_tag.o build/opt/mongo/db/repl/update_position_args.o build/opt/mongo/db/repl/last_vote.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplica_set_messages.a g++ -o build/opt/mongo/db/update/storage_validation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/storage_validation.cpp g++ -o build/opt/mongo/db/update/path_support.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/path_support.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.c g++ -o build/opt/mongo/util/secure_zero_memory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/secure_zero_memory.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/current_date_node.h:33, from src/mongo/db/update/current_date_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/pipeline/sequential_document_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/sequential_document_cache.cpp In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/current_date_node.h:33, from src/mongo/db/update/current_date_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/update/path_support.h:40, from src/mongo/db/update/path_support.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/update/path_support.h:40, from src/mongo/db/update/path_support.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucol.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucol.cpp g++ -o build/opt/mongo/db/repl/oplog_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_entry.cpp ar rcsTD build/opt/mongo/db/ftdc/libftdc.a build/opt/mongo/db/ftdc/block_compressor.o build/opt/mongo/db/ftdc/collector.o build/opt/mongo/db/ftdc/compressor.o build/opt/mongo/db/ftdc/controller.o build/opt/mongo/db/ftdc/decompressor.o build/opt/mongo/db/ftdc/file_manager.o build/opt/mongo/db/ftdc/file_reader.o build/opt/mongo/db/ftdc/file_writer.o build/opt/mongo/db/ftdc/util.o build/opt/mongo/db/ftdc/varint.o Skipping ranlib for thin archive build/opt/mongo/db/ftdc/libftdc.a g++ -o build/opt/mongo/db/repl/oplog_entry_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/repl/oplog_entry_gen.cpp g++ -o build/opt/mongo/util/background_thread_clock_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/background_thread_clock_source.cpp g++ -o build/opt/mongo/util/clock_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/clock_source.cpp 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/sequential_document_cache.h:37, from src/mongo/db/pipeline/sequential_document_cache.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/sequential_document_cache.h:37, from src/mongo/db/pipeline/sequential_document_cache.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/fast_clock_source_factory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/fast_clock_source_factory.cpp g++ -o build/opt/mongo/client/index_spec.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/index_spec.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/taiwncal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/taiwncal.cpp g++ -o build/opt/mongo/s/commands/cluster_remove_shard_from_zone_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_remove_shard_from_zone_cmd.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csrsbcs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrsbcs.cpp g++ -o build/opt/mongo/util/time_support.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/time_support.cpp ar rcsTD build/opt/mongo/util/libclock_sources.a build/opt/mongo/util/background_thread_clock_source.o build/opt/mongo/util/clock_source.o build/opt/mongo/util/fast_clock_source_factory.o Skipping ranlib for thin archive build/opt/mongo/util/libclock_sources.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/vtzone.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/vtzone.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.c g++ -o build/opt/third_party/icu4c-57.1/source/common/usetiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/usetiter.cpp ar rcsTD build/opt/mongo/db/update/libupdate_common.a build/opt/mongo/db/update/field_checker.o build/opt/mongo/db/update/log_builder.o build/opt/mongo/db/update/path_support.o build/opt/mongo/db/update/storage_validation.o Skipping ranlib for thin archive build/opt/mongo/db/update/libupdate_common.a g++ -o build/opt/third_party/shim_asio.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include src/third_party/shim_asio.cpp ar rcsTD build/opt/third_party/libshim_asio.a build/opt/third_party/shim_asio.o Skipping ranlib for thin archive build/opt/third_party/libshim_asio.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.c 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 build/opt/mongo/db/repl/oplog_entry_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/repl/oplog_entry_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbistbl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbistbl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/identifier_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/identifier_info.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csrucode.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrucode.cpp g++ -o build/opt/mongo/s/query/cluster_query_knobs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_query_knobs.cpp ar rcsTD build/opt/mongo/client/libclient_query.a build/opt/mongo/client/query.o Skipping ranlib for thin archive build/opt/mongo/client/libclient_query.a g++ -o build/opt/mongo/util/uuid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/uuid.cpp g++ -o build/opt/mongo/s/client/sharding_network_connection_hook.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/sharding_network_connection_hook.cpp g++ -o build/opt/mongo/db/curop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/curop.cpp 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_remove_shard_from_zone_cmd.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_remove_shard_from_zone_cmd.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/key_generator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/key_generator.cpp g++ -o build/opt/mongo/db/pipeline/document_source_count.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_count.cpp 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/curop.h:37, from src/mongo/db/curop.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/curop.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationweights.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationweights.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.c g++ -o build/opt/third_party/icu4c-57.1/source/common/schriter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/schriter.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.c g++ -o build/opt/mongo/db/pipeline/dependencies.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/dependencies.cpp g++ -o build/opt/mongo/db/logical_session_id.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_id.cpp 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_count.h:33, from src/mongo/db/pipeline/document_source_count.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_count.h:33, from src/mongo/db/pipeline/document_source_count.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/pipeline/dependencies.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/dependencies.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/timer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/timer.cpp ar rcsTD build/opt/mongo/db/repl/liboplog_entry.a build/opt/mongo/db/repl/oplog_entry.o build/opt/mongo/db/repl/oplog_entry_gen.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_entry.a g++ -o build/opt/mongo/shell/linenoise_utf8.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/linenoise_utf8.cpp g++ -o build/opt/mongo/util/signal_handlers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/signal_handlers.cpp g++ -o build/opt/mongo/util/password_digest.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/password_digest.cpp ar rcsTD build/opt/mongo/liblinenoise_utf8.a build/opt/mongo/shell/linenoise_utf8.o Skipping ranlib for thin archive build/opt/mongo/liblinenoise_utf8.a gcc -o build/opt/third_party/icu4c-57.1/source/common/cmemory.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cmemory.c g++ -o build/opt/mongo/db/auth/sasl_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/sasl_commands.cpp g++ -o build/opt/mongo/util/options_parser/option_section.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/option_section.cpp g++ -o build/opt/mongo/db/catalog/document_validation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/document_validation.cpp g++ -o build/opt/mongo/db/auth/authorization_manager_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authorization_manager_impl.cpp g++ -o build/opt/mongo/db/auth/authz_session_external_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_session_external_state.cpp g++ -o build/opt/mongo/db/auth/authz_manager_external_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_manager_external_state.cpp 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/authentication_session.h:36, from src/mongo/db/auth/sasl_commands.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/authentication_session.h:36, from src/mongo/db/auth/sasl_commands.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/authorization_session_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authorization_session_impl.cpp g++ -o build/opt/mongo/db/fts/unicode/string.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/unicode/string.cpp ar rcsTD build/opt/mongo/db/libcurop.a build/opt/mongo/db/curop.o Skipping ranlib for thin archive build/opt/mongo/db/libcurop.a g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/unique_path.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/unique_path.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.c g++ -o build/opt/mongo/db/query/view_response_formatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/view_response_formatter.cpp g++ -o build/opt/third_party/shim_boost.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/shim_boost.cpp g++ -o build/opt/mongo/db/namespace_string.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/namespace_string.cpp ar rcsTD build/opt/third_party/libshim_boost.a build/opt/third_party/shim_boost.o Skipping ranlib for thin archive build/opt/third_party/libshim_boost.a g++ -o build/opt/mongo/db/update/object_replace_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/object_replace_node.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/sharedbreakiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/sharedbreakiterator.cpp g++ -o build/opt/mongo/s/chunk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/chunk.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/db/query/view_response_formatter.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/db/query/view_response_formatter.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/auth_decorations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/auth_decorations.cpp ar rcsTD build/opt/mongo/db/libnamespace_string.a build/opt/mongo/db/namespace_string.o Skipping ranlib for thin archive build/opt/mongo/db/libnamespace_string.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/utrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tmunit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmunit.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.c g++ -o build/opt/mongo/db/auth/user_cache_invalidator_job.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/user_cache_invalidator_job.cpp g++ -o build/opt/mongo/s/commands/cluster_add_shard_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_add_shard_cmd.cpp g++ -o build/opt/third_party/s2/strings/stringprintf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/strings/stringprintf.cc ar rcsTD build/opt/mongo/db/repl/libread_concern_args.a build/opt/mongo/db/repl/read_concern_args.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libread_concern_args.a g++ -o build/opt/mongo/util/fail_point.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/fail_point.cpp g++ -o build/opt/mongo/db/update/pop_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/pop_node.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/udat.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/udat.cpp 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/authentication_session.h:36, from src/mongo/db/auth/auth_decorations.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/authentication_session.h:36, from src/mongo/db/auth/auth_decorations.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/options_parser/options_parser_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/options_parser_init.cpp 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_add_shard_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_add_shard_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/auth/libauth_impl_internal.a build/opt/mongo/db/auth/authorization_manager_impl.o build/opt/mongo/db/auth/authorization_session_impl.o build/opt/mongo/db/auth/authz_manager_external_state.o build/opt/mongo/db/auth/authz_session_external_state.o build/opt/mongo/db/auth/user_set.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauth_impl_internal.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.c ar rcsTD build/opt/mongo/db/libdbdirectclient.a build/opt/mongo/db/dbdirectclient.o Skipping ranlib for thin archive build/opt/mongo/db/libdbdirectclient.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.c 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/auth/user_cache_invalidator_job.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/user_cache_invalidator_job.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/processinfo.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/processinfo.cpp g++ -o build/opt/mongo/db/dbmessage.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/dbmessage.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/pop_node.h:33, from src/mongo/db/update/pop_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/pop_node.h:33, from src/mongo/db/update/pop_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/boost-1.60.0/libs/system/src/error_code.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/system/src/error_code.cpp ar rcsTD build/opt/third_party/boost-1.60.0/libboost_system.a build/opt/third_party/boost-1.60.0/libs/system/src/error_code.o Skipping ranlib for thin archive build/opt/third_party/boost-1.60.0/libboost_system.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dtitvfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtitvfmt.cpp g++ -o build/opt/mongo/util/winutil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/winutil.cpp g++ -o build/opt/mongo/db/logical_session_cache_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_cache_impl.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/usearch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/usearch.cpp g++ -o build/opt/mongo/base/secure_allocator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/secure_allocator.cpp g++ -o build/opt/mongo/util/fail_point_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/fail_point_registry.cpp g++ -o build/opt/mongo/logger/log_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/log_manager.cpp g++ -o build/opt/mongo/db/global_settings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/global_settings.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.c g++ -o build/opt/mongo/executor/thread_pool_task_executor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/thread_pool_task_executor.cpp g++ -o build/opt/mongo/s/commands/cluster_reindex_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_reindex_cmd.cpp ar rcsTD build/opt/mongo/db/libkeys_collection_manager.a build/opt/mongo/db/keys_collection_manager.o build/opt/mongo/db/keys_collection_cache.o build/opt/mongo/db/key_generator.o Skipping ranlib for thin archive build/opt/mongo/db/libkeys_collection_manager.a g++ -o build/opt/mongo/db/fts/fts_index_format.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_index_format.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/plurfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/plurfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/gregocal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/gregocal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbtz.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbtz.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uniset_props.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uniset_props.cpp g++ -o build/opt/mongo/util/fail_point_server_parameter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/fail_point_server_parameter.cpp ar rcsTD build/opt/mongo/db/libglobal_settings.a build/opt/mongo/db/global_settings.o Skipping ranlib for thin archive build/opt/mongo/db/libglobal_settings.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.c g++ -o build/opt/mongo/db/commands/hashcmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/hashcmd.cpp g++ -o build/opt/mongo/db/pipeline/document_source_sample.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_sample.cpp ar rcsTD build/opt/mongo/db/auth/libauthmongos.a build/opt/mongo/db/auth/authz_manager_external_state_s.o build/opt/mongo/db/auth/authz_session_external_state_s.o build/opt/mongo/db/auth/user_cache_invalidator_job.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthmongos.a g++ -o build/opt/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.cpp 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_reindex_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_reindex_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/util/libfail_point.a build/opt/mongo/util/fail_point.o build/opt/mongo/util/fail_point_registry.o build/opt/mongo/util/fail_point_server_parameter.o build/opt/mongo/util/fail_point_service.o Skipping ranlib for thin archive build/opt/mongo/util/libfail_point.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitgrouping.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitgrouping.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.c g++ -o build/opt/mongo/platform/decimal128.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/decimal128.cpp 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/commands/hashcmd.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/hashcmd.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_sample.h:33, from src/mongo/db/pipeline/document_source_sample.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/s/commands/cluster_multicast_gen.h --output build/opt/mongo/s/commands/cluster_multicast_gen.cpp src/mongo/s/commands/cluster_multicast.idl ar rcsTD build/opt/mongo/base/libsecure_allocator.a build/opt/mongo/base/secure_allocator.o Skipping ranlib for thin archive build/opt/mongo/base/libsecure_allocator.a /usr/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/shell/error_codes.tpl.js=build/opt/mongo/shell/error_codes.js 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_sample.h:33, from src/mongo/db/pipeline/document_source_sample.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_multicast.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_multicast.cpp /usr/bin/python site_scons/site_tools/jstoh.py build/opt/mongo/shell/mongo.cpp src/mongo/shell/assert.js src/mongo/shell/bulk_api.js src/mongo/shell/collection.js src/mongo/shell/crud_api.js src/mongo/shell/db.js build/opt/mongo/shell/error_codes.js src/mongo/shell/explainable.js src/mongo/shell/explain_query.js src/mongo/shell/mongo.js src/mongo/shell/mr.js src/mongo/shell/query.js src/mongo/shell/session.js src/mongo/shell/types.js src/mongo/shell/utils_auth.js src/mongo/shell/utils.js src/mongo/shell/utils_sh.js gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnvscsu.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvscsu.c 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_set_feature_compatibility_version_cmd.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_set_feature_compatibility_version_cmd.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/shell/mongo.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/shell/mongo.cpp g++ -o build/opt/mongo/db/query/query_knobs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_knobs.cpp 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_multicast.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_multicast.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/executor/libthread_pool_task_executor.a build/opt/mongo/executor/thread_pool_task_executor.o Skipping ranlib for thin archive build/opt/mongo/executor/libthread_pool_task_executor.a g++ -o build/opt/mongo/db/signed_logical_time.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/signed_logical_time.cpp /usr/bin/python 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 g++ -o build/opt/mongo/db/fts/stop_words_list.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/fts/stop_words_list.cpp g++ -o build/opt/mongo/s/commands/cluster_find_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_find_cmd.cpp ar rcsTD build/opt/mongo/db/query/libquery_knobs.a build/opt/mongo/db/query/query_knobs.o Skipping ranlib for thin archive build/opt/mongo/db/query/libquery_knobs.a gcc -o build/opt/third_party/icu4c-57.1/source/common/ulist.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ulist.c ar rcsTD build/opt/mongo/shell/libmongojs.a build/opt/mongo/shell/mongo.o Skipping ranlib for thin archive build/opt/mongo/shell/libmongojs.a g++ -o build/opt/mongo/executor/connection_pool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/connection_pool.cpp g++ -o build/opt/mongo/s/commands/flush_router_config_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/flush_router_config_cmd.cpp g++ -o build/opt/mongo/util/platform_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/platform_init.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.c g++ -o build/opt/third_party/murmurhash3/MurmurHash3.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Isrc -Ibuild/opt -Isrc src/third_party/murmurhash3/MurmurHash3.cpp g++ -o build/opt/mongo/db/commands/copydb_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/copydb_common.cpp ar rcsTD build/opt/mongo/db/auth/libauthorization_manager_global.a build/opt/mongo/db/auth/authorization_manager_global.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthorization_manager_global.a g++ -o build/opt/mongo/client/async_client.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/async_client.cpp g++ -o build/opt/mongo/s/commands/cluster_current_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_current_op.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/inputext.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/inputext.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/numsys.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/numsys.cpp 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/flush_router_config_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/flush_router_config_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/base/error_extra_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/error_extra_info.cpp 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 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/current_op_common.h:35, from src/mongo/s/commands/cluster_current_op.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/current_op_common.h:35, from src/mongo/s/commands/cluster_current_op.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/base/initializer_dependency_graph.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/initializer_dependency_graph.cpp g++ -o build/opt/mongo/base/data_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/data_type.cpp g++ -o build/opt/mongo/util/text.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/text.cpp g++ -o build/opt/mongo/bson/oid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/oid.cpp g++ -o build/opt/mongo/util/concurrency/idle_thread_block.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/concurrency/idle_thread_block.cpp g++ -o build/opt/mongo/platform/shared_library_posix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/shared_library_posix.cpp g++ -o build/opt/mongo/util/stacktrace.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/stacktrace.cpp g++ -o build/opt/mongo/bson/bson_comparator_interface_base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bson_comparator_interface_base.cpp g++ -o build/opt/mongo/base/shim.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/shim.cpp g++ -o build/opt/mongo/bson/bsonobj.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bsonobj.cpp g++ -o build/opt/mongo/bson/simple_bsonelement_comparator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/simple_bsonelement_comparator.cpp g++ -o build/opt/mongo/bson/bsonelement.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bsonelement.cpp g++ -o build/opt/mongo/logger/logstream_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/logstream_builder.cpp ar rcsTD build/opt/mongo/client/libasync_client.a build/opt/mongo/client/async_client.o Skipping ranlib for thin archive build/opt/mongo/client/libasync_client.a g++ -o build/opt/mongo/platform/shared_library.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/shared_library.cpp g++ -o build/opt/mongo/logger/ramlog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/ramlog.cpp g++ -o build/opt/mongo/base/data_range_cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/data_range_cursor.cpp g++ -o build/opt/mongo/base/data_type_string_data.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/data_type_string_data.cpp g++ -o build/opt/mongo/util/log.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/log.cpp g++ -o build/opt/mongo/util/system_clock_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/system_clock_source.cpp g++ -o build/opt/mongo/logger/rotatable_file_writer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/rotatable_file_writer.cpp g++ -o build/opt/mongo/logger/component_message_log_domain.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/component_message_log_domain.cpp g++ -o build/opt/mongo/platform/stack_locator_linux.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/stack_locator_linux.cpp g++ -o build/opt/mongo/base/string_data.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/string_data.cpp g++ -o build/opt/mongo/platform/posix_fadvise.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/posix_fadvise.cpp g++ -o build/opt/mongo/util/stacktrace_posix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/stacktrace_posix.cpp g++ -o build/opt/mongo/bson/bson_validate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bson_validate.cpp g++ -o build/opt/mongo/bson/bsonmisc.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bsonmisc.cpp g++ -o build/opt/mongo/platform/random.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/random.cpp g++ -o build/opt/mongo/platform/strcasestr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/strcasestr.cpp g++ -o build/opt/mongo/util/version.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/version.cpp g++ -o build/opt/mongo/logger/console.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/console.cpp g++ -o build/opt/mongo/util/exit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/exit.cpp g++ -o build/opt/mongo/logger/message_event_utf8_encoder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/message_event_utf8_encoder.cpp g++ -o build/opt/mongo/util/hex.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/hex.cpp g++ -o build/opt/mongo/logger/log_component_settings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/log_component_settings.cpp g++ -o build/opt/mongo/logger/logger.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/logger.cpp g++ -o build/opt/mongo/platform/strnlen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/platform/strnlen.cpp g++ -o build/opt/mongo/base/initializer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/initializer.cpp g++ -o build/opt/mongo/util/stringutils.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/stringutils.cpp g++ -o build/opt/mongo/base/make_string_vector.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/make_string_vector.cpp g++ -o build/opt/mongo/logger/message_log_domain.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/message_log_domain.cpp g++ -o build/opt/mongo/base/status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/status.cpp g++ -o build/opt/mongo/bson/timestamp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/timestamp.cpp g++ -o build/opt/mongo/base/parse_number.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/parse_number.cpp g++ -o build/opt/mongo/util/file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/file.cpp g++ -o build/opt/mongo/base/simple_string_data_comparator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/simple_string_data_comparator.cpp g++ -o build/opt/mongo/util/concurrency/thread_name.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/concurrency/thread_name.cpp g++ -o build/opt/mongo/util/errno_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/errno_util.cpp g++ -o build/opt/mongo/bson/bsontypes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bsontypes.cpp g++ -o build/opt/mongo/base/data_type_terminated.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/data_type_terminated.cpp g++ -o build/opt/mongo/base/global_initializer_registerer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/global_initializer_registerer.cpp g++ -o build/opt/mongo/logger/redaction.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/redaction.cpp g++ -o build/opt/mongo/logger/log_component.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/log_component.cpp g++ -o build/opt/mongo/base/global_initializer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/global_initializer.cpp g++ -o build/opt/mongo/util/exception_filter_win32.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/exception_filter_win32.cpp g++ -o build/opt/mongo/bson/bsonobjbuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/bsonobjbuilder.cpp g++ -o build/opt/mongo/db/auth/privilege_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/privilege_parser.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnv_io.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_io.cpp g++ -o build/opt/third_party/s2/s2.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2.h:6, from src/third_party/s2/s2.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/mongo/db/commands/end_sessions_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/end_sessions_gen.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uhash_us.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uhash_us.cpp /usr/bin/python src/mongo/util/generate_icu_init_cpp.py -o build/opt/mongo/util/icu_init.cpp -i src/third_party/icu4c-57.1/source/mongo_sources/icudt57l.dat gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/reldtfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/reldtfmt.cpp g++ -o build/opt/mongo/s/chunk_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/chunk_manager.cpp g++ -o build/opt/mongo/db/logical_clock.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_clock.cpp g++ -o build/opt/mongo/db/startup_warnings_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/startup_warnings_common.cpp g++ -o build/opt/mongo/transport/message_compressor_snappy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_snappy.cpp g++ -o build/opt/mongo/util/icu_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/util/icu_init.cpp 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 build/opt/mongo/db/commands/end_sessions_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/commands/end_sessions_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_bucket.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_bucket.cpp 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/s/chunk_manager.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/s/chunk_manager.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/libbase.a build/opt/mongo/base/data_range.o build/opt/mongo/base/data_range_cursor.o build/opt/mongo/base/data_type.o build/opt/mongo/base/data_type_string_data.o build/opt/mongo/base/data_type_terminated.o build/opt/mongo/base/error_codes.o build/opt/mongo/base/error_extra_info.o build/opt/mongo/base/global_initializer.o build/opt/mongo/base/global_initializer_registerer.o build/opt/mongo/base/init.o build/opt/mongo/base/initializer.o build/opt/mongo/base/initializer_dependency_graph.o build/opt/mongo/base/make_string_vector.o build/opt/mongo/base/parse_number.o build/opt/mongo/base/shim.o build/opt/mongo/base/simple_string_data_comparator.o build/opt/mongo/base/status.o build/opt/mongo/base/string_data.o build/opt/mongo/base/validate_locale.o build/opt/mongo/bson/bson_comparator_interface_base.o build/opt/mongo/bson/bson_depth.o build/opt/mongo/bson/bson_validate.o build/opt/mongo/bson/bsonelement.o build/opt/mongo/bson/bsonmisc.o build/opt/mongo/bson/bsonobj.o build/opt/mongo/bson/bsonobjbuilder.o build/opt/mongo/bson/bsontypes.o build/opt/mongo/bson/json.o build/opt/mongo/bson/oid.o build/opt/mongo/bson/simple_bsonelement_comparator.o build/opt/mongo/bson/simple_bsonobj_comparator.o build/opt/mongo/bson/timestamp.o build/opt/mongo/logger/component_message_log_domain.o build/opt/mongo/logger/console.o build/opt/mongo/logger/log_component.o build/opt/mongo/logger/log_component_settings.o build/opt/mongo/logger/log_manager.o build/opt/mongo/logger/log_severity.o build/opt/mongo/logger/logger.o build/opt/mongo/logger/logstream_builder.o build/opt/mongo/logger/message_event_utf8_encoder.o build/opt/mongo/logger/message_log_domain.o build/opt/mongo/logger/ramlog.o build/opt/mongo/logger/redaction.o build/opt/mongo/logger/rotatable_file_manager.o build/opt/mongo/logger/rotatable_file_writer.o build/opt/mongo/platform/decimal128.o build/opt/mongo/platform/posix_fadvise.o build/opt/mongo/platform/process_id.o build/opt/mongo/platform/random.o build/opt/mongo/platform/shared_library.o build/opt/mongo/platform/shared_library_posix.o build/opt/mongo/platform/stack_locator.o build/opt/mongo/platform/stack_locator_linux.o build/opt/mongo/platform/strcasestr.o build/opt/mongo/platform/strnlen.o build/opt/mongo/util/allocator.o build/opt/mongo/util/assert_util.o build/opt/mongo/util/base64.o build/opt/mongo/util/concurrency/idle_thread_block.o build/opt/mongo/util/concurrency/thread_name.o build/opt/mongo/util/duration.o build/opt/mongo/util/errno_util.o build/opt/mongo/util/exception_filter_win32.o build/opt/mongo/util/exit.o build/opt/mongo/util/file.o build/opt/mongo/util/hex.o build/opt/mongo/util/itoa.o build/opt/mongo/util/log.o build/opt/mongo/util/platform_init.o build/opt/mongo/util/signal_handlers_synchronous.o build/opt/mongo/util/stacktrace.o build/opt/mongo/util/stacktrace_posix.o build/opt/mongo/util/startup_test.o build/opt/mongo/util/stringutils.o build/opt/mongo/util/system_clock_source.o build/opt/mongo/util/system_tick_source.o build/opt/mongo/util/text.o build/opt/mongo/util/time_support.o build/opt/mongo/util/timer.o build/opt/mongo/util/uuid.o build/opt/mongo/util/version.o Skipping ranlib for thin archive build/opt/mongo/libbase.a g++ -o build/opt/mongo/client/authenticate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/authenticate.cpp ar rcsTD build/opt/mongo/db/libstartup_warnings_common.a build/opt/mongo/db/startup_warnings_common.o Skipping ranlib for thin archive build/opt/mongo/db/libstartup_warnings_common.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/transreg.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/transreg.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_conf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_conf.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.c gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_lmb.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_lmb.c ar rcsTD build/opt/mongo/db/liblogical_clock.a build/opt/mongo/db/logical_clock.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_clock.a g++ -o build/opt/mongo/client/dbclientcursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/dbclientcursor.cpp gcc -o build/opt/third_party/timelib-2018.01alpha1/parse_iso_intervals.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_iso_intervals.c g++ -o build/opt/mongo/scripting/deadline_monitor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/deadline_monitor.cpp g++ -o build/opt/mongo/db/commands/current_op_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/current_op_common.cpp 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_bucket.h:33, from src/mongo/db/pipeline/document_source_bucket.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_bucket.h:33, from src/mongo/db/pipeline/document_source_bucket.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/client/dbclientcursor.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/client/dbclientcursor.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_object_match.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp 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/commands/current_op_common.h:35, from src/mongo/db/commands/current_op_common.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/current_op_common.h:35, from src/mongo/db/commands/current_op_common.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/liblogical_session_cache_impl.a build/opt/mongo/db/initialize_operation_session_info.o build/opt/mongo/db/logical_session_cache_impl.o build/opt/mongo/db/logical_session_server_status_section.o build/opt/mongo/db/commands/end_sessions_gen.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_cache_impl.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uregex.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uregex.cpp 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/matcher/expression_path.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_object_match.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_object_match.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_path.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_object_match.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_object_match.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/repl_settings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_settings.cpp ar rcsTD build/opt/mongo/client/libauthentication.a build/opt/mongo/client/authenticate.o Skipping ranlib for thin archive build/opt/mongo/client/libauthentication.a g++ -o build/opt/mongo/util/net/ssl_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_options.cpp g++ -o build/opt/mongo/db/commands/isself.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/isself.cpp ar rcsTD build/opt/mongo/db/repl/librepl_settings.a build/opt/mongo/db/repl/repl_settings.o build/opt/mongo/db/repl/repl_settings_init.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librepl_settings.a g++ -o build/opt/mongo/db/commands/conn_pool_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/conn_pool_stats.cpp g++ -o build/opt/mongo/db/commands/reap_logical_session_cache_now.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/reap_logical_session_cache_now.cpp 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/commands/isself.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/isself.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/conn_pool_sync.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/conn_pool_sync.cpp 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/commands/conn_pool_stats.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/conn_pool_stats.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/commands/libcurrent_op_common.a build/opt/mongo/db/commands/current_op_common.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libcurrent_op_common.a g++ -o build/opt/mongo/db/commands/mr_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/mr_common.cpp g++ -o build/opt/mongo/db/commands/generic_servers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/generic_servers.cpp 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/commands/reap_logical_session_cache_now.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/reap_logical_session_cache_now.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/refresh_sessions_command_internal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/refresh_sessions_command_internal.cpp 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/commands/conn_pool_sync.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/conn_pool_sync.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/commands/mr.h:39, from src/mongo/db/commands/mr_common.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/commands/mr.h:39, from src/mongo/db/commands/mr_common.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/generic_servers.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/generic_servers.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/util/net/libssl_options.a build/opt/mongo/util/net/ssl_options.o Skipping ranlib for thin archive build/opt/mongo/util/net/libssl_options.a g++ -o build/opt/mongo/db/commands/user_management_commands_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/user_management_commands_common.cpp 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/commands/refresh_sessions_command_internal.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/commands/authentication_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/authentication_commands.cpp 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/commands/refresh_sessions_command_internal.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_coll_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_coll_stats.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/parsepos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/parsepos.cpp g++ -o build/opt/mongo/db/auth/role_name.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/role_name.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/uhash.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uhash.c 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/commands/authentication_commands.cpp:52: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/multi_key_path_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/multi_key_path_tracker.cpp 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/commands/authentication_commands.cpp:52: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/query/cluster_client_cursor_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_client_cursor_impl.cpp g++ -o build/opt/mongo/db/pipeline/expression_context.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/expression_context.cpp g++ -o build/opt/mongo/executor/async_multicaster.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/async_multicaster.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_client_cursor_impl.h:37, from src/mongo/s/query/cluster_client_cursor_impl.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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_coll_stats.h:33, from src/mongo/db/pipeline/document_source_coll_stats.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_client_cursor_impl.h:37, from src/mongo/s/query/cluster_client_cursor_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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_coll_stats.h:33, from src/mongo/db/pipeline/document_source_coll_stats.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/query_solution.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_solution.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationruleparser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationruleparser.cpp g++ -o build/opt/third_party/s2/s2latlngrect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2latlngrect.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2latlngrect.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/expression_context.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/pipeline/expression_context.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/query_solution.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/query_solution.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_eval_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_eval_cmd.cpp g++ -o build/opt/mongo/db/query/index_bounds.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/index_bounds.cpp ar rcsTD build/opt/mongo/executor/libasync_multicaster.a build/opt/mongo/executor/async_multicaster.o Skipping ranlib for thin archive build/opt/mongo/executor/libasync_multicaster.a g++ -o build/opt/mongo/db/repl/storage_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/storage_interface.cpp ar rcsTD build/opt/mongo/db/commands/libservers.a build/opt/mongo/db/commands/authentication_commands.o build/opt/mongo/db/commands/conn_pool_stats.o build/opt/mongo/db/commands/conn_pool_sync.o build/opt/mongo/db/commands/connection_status.o build/opt/mongo/db/commands/generic_servers.o build/opt/mongo/db/commands/isself.o build/opt/mongo/db/commands/mr_common.o build/opt/mongo/db/commands/reap_logical_session_cache_now.o build/opt/mongo/db/commands/refresh_sessions_command_internal.o build/opt/mongo/db/commands/user_management_commands_common.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libservers.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.c g++ -o build/opt/mongo/db/update/pull_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/pull_node.cpp 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_eval_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_eval_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/storage_interface.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/storage_interface.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/array_culling_node.h:34, from src/mongo/db/update/pull_node.h:33, from src/mongo/db/update/pull_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/array_culling_node.h:34, from src/mongo/db/update/pull_node.h:33, from src/mongo/db/update/pull_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/shim_timelib.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/shim_timelib.cpp ar rcsTD build/opt/third_party/libshim_timelib.a build/opt/third_party/shim_timelib.o Skipping ranlib for thin archive build/opt/third_party/libshim_timelib.a g++ -o build/opt/mongo/client/mongo_uri.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/mongo_uri.cpp g++ -o build/opt/mongo/client/connection_string.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/connection_string.cpp g++ -o build/opt/mongo/db/pipeline/parsed_exclusion_projection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/parsed_exclusion_projection.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.c g++ -o build/opt/mongo/db/refresh_sessions_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/refresh_sessions_gen.cpp g++ -o build/opt/mongo/db/matcher/rewrite_expr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/rewrite_expr.cpp 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/matcher/rewrite_expr.h:36, from src/mongo/db/matcher/rewrite_expr.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/rewrite_expr.h:36, from src/mongo/db/matcher/rewrite_expr.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.c 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_single_document_transformation.h:33, from src/mongo/db/pipeline/parsed_aggregation_projection.h:39, from src/mongo/db/pipeline/parsed_exclusion_projection.h:36, from src/mongo/db/pipeline/parsed_exclusion_projection.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/service_liaison_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/service_liaison_mongos.cpp 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 build/opt/mongo/db/refresh_sessions_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_single_document_transformation.h:33, from src/mongo/db/pipeline/parsed_aggregation_projection.h:39, from src/mongo/db/pipeline/parsed_exclusion_projection.h:36, from src/mongo/db/pipeline/parsed_exclusion_projection.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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 build/opt/mongo/db/refresh_sessions_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbt_data.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_data.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/currunit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currunit.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/appendable.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/appendable.cpp g++ -o build/opt/mongo/s/sharding_task_executor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/sharding_task_executor.cpp g++ -o build/opt/mongo/s/commands/cluster_build_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_build_info.cpp ar rcsTD build/opt/mongo/db/views/libresolved_view.a build/opt/mongo/db/views/resolved_view.o Skipping ranlib for thin archive build/opt/mongo/db/views/libresolved_view.a g++ -o build/opt/mongo/util/options_parser/constraints.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/constraints.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/db/service_liaison_mongos.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/db/service_liaison_mongos.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_build_info.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_build_info.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/icu4c-57.1/source/common/uscript.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uscript.c ar rcsTD build/opt/mongo/client/libconnection_string.a build/opt/mongo/client/connection_string.o build/opt/mongo/client/mongo_uri.o Skipping ranlib for thin archive build/opt/mongo/client/libconnection_string.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.c ar rcsTD build/opt/mongo/util/libwinutil.a build/opt/mongo/util/winutil.o Skipping ranlib for thin archive build/opt/mongo/util/libwinutil.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.c g++ -o build/opt/mongo/db/repl/replication_coordinator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_coordinator.cpp g++ -o build/opt/mongo/db/repl/repl_client_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_client_info.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/quantityformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/quantityformatter.cpp g++ -o build/opt/mongo/db/catalog/namespace_uuid_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/namespace_uuid_cache.cpp g++ -o build/opt/mongo/s/commands/cluster_ftdc_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_ftdc_commands.cpp ar rcsTD build/opt/mongo/s/libsharding_task_executor.a build/opt/mongo/s/sharding_task_executor.o Skipping ranlib for thin archive build/opt/mongo/s/libsharding_task_executor.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ustring.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustring.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbt_pars.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_pars.cpp g++ -o build/opt/mongo/s/commands/get_shard_map_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/get_shard_map_cmd.cpp g++ -o build/opt/mongo/db/commands/server_status_metric.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/server_status_metric.cpp g++ -o build/opt/mongo/db/pipeline/document_source_add_fields.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_add_fields.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/namespace_uuid_cache.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/namespace_uuid_cache.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.c g++ -o build/opt/mongo/s/commands/cluster_split_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_split_cmd.cpp g++ -o build/opt/mongo/db/repl/bson_extract_optime.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/bson_extract_optime.cpp ar rcsTD build/opt/mongo/db/repl/librepl_coordinator_interface.a build/opt/mongo/db/repl/repl_client_info.o build/opt/mongo/db/repl/replication_coordinator.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librepl_coordinator_interface.a g++ -o build/opt/mongo/db/pipeline/document_source_limit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_limit.cpp 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/get_shard_map_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/get_shard_map_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/convert.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/convert.cpp 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_ftdc_commands.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_ftdc_commands.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/write_ops/batch_write_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_write_op.cpp ar rcsTD build/opt/mongo/db/pipeline/libdependencies.a build/opt/mongo/db/pipeline/dependencies.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libdependencies.a 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_add_fields.h:33, from src/mongo/db/pipeline/document_source_add_fields.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/range_arithmetic.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/range_arithmetic.cpp 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_add_fields.h:33, from src/mongo/db/pipeline/document_source_add_fields.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_limit.h:33, from src/mongo/db/pipeline/document_source_limit.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_limit.h:33, from src/mongo/db/pipeline/document_source_limit.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_split_cmd.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_split_cmd.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/shim_yaml.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_yaml.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucurr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucurr.cpp g++ -o build/opt/mongo/db/matcher/match_details.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/match_details.cpp ar rcsTD build/opt/mongo/db/catalog/libdocument_validation.a build/opt/mongo/db/catalog/document_validation.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libdocument_validation.a g++ -o build/opt/mongo/client/fetcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/fetcher.cpp g++ -o build/opt/mongo/db/server_options_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_options_init.cpp ar rcsTD build/opt/mongo/s/commands/libshared_cluster_commands.a build/opt/mongo/s/commands/flush_router_config_cmd.o build/opt/mongo/s/commands/get_shard_map_cmd.o Skipping ranlib for thin archive build/opt/mongo/s/commands/libshared_cluster_commands.a g++ -o build/opt/mongo/db/catalog/collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/client/fetcher.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/client/fetcher.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/keys_collection_document.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_document.cpp g++ -o build/opt/third_party/s2/s1angle.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s1angle.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/cmath:41, from /usr/include/c++/8/math.h:36, from src/third_party/s2/s1angle.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/fts/stop_words.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/stop_words.cpp g++ -o build/opt/mongo/db/commands/killcursors_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/killcursors_common.cpp g++ -o build/opt/mongo/s/query/router_stage_limit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_limit.cpp ar rcsTD build/opt/mongo/db/libkeys_collection_document.a build/opt/mongo/db/keys_collection_document.o Skipping ranlib for thin archive build/opt/mongo/db/libkeys_collection_document.a g++ -o build/opt/mongo/executor/network_interface_thread_pool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/network_interface_thread_pool.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/persncal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/persncal.cpp ar rcsTD build/opt/mongo/db/libupdate_index_data.a build/opt/mongo/db/update_index_data.o Skipping ranlib for thin archive build/opt/mongo/db/libupdate_index_data.a g++ -o build/opt/mongo/db/pipeline/document_source_sort.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_sort.cpp g++ -o build/opt/mongo/client/remote_command_retry_scheduler.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/remote_command_retry_scheduler.cpp g++ -o build/opt/mongo/s/catalog/sharding_catalog_client.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/sharding_catalog_client.cpp g++ -o build/opt/mongo/db/pipeline/document_source_match.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_match.cpp 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/commands/killcursors_common.h:31, from src/mongo/db/commands/killcursors_common.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/killcursors_common.h:31, from src/mongo/db/commands/killcursors_common.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/executor/libnetwork_interface_thread_pool.a build/opt/mongo/executor/network_interface_thread_pool.o Skipping ranlib for thin archive build/opt/mongo/executor/libnetwork_interface_thread_pool.a g++ -o build/opt/mongo/db/pipeline/aggregation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/aggregation.cpp /usr/bin/python src/mongo/db/fts/unicode/gen_diacritic_list.py src/third_party/unicode-8.0.0/PropList.txt build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.cpp g++ -o build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uni2name.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uni2name.cpp 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_sort.h:34, from src/mongo/db/pipeline/document_source_sort.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_sort.h:34, from src/mongo/db/pipeline/document_source_sort.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_shutdown_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_shutdown_cmd.cpp 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/matcher/matcher.h:39, from src/mongo/db/pipeline/document_source_match.h:37, from src/mongo/db/pipeline/document_source_match.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/matcher.h:39, from src/mongo/db/pipeline/document_source_match.h:37, from src/mongo/db/pipeline/document_source_match.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/catalog/libsharding_catalog_client.a build/opt/mongo/s/catalog/sharding_catalog_client.o Skipping ranlib for thin archive build/opt/mongo/s/catalog/libsharding_catalog_client.a g++ -o build/opt/mongo/db/geo/r2_region_coverer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/geo/r2_region_coverer.cpp ar rcsTD build/opt/mongo/client/libremote_command_retry_scheduler.a build/opt/mongo/client/remote_command_retry_scheduler.o Skipping ranlib for thin archive build/opt/mongo/client/libremote_command_retry_scheduler.a g++ -o build/opt/mongo/db/geo/shapes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/geo/shapes.cpp ar rcsTD build/opt/mongo/client/libfetcher.a build/opt/mongo/client/fetcher.o Skipping ranlib for thin archive build/opt/mongo/client/libfetcher.a g++ -o build/opt/mongo/db/geo/hash.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/geo/hash.cpp 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_shutdown_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_shutdown_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/catalog/libcollection.a build/opt/mongo/db/catalog/collection.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcollection.a g++ -o build/opt/mongo/db/geo/big_polygon.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/geo/big_polygon.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_unique_items.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp g++ -o build/opt/third_party/shim_icu.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/shim_icu.cpp g++ -o build/opt/mongo/db/commands/write_commands/write_commands_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/write_commands/write_commands_common.cpp g++ -o build/opt/mongo/db/repl/isself.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/isself.cpp 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_unique_items.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/s2/s2cellid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2cellid.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/iostream:38, from src/third_party/s2/s2cellid.h:6, from src/third_party/s2/s2cellid.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ar rcsTD build/opt/mongo/db/geo/libgeometry.a build/opt/mongo/db/geo/hash.o build/opt/mongo/db/geo/shapes.o build/opt/mongo/db/geo/big_polygon.o build/opt/mongo/db/geo/r2_region_coverer.o Skipping ranlib for thin archive build/opt/mongo/db/geo/libgeometry.a Creating 'build/opt/mongo/util/version_constants.h' g++ -o build/opt/mongo/util/version_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/version_impl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/listformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/listformatter.cpp g++ -o build/opt/third_party/s2/s2pointregion.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2pointregion.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/iosfwd:38, from src/third_party/s2/base/logging.h:17, from src/third_party/s2/s2pointregion.h:6, from src/third_party/s2/s2pointregion.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2edgeindex.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2edgeindex.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/bits/stl_algobase.h:59, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/map:60, from src/third_party/s2/s2edgeindex.h:8, from src/third_party/s2/s2edgeindex.cc:54: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s1interval.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s1interval.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/iostream:38, from src/third_party/s2/s1interval.h:6, from src/third_party/s2/s1interval.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ar rcsTD build/opt/mongo/util/libversion_impl.a build/opt/mongo/util/version_impl.o Skipping ranlib for thin archive build/opt/mongo/util/libversion_impl.a g++ -o build/opt/third_party/s2/s2regioncoverer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2regioncoverer.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/bits/stl_algobase.h:59, from /usr/include/c++/8/deque:60, from /usr/include/c++/8/queue:60, from src/third_party/s2/s2regioncoverer.h:6, from src/third_party/s2/s2regioncoverer.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ar rcsTD build/opt/mongo/db/commands/libwrite_commands_common.a build/opt/mongo/db/commands/write_commands/write_commands_common.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libwrite_commands_common.a g++ -o build/opt/third_party/s2/s2cap.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2cap.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/iosfwd:38, from src/third_party/s2/base/logging.h:17, from src/third_party/s2/s2cap.cc:4: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2cell.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2cell.cc In file included from /usr/include/assert.h:35, from src/third_party/s2/base/casts.h:13, from src/third_party/s2/base/basictypes.h:9, from src/third_party/s2/s2cell.h:6, from src/third_party/s2/s2cell.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-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/db/repl/isself.cpp:48: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/repl/isself.cpp:48: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/s2/s2regionunion.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2regionunion.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/bits/stl_algobase.h:59, from /usr/include/c++/8/vector:60, from src/third_party/s2/s2regionunion.h:6, from src/third_party/s2/s2regionunion.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2edgeutil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2edgeutil.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2edgeutil.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2polyline.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2polyline.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/bits/stl_algobase.h:59, from /usr/include/c++/8/bits/stl_tree.h:63, from /usr/include/c++/8/set:60, from src/third_party/s2/s2polyline.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2regionintersection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2regionintersection.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/bits/stl_algobase.h:59, from /usr/include/c++/8/vector:60, from src/third_party/s2/s2regionintersection.h:6, from src/third_party/s2/s2regionintersection.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2polygonbuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2polygonbuilder.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/type_traits:38, from /usr/include/c++/8/unordered_map:38, from src/third_party/s2/hash.h:4, from src/third_party/s2/s2polygonbuilder.h:7, from src/third_party/s2/s2polygonbuilder.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2polygon.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2polygon.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2polygon.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/third_party/s2/s2loop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DDEBUG_MODE=false -O0 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/s2loop.cc In file included from /usr/include/c++/8/x86_64-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/utility:68, from /usr/include/c++/8/algorithm:60, from src/third_party/s2/s2loop.cc:3: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/opt/mongo/db/query/tailable_mode.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/tailable_mode.cpp src/third_party/s2/s2polyline.cc: In member function 'void S2Polyline::Init(const std::vector >&)': src/third_party/s2/s2polyline.cc:57:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(vertices_, &vertices[0], num_vertices_ * sizeof(vertices_[0])); ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2polyline.cc:10: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here class Vector3 { ^~~~~~~ src/third_party/s2/s2polyline.cc: In constructor 'S2Polyline::S2Polyline(const S2Polyline*)': src/third_party/s2/s2polyline.cc:106:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(vertices_, src->vertices_, num_vertices_ * sizeof(vertices_[0])); ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2polyline.cc:10: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here class Vector3 { ^~~~~~~ g++ -o build/opt/mongo/util/net/ssl_types.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_types.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/cpdtrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/cpdtrans.cpp src/third_party/s2/s2loop.cc: In member function 'void S2Loop::Init(const std::vector >&)': src/third_party/s2/s2loop.cc:97:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(vertices_, &vertices[0], num_vertices_ * sizeof(vertices_[0])); ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2loop.cc:16: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here class Vector3 { ^~~~~~~ src/third_party/s2/s2loop.cc: In constructor 'S2Loop::S2Loop(const S2Loop*)': src/third_party/s2/s2loop.cc:268:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'S2Point' {aka 'class Vector3'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(vertices_, src->vertices_, num_vertices_ * sizeof(vertices_[0])); ^ In file included from src/third_party/s2/util/math/vector3-inl.h:29, from src/third_party/s2/s2.h:26, from src/third_party/s2/s2loop.cc:16: src/third_party/s2/util/math/vector3.h:30:7: note: 'S2Point' {aka 'class Vector3'} declared here class Vector3 { ^~~~~~~ g++ -o build/opt/mongo/db/logical_time_validator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_time_validator.cpp g++ -o build/opt/mongo/db/geo/geoparser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/geo/geoparser.cpp g++ -o build/opt/mongo/s/catalog/replset_dist_lock_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/replset_dist_lock_manager.cpp g++ -o build/opt/mongo/db/pipeline/document_source_graph_lookup.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_graph_lookup.cpp g++ -o build/opt/mongo/s/commands/cluster_enable_sharding_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_enable_sharding_cmd.cpp ar rcsTD build/opt/mongo/util/net/libssl_types.a build/opt/mongo/util/net/ssl_types.o Skipping ranlib for thin archive build/opt/mongo/util/net/libssl_types.a g++ -o build/opt/mongo/s/version_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/version_mongos.cpp ar rcsTD build/opt/third_party/s2/libs2.a build/opt/third_party/s2/s1angle.o build/opt/third_party/s2/s2.o build/opt/third_party/s2/s2cellid.o build/opt/third_party/s2/s2latlng.o build/opt/third_party/s2/s1interval.o build/opt/third_party/s2/s2cap.o build/opt/third_party/s2/s2cell.o build/opt/third_party/s2/s2cellunion.o build/opt/third_party/s2/s2edgeindex.o build/opt/third_party/s2/s2edgeutil.o build/opt/third_party/s2/s2latlngrect.o build/opt/third_party/s2/s2loop.o build/opt/third_party/s2/s2pointregion.o build/opt/third_party/s2/s2polygon.o build/opt/third_party/s2/s2polygonbuilder.o build/opt/third_party/s2/s2polyline.o build/opt/third_party/s2/s2r2rect.o build/opt/third_party/s2/s2region.o build/opt/third_party/s2/s2regioncoverer.o build/opt/third_party/s2/s2regionintersection.o build/opt/third_party/s2/s2regionunion.o Skipping ranlib for thin archive build/opt/third_party/s2/libs2.a g++ -o build/opt/mongo/db/query/index_bounds_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/index_bounds_builder.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/query/index_bounds_builder.h:35, from src/mongo/db/query/index_bounds_builder.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/query/index_bounds_builder.h:35, from src/mongo/db/query/index_bounds_builder.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.c g++ -o build/opt/third_party/icu4c-57.1/source/common/servlk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servlk.cpp g++ -o build/opt/mongo/s/client/shard_connection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/shard_connection.cpp g++ -o build/opt/mongo/db/auth/sasl_plain_server_conversation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/sasl_plain_server_conversation.cpp 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_graph_lookup.h:33, from src/mongo/db/pipeline/document_source_graph_lookup.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_graph_lookup.h:33, from src/mongo/db/pipeline/document_source_graph_lookup.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_enable_sharding_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_enable_sharding_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/liblogical_time_validator.a build/opt/mongo/db/logical_time_validator.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_time_validator.a g++ -o build/opt/mongo/db/auth/sasl_mechanism_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/sasl_mechanism_registry.cpp 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/sasl_mechanism_policies.h:35, from src/mongo/db/auth/sasl_plain_server_conversation.h:33, from src/mongo/db/auth/sasl_plain_server_conversation.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/sasl_mechanism_policies.h:35, from src/mongo/db/auth/sasl_plain_server_conversation.h:33, from src/mongo/db/auth/sasl_plain_server_conversation.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/sasl_scram_server_conversation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/sasl_scram_server_conversation.cpp 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/sasl_mechanism_registry.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/sasl_mechanism_registry.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/umutex.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/umutex.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_xor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/sasl_mechanism_policies.h:35, from src/mongo/db/auth/sasl_scram_server_conversation.h:34, from src/mongo/db/auth/sasl_scram_server_conversation.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/auth/sasl_mechanism_policies.h:35, from src/mongo/db/auth/sasl_scram_server_conversation.h:34, from src/mongo/db/auth/sasl_scram_server_conversation.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tztrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tztrans.cpp g++ -o build/opt/mongo/client/remote_command_targeter_rs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/remote_command_targeter_rs.cpp 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/matcher/expression_tree.h:35, from src/mongo/db/matcher/schema/expression_internal_schema_xor.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_xor.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_tree.h:35, from src/mongo/db/matcher/schema/expression_internal_schema_xor.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_xor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/client/remote_command_targeter_standalone.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/remote_command_targeter_standalone.cpp gcc -o build/opt/third_party/icu4c-57.1/source/i18n/decContext.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decContext.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.c g++ -o build/opt/mongo/transport/message_compressor_metrics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_metrics.cpp ar rcsTD build/opt/mongo/db/repl/libisself.a build/opt/mongo/db/repl/isself.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libisself.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/timezone.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/timezone.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationtailoring.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationtailoring.cpp g++ -o build/opt/mongo/s/commands/cluster_get_prev_error_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_get_prev_error_cmd.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uscript_props.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uscript_props.cpp g++ -o build/opt/mongo/db/fts/unicode/codepoints_diacritic_map.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/unicode/codepoints_diacritic_map.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/strmatch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/strmatch.cpp g++ -o build/opt/mongo/db/auth/security_key.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/security_key.cpp g++ -o build/opt/mongo/bson/mutable/document.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/mutable/document.cpp ar rcsTD build/opt/mongo/client/libremote_command_targeter.a build/opt/mongo/client/remote_command_targeter_factory_impl.o build/opt/mongo/client/remote_command_targeter_rs.o build/opt/mongo/client/remote_command_targeter_standalone.o Skipping ranlib for thin archive build/opt/mongo/client/libremote_command_targeter.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_wsconf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_wsconf.cpp g++ -o build/opt/mongo/util/net/ssl_manager_openssl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_manager_openssl.cpp g++ -o build/opt/mongo/db/pipeline/document_path_support.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_path_support.cpp 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_get_prev_error_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_get_prev_error_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/pipeline.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/pipeline.cpp 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/document_path_support.h:35, from src/mongo/db/pipeline/document_path_support.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_path_support.h:35, from src/mongo/db/pipeline/document_path_support.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/db/pipeline/pipeline.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/db/pipeline/pipeline.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbirb.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbirb.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.c g++ -o build/opt/mongo/db/update/arithmetic_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/arithmetic_node.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/arithmetic_node.h:33, from src/mongo/db/update/arithmetic_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/arithmetic_node.h:33, from src/mongo/db/update/arithmetic_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/logical_session_cache_stats_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/logical_session_cache_stats_gen.cpp ar rcsTD build/opt/mongo/db/auth/libsaslauth.a build/opt/mongo/db/auth/sasl_mechanism_registry.o build/opt/mongo/db/auth/sasl_plain_server_conversation.o build/opt/mongo/db/auth/sasl_scram_server_conversation.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libsaslauth.a g++ -o build/opt/mongo/s/async_requests_sender.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/async_requests_sender.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uresdata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uresdata.cpp g++ -o build/opt/third_party/s2/base/logging.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/base/logging.cc gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.c g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/codecvt_error_category.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/codecvt_error_category.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uobject.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uobject.cpp g++ -o build/opt/mongo/db/query/cursor_response.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/cursor_response.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/standardplural.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/standardplural.cpp g++ -o build/opt/mongo/s/commands/cluster_remove_shard_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_remove_shard_cmd.cpp g++ -o build/opt/mongo/db/pipeline/document_source_sort_by_count.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_sort_by_count.cpp g++ -o build/opt/mongo/db/pipeline/document_source_current_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_current_op.cpp 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 build/opt/mongo/db/logical_session_cache_stats_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/logical_session_cache_stats_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/db/query/cursor_response.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/db/query/cursor_response.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_remove_shard_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_remove_shard_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_sort_by_count.h:33, from src/mongo/db/pipeline/document_source_sort_by_count.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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_current_op.h:33, from src/mongo/db/pipeline/document_source_current_op.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_sort_by_count.h:33, from src/mongo/db/pipeline/document_source_sort_by_count.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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_current_op.h:33, from src/mongo/db/pipeline/document_source_current_op.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_check_resume_token.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_check_resume_token.cpp g++ -o build/opt/mongo/db/pipeline/document_source_facet.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_facet.cpp 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/curop.h:37, from src/mongo/db/pipeline/document_source_check_resume_token.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/pipeline/document_source_check_resume_token.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/mongo_process_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/mongo_process_common.cpp ar rcsTD build/opt/mongo/s/libasync_requests_sender.a build/opt/mongo/s/async_requests_sender.o Skipping ranlib for thin archive build/opt/mongo/s/libasync_requests_sender.a g++ -o build/opt/mongo/db/pipeline/document_source_list_local_sessions.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_list_local_sessions.cpp 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_facet.h:38, from src/mongo/db/pipeline/document_source_facet.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_facet.h:38, from src/mongo/db/pipeline/document_source_facet.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/mongo_process_interface.h:44, from src/mongo/db/pipeline/mongo_process_common.h:36, from src/mongo/db/pipeline/mongo_process_common.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/mongo_process_interface.h:44, from src/mongo/db/pipeline/mongo_process_common.h:36, from src/mongo/db/pipeline/mongo_process_common.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_index_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_index_stats.cpp g++ -o build/opt/mongo/db/pipeline/document_source_group.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_group.cpp g++ -o build/opt/mongo/db/pipeline/document_source_single_document_transformation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_single_document_transformation.cpp g++ -o build/opt/mongo/db/pipeline/document_source_change_stream.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_change_stream.cpp g++ -o build/opt/mongo/db/pipeline/document_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source.cpp 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_list_local_sessions.h:39, from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_list_local_sessions.h:39, from src/mongo/db/pipeline/document_source_list_local_sessions.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulation_statement.h:36, from src/mongo/db/pipeline/document_source_group.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulation_statement.h:36, from src/mongo/db/pipeline/document_source_group.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_index_stats.h:34, from src/mongo/db/pipeline/document_source_index_stats.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_index_stats.h:34, from src/mongo/db/pipeline/document_source_index_stats.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_single_document_transformation.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_single_document_transformation.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_change_stream.h:33, from src/mongo/db/pipeline/document_source_change_stream.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_change_stream.h:33, from src/mongo/db/pipeline/document_source_change_stream.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_lookup_change_post_image.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp 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_lookup_change_post_image.h:33, from src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_lookup_change_post_image.h:33, from src/mongo/db/pipeline/document_source_lookup_change_post_image.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_skip.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_skip.cpp g++ -o build/opt/mongo/db/pipeline/document_source_lookup.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_lookup.cpp g++ -o build/opt/mongo/db/pipeline/document_source_check_invalidate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_check_invalidate.cpp g++ -o build/opt/mongo/db/pipeline/document_source_list_sessions.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_list_sessions.cpp 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_skip.h:33, from src/mongo/db/pipeline/document_source_skip.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/document_source_list_sessions.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/document_source_list_sessions.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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_skip.h:33, from src/mongo/db/pipeline/document_source_skip.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_tee_consumer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_tee_consumer.cpp 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_change_stream.h:33, from src/mongo/db/pipeline/document_source_check_invalidate.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_lookup.h:35, from src/mongo/db/pipeline/document_source_lookup.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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_change_stream.h:33, from src/mongo/db/pipeline/document_source_check_invalidate.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_tee_consumer.h:36, from src/mongo/db/pipeline/document_source_tee_consumer.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/pipeline/tee_buffer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/tee_buffer.cpp 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_tee_consumer.h:36, from src/mongo/db/pipeline/document_source_tee_consumer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_replace_root.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_replace_root.cpp 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/tee_buffer.h:37, from src/mongo/db/pipeline/tee_buffer.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/tee_buffer.h:37, from src/mongo/db/pipeline/tee_buffer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_project.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_project.cpp 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_replace_root.h:33, from src/mongo/db/pipeline/document_source_replace_root.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/pipeline/cluster_aggregation_planner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/cluster_aggregation_planner.cpp 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_replace_root.h:33, from src/mongo/db/pipeline/document_source_replace_root.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_sequential_document_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_sequential_document_cache.cpp 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_project.h:33, from src/mongo/db/pipeline/document_source_project.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_single_document_transformation.h:33, from src/mongo/db/pipeline/document_source_project.h:33, from src/mongo/db/pipeline/document_source_project.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/db/pipeline/cluster_aggregation_planner.h:33, from src/mongo/db/pipeline/cluster_aggregation_planner.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/db/pipeline/cluster_aggregation_planner.h:33, from src/mongo/db/pipeline/cluster_aggregation_planner.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_geo_near.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_geo_near.cpp g++ -o build/opt/mongo/db/pipeline/document_source_bucket_auto.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_bucket_auto.cpp 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_sequential_document_cache.h:33, from src/mongo/db/pipeline/document_source_sequential_document_cache.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_sequential_document_cache.h:33, from src/mongo/db/pipeline/document_source_sequential_document_cache.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulation_statement.h:36, from src/mongo/db/pipeline/document_source_bucket_auto.h:33, from src/mongo/db/pipeline/document_source_bucket_auto.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulation_statement.h:36, from src/mongo/db/pipeline/document_source_bucket_auto.h:33, from src/mongo/db/pipeline/document_source_bucket_auto.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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_geo_near.h:33, from src/mongo/db/pipeline/document_source_geo_near.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_internal_split_pipeline.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp 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_geo_near.h:33, from src/mongo/db/pipeline/document_source_geo_near.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_redact.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_redact.cpp g++ -o build/opt/mongo/s/is_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/is_mongos.cpp g++ -o build/opt/mongo/util/intrusive_counter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/intrusive_counter.cpp 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_split_pipeline.h:33, from src/mongo/db/pipeline/document_source_internal_split_pipeline.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_split_pipeline.h:33, from src/mongo/db/pipeline/document_source_internal_split_pipeline.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/libis_mongos.a build/opt/mongo/s/is_mongos.o Skipping ranlib for thin archive build/opt/mongo/s/libis_mongos.a g++ -o build/opt/mongo/util/thread_safe_string.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/thread_safe_string.cpp g++ -o build/opt/mongo/util/progress_meter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/progress_meter.cpp 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_redact.h:34, from src/mongo/db/pipeline/document_source_redact.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.c g++ -o build/opt/third_party/icu4c-57.1/source/common/resbund_cnv.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/resbund_cnv.cpp 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_redact.h:34, from src/mongo/db/pipeline/document_source_redact.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/collation/collator_factory_icu_decoration.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_factory_icu_decoration.cpp g++ -o build/opt/mongo/db/query/parsed_distinct.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/parsed_distinct.cpp g++ -o build/opt/mongo/db/update/push_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/push_node.cpp ar rcsTD build/opt/mongo/util/libprogress_meter.a build/opt/mongo/util/progress_meter.o build/opt/mongo/util/thread_safe_string.o Skipping ranlib for thin archive build/opt/mongo/util/libprogress_meter.a /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/auth/address_restriction_gen.h --output build/opt/mongo/db/auth/address_restriction_gen.cpp src/mongo/db/auth/address_restriction.idl 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/parsed_distinct.h:37, from src/mongo/db/query/parsed_distinct.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/parsed_distinct.h:37, from src/mongo/db/query/parsed_distinct.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/address_restriction_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/auth/address_restriction_gen.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/push_node.h:37, from src/mongo/db/update/push_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/push_node.h:37, from src/mongo/db/update/push_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a build/opt/mongo/s/query/cluster_cursor_cleanup_job.o Skipping ranlib for thin archive build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a g++ -o build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_unicode_phrase_matcher.cpp g++ -o build/opt/mongo/db/matcher/expression_geo.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_geo.cpp 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 build/opt/mongo/db/auth/address_restriction_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/auth/address_restriction_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tridpars.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tridpars.cpp g++ -o build/opt/mongo/rpc/legacy_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/legacy_request.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/regexcmp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regexcmp.cpp 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/matcher/expression_geo.h:38, from src/mongo/db/matcher/expression_geo.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_geo.h:38, from src/mongo/db/matcher/expression_geo.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/transport/transport_layer_asio.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/transport_layer_asio.cpp g++ -o build/opt/mongo/db/keys_collection_client_sharded.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_client_sharded.cpp g++ -o build/opt/mongo/db/pipeline/parsed_inclusion_projection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/parsed_inclusion_projection.cpp ar rcsTD build/opt/mongo/db/query/libquery_common.a build/opt/mongo/db/query/collation/collator_factory_icu_decoration.o build/opt/mongo/db/query/find_common.o build/opt/mongo/db/query/parsed_distinct.o Skipping ranlib for thin archive build/opt/mongo/db/query/libquery_common.a g++ -o build/opt/mongo/db/pipeline/parsed_add_fields.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/parsed_add_fields.cpp ar rcsTD build/opt/mongo/db/pipeline/libpipeline.a build/opt/mongo/db/pipeline/document_source.o build/opt/mongo/db/pipeline/document_source_add_fields.o build/opt/mongo/db/pipeline/document_source_bucket.o build/opt/mongo/db/pipeline/document_source_bucket_auto.o build/opt/mongo/db/pipeline/document_source_change_stream.o build/opt/mongo/db/pipeline/document_source_change_stream_close_cursor.o build/opt/mongo/db/pipeline/document_source_change_stream_transform.o build/opt/mongo/db/pipeline/document_source_check_invalidate.o build/opt/mongo/db/pipeline/document_source_check_resume_token.o build/opt/mongo/db/pipeline/document_source_coll_stats.o build/opt/mongo/db/pipeline/document_source_count.o build/opt/mongo/db/pipeline/document_source_current_op.o build/opt/mongo/db/pipeline/document_source_facet.o build/opt/mongo/db/pipeline/document_source_geo_near.o build/opt/mongo/db/pipeline/document_source_graph_lookup.o build/opt/mongo/db/pipeline/document_source_group.o build/opt/mongo/db/pipeline/document_source_index_stats.o build/opt/mongo/db/pipeline/document_source_internal_inhibit_optimization.o build/opt/mongo/db/pipeline/document_source_internal_split_pipeline.o build/opt/mongo/db/pipeline/document_source_limit.o build/opt/mongo/db/pipeline/document_source_list_local_cursors.o build/opt/mongo/db/pipeline/document_source_list_local_sessions.o build/opt/mongo/db/pipeline/document_source_list_sessions.o build/opt/mongo/db/pipeline/document_source_lookup.o build/opt/mongo/db/pipeline/document_source_lookup_change_post_image.o build/opt/mongo/db/pipeline/document_source_match.o build/opt/mongo/db/pipeline/document_source_merge_cursors.o build/opt/mongo/db/pipeline/document_source_out.o build/opt/mongo/db/pipeline/document_source_project.o build/opt/mongo/db/pipeline/document_source_redact.o build/opt/mongo/db/pipeline/document_source_replace_root.o build/opt/mongo/db/pipeline/document_source_sample.o build/opt/mongo/db/pipeline/document_source_sample_from_random_cursor.o build/opt/mongo/db/pipeline/document_source_sequential_document_cache.o build/opt/mongo/db/pipeline/document_source_single_document_transformation.o build/opt/mongo/db/pipeline/document_source_skip.o build/opt/mongo/db/pipeline/document_source_sort.o build/opt/mongo/db/pipeline/document_source_sort_by_count.o build/opt/mongo/db/pipeline/cluster_aggregation_planner.o build/opt/mongo/db/pipeline/document_source_tee_consumer.o build/opt/mongo/db/pipeline/document_source_unwind.o build/opt/mongo/db/pipeline/document_source_watch_for_uuid.o build/opt/mongo/db/pipeline/mongo_process_common.o build/opt/mongo/db/pipeline/pipeline.o build/opt/mongo/db/pipeline/sequential_document_cache.o build/opt/mongo/db/pipeline/tee_buffer.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libpipeline.a g++ -o build/opt/mongo/db/pipeline/parsed_aggregation_projection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/parsed_aggregation_projection.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.c g++ -o build/opt/mongo/rpc/metadata/audit_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/metadata/audit_metadata.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/parsed_inclusion_projection.h:35, from src/mongo/db/pipeline/parsed_inclusion_projection.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/parsed_inclusion_projection.h:35, from src/mongo/db/pipeline/parsed_inclusion_projection.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/curramt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/curramt.cpp gcc -o build/opt/third_party/timelib-2018.01alpha1/timelib.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/timelib.c g++ -o build/opt/mongo/s/commands/cluster_drop_indexes_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_drop_indexes_cmd.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/parsed_add_fields.h:35, from src/mongo/db/pipeline/parsed_add_fields.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/parsed_add_fields.h:35, from src/mongo/db/pipeline/parsed_add_fields.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/mongos_options_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/mongos_options_init.cpp 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_single_document_transformation.h:33, from src/mongo/db/pipeline/parsed_aggregation_projection.h:39, from src/mongo/db/pipeline/parsed_aggregation_projection.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_single_document_transformation.h:33, from src/mongo/db/pipeline/parsed_aggregation_projection.h:39, from src/mongo/db/pipeline/parsed_aggregation_projection.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_drop_indexes_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/rpc/libaudit_metadata.a build/opt/mongo/rpc/metadata/audit_metadata.o 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_drop_indexes_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/rpc/libaudit_metadata.a g++ -o build/opt/mongo/db/auth/sasl_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/sasl_options.cpp g++ -o build/opt/mongo/s/commands/strategy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/strategy.cpp g++ -o build/opt/mongo/scripting/utils.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/utils.cpp 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/strategy.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/strategy.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/scripting/dbdirectclient_factory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/dbdirectclient_factory.cpp g++ -o build/opt/mongo/scripting/engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/engine.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_extensions.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_extensions.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.c g++ -o build/opt/mongo/s/sharding_initialization.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/sharding_initialization.cpp g++ -o build/opt/mongo/s/client/sharding_connection_hook.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/sharding_connection_hook.cpp ar rcsTD build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a build/opt/mongo/db/pipeline/parsed_aggregation_projection.o build/opt/mongo/db/pipeline/parsed_exclusion_projection.o build/opt/mongo/db/pipeline/parsed_inclusion_projection.o build/opt/mongo/db/pipeline/parsed_add_fields.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a g++ -o build/opt/mongo/db/query/collation/collation_index_key.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collation_index_key.cpp g++ -o build/opt/mongo/db/query/collation/collator_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_interface.cpp g++ -o build/opt/mongo/db/query/collation/collation_spec.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collation_spec.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.c g++ -o build/opt/mongo/s/commands/cluster_distinct_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_distinct_cmd.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/sharding_initialization.cpp:67: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/sharding_initialization.cpp:67: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/index/s2_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/s2_common.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_u7.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u7.c ar rcsTD build/opt/mongo/db/query/collation/libcollator_interface.a build/opt/mongo/db/query/collation/collation_index_key.o build/opt/mongo/db/query/collation/collation_spec.o build/opt/mongo/db/query/collation/collator_interface.o Skipping ranlib for thin archive build/opt/mongo/db/query/collation/libcollator_interface.a g++ -o build/opt/mongo/s/commands/cluster_data_size_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_data_size_cmd.cpp gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.c 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_distinct_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_distinct_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.c ar rcsTD build/opt/mongo/scripting/libscripting_common.a build/opt/mongo/scripting/deadline_monitor.o build/opt/mongo/scripting/dbdirectclient_factory.o build/opt/mongo/scripting/engine.o build/opt/mongo/scripting/utils.o Skipping ranlib for thin archive build/opt/mongo/scripting/libscripting_common.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.c 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_data_size_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_data_size_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.c ar rcsTD build/opt/mongo/s/libsharding_initialization.a build/opt/mongo/s/sharding_initialization.o build/opt/mongo/s/client/sharding_connection_hook.o build/opt/mongo/s/client/sharding_network_connection_hook.o Skipping ranlib for thin archive build/opt/mongo/s/libsharding_initialization.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.c ar rcsTD build/opt/mongo/transport/libtransport_layer.a build/opt/mongo/transport/transport_layer_asio.o gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.c Skipping ranlib for thin archive build/opt/mongo/transport/libtransport_layer.a gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.c gcc -o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -w -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Defi2=1 -DEFI2=1 -Dgcc=1 -DUNCHANGED_BINARY_STATUS_FLAGS=0 -DUSE_NATIVE_QUAD_TYPE=0 -DLINUX=1 -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DUSE_COMPILER_F80_TYPE=0 -Dlinux=1 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -DUSE_COMPILER_F128_TYPE=0 -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.c g++ -o build/opt/mongo/transport/transport_layer_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/transport_layer_manager.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uset.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uset.cpp g++ -o build/opt/mongo/db/index/sort_key_generator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/sort_key_generator.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_u16.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u16.c g++ -o build/opt/mongo/db/matcher/extensions_callback_noop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/extensions_callback_noop.cpp g++ -o build/opt/mongo/executor/connection_pool_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/connection_pool_stats.cpp g++ -o build/opt/third_party/asio-master/asio/src/asio.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Isrc/third_party/asio-master/asio/include src/third_party/asio-master/asio/src/asio.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/coleitr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/coleitr.cpp g++ -o build/opt/mongo/client/read_preference.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/read_preference.cpp /usr/bin/python src/mongo/db/fts/unicode/gen_casefold_map.py src/third_party/unicode-8.0.0/CaseFolding.txt build/opt/mongo/db/fts/unicode/codepoints_casefold.cpp g++ -o build/opt/mongo/db/fts/unicode/codepoints_casefold.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/fts/unicode/codepoints_casefold.cpp 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/db/matcher/extensions_callback_noop.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/db/matcher/extensions_callback_noop.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/crypto/sha1_block.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/crypto/sha1_block.cpp Using tempfile /usr/src/tmp/tmpd3geWv.lnk for command line: ar rcsTD build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_exception.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_four_over_pi.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bessel.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_bid.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_int.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_hyper.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_inv_trig.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_mod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_ops_64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_powi.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/float128/sqrt_tab_t.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_2_str_tables.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_acosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_add.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_asinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atan2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_atanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_compare.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_cosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_div.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_erfc.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_exp2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_expm1.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fdimd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_fmod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_frexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_hypot.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_ldexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_llrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log1p.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_log2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_logbd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_lround.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_minmax.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_modf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_mul.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nearbyintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_next.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_nexttowardd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_noncomp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantexpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log1p.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_logbd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lround.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_minmax.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_modf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_mul.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nearbyintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_next.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_nexttowardd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_noncomp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantexpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_quantize.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_rem.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_round_integral.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_scalbl.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_string.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_sub.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_tgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_bid64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_int8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_to_uint8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_acosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_add.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_asinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atan2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_atanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cbrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_compare.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cos.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_cosh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_div.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_erfc.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_exp2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_expm1.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fdimd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_fmod.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_frexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_hypot.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_ldexp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_llrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log10.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log1p.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_log2.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_logbd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lrintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_lround.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_minmax.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_modf.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_mul.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nearbyintd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_next.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_nexttowardd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_pow.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantexpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_quantize.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_rem.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_round_integral.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalb.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_scalbl.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sin.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sinh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_sqrt.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_string.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tan.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tanh.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_tgamma.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_bid128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_int8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint16.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_to_uint8.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_binarydecimal.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_convert_data.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_data.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_decimal_globals.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_dpd.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feclearexcept.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fegetexceptflag.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_feraiseexcept.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fesetexceptflag.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_fetestexcept.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_flag_operations.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_from_int.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_round.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod128.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod32.o build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.o ar @/usr/src/tmp/tmpd3geWv.lnk Skipping ranlib for thin archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a g++ -o build/opt/mongo/util/net/sockaddr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/sockaddr.cpp ar rcsTD build/opt/mongo/transport/libtransport_layer_manager.a build/opt/mongo/transport/transport_layer_manager.o Skipping ranlib for thin archive build/opt/mongo/transport/libtransport_layer_manager.a g++ -o build/opt/mongo/db/sessions_collection_rs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection_rs.cpp ar rcsTD build/opt/mongo/executor/libconnection_pool_stats.a build/opt/mongo/executor/connection_pool_stats.o Skipping ranlib for thin archive build/opt/mongo/executor/libconnection_pool_stats.a g++ -o build/opt/mongo/rpc/get_status_from_command_result.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/get_status_from_command_result.cpp g++ -o build/opt/third_party/s2/util/coding/varint.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/util/coding/varint.cc ar rcsTD build/opt/mongo/crypto/libsha1_block.a build/opt/mongo/crypto/sha1_block.o Skipping ranlib for thin archive build/opt/mongo/crypto/libsha1_block.a g++ -o build/opt/third_party/s2/util/coding/coder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -Isrc/third_party/gflags-2.0/src -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/util/coding/coder.cc g++ -o build/opt/mongo/s/write_ops/cluster_write.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/cluster_write.cpp g++ -o build/opt/mongo/db/commands/test_commands_enabled.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/test_commands_enabled.cpp g++ -o build/opt/mongo/db/fts/fts_query_noop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_noop.cpp g++ -o build/opt/mongo/db/pipeline/accumulator_add_to_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_add_to_set.cpp ar rcsTD build/opt/third_party/s2/util/coding/libcoding.a build/opt/third_party/s2/util/coding/coder.o build/opt/third_party/s2/util/coding/varint.o Skipping ranlib for thin archive build/opt/third_party/s2/util/coding/libcoding.a g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/cmdline.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/cmdline.cpp g++ -o build/opt/mongo/db/storage/storage_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_options.cpp ar rcsTD build/opt/third_party/asio-master/libasio.a build/opt/third_party/asio-master/asio/src/asio.o Skipping ranlib for thin archive build/opt/third_party/asio-master/libasio.a g++ -o build/opt/mongo/s/catalog/dist_lock_catalog_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog/dist_lock_catalog_impl.cpp ar rcsTD build/opt/mongo/db/commands/libtest_commands_enabled.a build/opt/mongo/db/commands/test_commands_enabled.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libtest_commands_enabled.a g++ -o build/opt/mongo/base/system_error.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/base/system_error.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_add_to_set.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_add_to_set.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/base/libsystem_error.a build/opt/mongo/base/system_error.o Skipping ranlib for thin archive build/opt/mongo/base/libsystem_error.a g++ -o build/opt/mongo/s/commands/pipeline_s.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/pipeline_s.cpp g++ -o build/opt/mongo/util/tcmalloc_set_parameter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/tcmalloc_set_parameter.cpp g++ -o build/opt/mongo/util/heap_profiler.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/heap_profiler.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/visibledigits.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/visibledigits.cpp g++ -o build/opt/third_party/shim_stemmer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_stemmer.cpp ar rcsTD build/opt/third_party/libshim_stemmer.a build/opt/third_party/shim_stemmer.o Skipping ranlib for thin archive build/opt/third_party/libshim_stemmer.a g++ -o build/opt/mongo/db/fts/tokenizer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/tokenizer.cpp 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/mongo_process_interface.h:44, from src/mongo/db/pipeline/mongo_process_common.h:36, from src/mongo/s/commands/pipeline_s.h:33, from src/mongo/s/commands/pipeline_s.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/mongo_process_interface.h:44, from src/mongo/db/pipeline/mongo_process_common.h:36, from src/mongo/s/commands/pipeline_s.h:33, from src/mongo/s/commands/pipeline_s.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/indiancal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/indiancal.cpp g++ -o build/opt/mongo/s/grid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/grid.cpp g++ -o build/opt/mongo/s/client/shard_factory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/shard_factory.cpp 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/commands/server_status.h:35, from src/mongo/util/heap_profiler.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/util/heap_profiler.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/client/shard_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/shard_registry.cpp g++ -o build/opt/mongo/s/balancer_configuration.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/balancer_configuration.cpp ar rcsTD build/opt/mongo/s/libsharding_api.a build/opt/mongo/s/write_ops/cluster_write.o Skipping ranlib for thin archive build/opt/mongo/s/libsharding_api.a ar rcsTD build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a build/opt/mongo/s/catalog/replset_dist_lock_manager.o Skipping ranlib for thin archive build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a gcc -o build/opt/third_party/icu4c-57.1/source/common/ucmndata.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucmndata.c g++ -o build/opt/mongo/db/query/collation/collator_interface_icu.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_interface_icu.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/grid.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/grid.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/logger/parse_log_component_settings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/logger/parse_log_component_settings.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbitblb.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbitblb.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ubidiwrt.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidiwrt.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/decimfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decimfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationbuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationbuilder.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/winnmfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/winnmfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/toupptrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/toupptrn.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/fpositer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fpositer.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/zonemeta.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/zonemeta.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/udateintervalformat.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/udateintervalformat.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/precision.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/precision.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/unum.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/unum.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationfastlatinbuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfastlatinbuilder.cpp ar rcsTD build/opt/mongo/logger/libparse_log_component_settings.a build/opt/mongo/logger/parse_log_component_settings.o Skipping ranlib for thin archive build/opt/mongo/logger/libparse_log_component_settings.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rematch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rematch.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dtptngen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtptngen.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucol_sit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/choicfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/choicfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/strrepl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/strrepl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/buddhcal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/buddhcal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitinterval.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitinterval.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ztrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ztrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/numfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/numfmt.cpp In file included from /usr/include/string.h:508, from src/third_party/icu4c-57.1/source/common/cmemory.h:30, from src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:21: In function 'char* strcat(char*, const char*)', inlined from 'void ucol_sit_calculateWholeLocale(CollatorSpec*)' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:393:9: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 193 or more bytes at offsets 192 and 0 may overlap 1 byte at offset 192 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcat(char*, const char*)', inlined from 'void ucol_sit_calculateWholeLocale(CollatorSpec*)' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:397:13: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 161 or more bytes at offsets 192 and 32 may overlap 1 byte at offset 192 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcat(char*, const char*)', inlined from 'void ucol_sit_calculateWholeLocale(CollatorSpec*)' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:402:13: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 129 or more bytes at offsets 192 and 64 may overlap 1 byte at offset 192 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcat(char*, const char*)', inlined from 'void ucol_sit_calculateWholeLocale(CollatorSpec*)' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:409:13: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 97 or more bytes at offsets 192 and 96 may overlap 1 byte at offset 192 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcat(char*, const char*)', inlined from 'void ucol_sit_calculateWholeLocale(CollatorSpec*)' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:415:13: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 65 or more bytes at offsets 192 and 128 may overlap 1 byte at offset 192 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcat(char*, const char*)', inlined from 'void ucol_sit_calculateWholeLocale(CollatorSpec*)' at src/third_party/icu4c-57.1/source/i18n/ucol_sit.cpp:421:13: /usr/include/bits/string_fortified.h:128:33: warning: 'char* __builtin___strcat_chk(char*, const char*, long unsigned int)' accessing 33 or more bytes at offsets 192 and 160 may overlap 1 byte at offset 192 [-Wrestrict] return __builtin___strcat_chk (__dest, __src, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/i18n/japancal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/japancal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tolowtrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tolowtrn.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/datefmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/datefmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/decimfmtimpl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decimfmtimpl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/pluralaffix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/pluralaffix.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/smpdtfst.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/smpdtfst.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof_impl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/casetrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/casetrn.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/name2uni.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/name2uni.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/bocsu.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/bocsu.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dtrule.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtrule.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitaffix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitaffix.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationkeys.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationkeys.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/measfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/measfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rulebasedcollator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rulebasedcollator.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbt_rule.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_rule.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationfastlatin.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationfastlatin.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/cecal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/cecal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/msgfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/msgfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/translit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/translit.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/fphdlimp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fphdlimp.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/remtrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/remtrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/measunit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/measunit.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/coptccal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/coptccal.cpp ar rcsTD build/opt/mongo/util/libtcmalloc_set_parameter.a build/opt/mongo/util/tcmalloc_server_status_section.o build/opt/mongo/util/tcmalloc_set_parameter.o build/opt/mongo/util/heap_profiler.o Skipping ranlib for thin archive build/opt/mongo/util/libtcmalloc_set_parameter.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/simpletz.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/simpletz.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csrmbcs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrmbcs.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/gender.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/gender.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ucol_res.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ucol_res.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uitercollationiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uitercollationiterator.cpp gcc -o build/opt/third_party/icu4c-57.1/source/i18n/ulocdata.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ulocdata.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tzrule.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tzrule.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationdata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdata.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csmatch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csmatch.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uspoof.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uspoof.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/scriptset.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/scriptset.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csrutf8.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csrutf8.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/unesctrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/unesctrn.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/regexst.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/regexst.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tzfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tzfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/chnsecal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/chnsecal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/rbt_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/rbt_set.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationdatabuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdatabuilder.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationdatawriter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdatawriter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/smallintformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/smallintformatter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationiterator.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/titletrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/titletrn.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dangical.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dangical.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/sortkey.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/sortkey.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/fmtable_cnv.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/fmtable_cnv.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/utf8collationiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utf8collationiterator.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/selfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/selfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/basictz.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/basictz.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/wintzimpl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/wintzimpl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/esctrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/esctrn.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/stsearch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/stsearch.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitlst.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitlst.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/currfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tzgnames.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tzgnames.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/nfrs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nfrs.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csr2022.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csr2022.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/nultrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nultrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/hebrwcal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/hebrwcal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/alphaindex.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/alphaindex.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/quant.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/quant.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationroot.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationroot.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/astro.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/astro.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/gregoimp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/gregoimp.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tznames_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tznames_impl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/digitformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/digitformatter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/valueformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/valueformatter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/currpinf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/currpinf.cpp gcc -o build/opt/third_party/icu4c-57.1/source/i18n/utmscale.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utmscale.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/search.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/search.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/nortrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nortrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/islamcal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/islamcal.cpp ar rcsTD build/opt/mongo/s/libgrid.a build/opt/mongo/s/balancer_configuration.o build/opt/mongo/s/catalog_cache.o build/opt/mongo/s/client/shard_factory.o build/opt/mongo/s/client/shard_registry.o build/opt/mongo/s/grid.o g++ -o build/opt/third_party/icu4c-57.1/source/i18n/csdetect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/csdetect.cpp Skipping ranlib for thin archive build/opt/mongo/s/libgrid.a g++ -o build/opt/third_party/icu4c-57.1/source/i18n/windtfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/windtfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uregexc.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uregexc.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/anytrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/anytrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/affixpatternparser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/affixpatternparser.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/nfrule.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/nfrule.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/reldatefmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/reldatefmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/unumsys.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/unumsys.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/format.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/format.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dayperiodrules.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dayperiodrules.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/plurrule.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/plurrule.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/funcrepl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/funcrepl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/umsg.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/umsg.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/region.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/region.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/repattrn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/repattrn.cpp gcc -o build/opt/third_party/icu4c-57.1/source/i18n/decNumber.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/decNumber.c g++ -o build/opt/third_party/icu4c-57.1/source/i18n/smpdtfmt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/smpdtfmt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationsettings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationsettings.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/brktrans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/brktrans.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/coll.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/coll.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collationdatareader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collationdatareader.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/upluralrules.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/upluralrules.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tmutamt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tmutamt.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/tznames.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/tznames.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/uregion.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/uregion.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dtitvinf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtitvinf.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/udatpg.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/udatpg.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/utf16collationiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/utf16collationiterator.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/ethpccal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/ethpccal.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/collation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/collation.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/calendar.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/calendar.cpp g++ -o build/opt/third_party/icu4c-57.1/source/i18n/dtfmtsym.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_I18N_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/i18n/dtfmtsym.cpp g++ -o build/opt/mongo/util/safe_num.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/safe_num.cpp g++ -o build/opt/mongo/db/update/modifier_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/modifier_node.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/usc_impl.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/usc_impl.c g++ -o build/opt/mongo/db/storage/write_unit_of_work.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/write_unit_of_work.cpp g++ -o build/opt/mongo/db/ops/write_ops_parsers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/write_ops_parsers.cpp g++ -o build/opt/mongo/rpc/message.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/message.cpp g++ -o build/opt/mongo/rpc/protocol.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/protocol.cpp g++ -o build/opt/mongo/rpc/op_msg.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/op_msg.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ures_cnv.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ures_cnv.c gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnvisci.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvisci.c Using tempfile /usr/src/tmp/tmpceCp8Y.lnk for command line: ar rcsTD build/opt/third_party/icu4c-57.1/source/libicu_i18n.a build/opt/third_party/icu4c-57.1/source/i18n/affixpatternparser.o build/opt/third_party/icu4c-57.1/source/i18n/alphaindex.o build/opt/third_party/icu4c-57.1/source/i18n/anytrans.o build/opt/third_party/icu4c-57.1/source/i18n/astro.o build/opt/third_party/icu4c-57.1/source/i18n/basictz.o build/opt/third_party/icu4c-57.1/source/i18n/bocsu.o build/opt/third_party/icu4c-57.1/source/i18n/brktrans.o build/opt/third_party/icu4c-57.1/source/i18n/buddhcal.o build/opt/third_party/icu4c-57.1/source/i18n/calendar.o build/opt/third_party/icu4c-57.1/source/i18n/casetrn.o build/opt/third_party/icu4c-57.1/source/i18n/cecal.o build/opt/third_party/icu4c-57.1/source/i18n/chnsecal.o build/opt/third_party/icu4c-57.1/source/i18n/choicfmt.o build/opt/third_party/icu4c-57.1/source/i18n/coleitr.o build/opt/third_party/icu4c-57.1/source/i18n/coll.o build/opt/third_party/icu4c-57.1/source/i18n/collation.o build/opt/third_party/icu4c-57.1/source/i18n/collationbuilder.o build/opt/third_party/icu4c-57.1/source/i18n/collationcompare.o build/opt/third_party/icu4c-57.1/source/i18n/collationdata.o build/opt/third_party/icu4c-57.1/source/i18n/collationdatabuilder.o build/opt/third_party/icu4c-57.1/source/i18n/collationdatareader.o build/opt/third_party/icu4c-57.1/source/i18n/collationdatawriter.o build/opt/third_party/icu4c-57.1/source/i18n/collationfastlatin.o build/opt/third_party/icu4c-57.1/source/i18n/collationfastlatinbuilder.o build/opt/third_party/icu4c-57.1/source/i18n/collationfcd.o build/opt/third_party/icu4c-57.1/source/i18n/collationiterator.o build/opt/third_party/icu4c-57.1/source/i18n/collationkeys.o build/opt/third_party/icu4c-57.1/source/i18n/collationroot.o build/opt/third_party/icu4c-57.1/source/i18n/collationrootelements.o build/opt/third_party/icu4c-57.1/source/i18n/collationruleparser.o build/opt/third_party/icu4c-57.1/source/i18n/collationsets.o build/opt/third_party/icu4c-57.1/source/i18n/collationsettings.o build/opt/third_party/icu4c-57.1/source/i18n/collationtailoring.o build/opt/third_party/icu4c-57.1/source/i18n/collationweights.o build/opt/third_party/icu4c-57.1/source/i18n/compactdecimalformat.o build/opt/third_party/icu4c-57.1/source/i18n/coptccal.o build/opt/third_party/icu4c-57.1/source/i18n/cpdtrans.o build/opt/third_party/icu4c-57.1/source/i18n/csdetect.o build/opt/third_party/icu4c-57.1/source/i18n/csmatch.o build/opt/third_party/icu4c-57.1/source/i18n/csr2022.o build/opt/third_party/icu4c-57.1/source/i18n/csrecog.o build/opt/third_party/icu4c-57.1/source/i18n/csrmbcs.o build/opt/third_party/icu4c-57.1/source/i18n/csrsbcs.o build/opt/third_party/icu4c-57.1/source/i18n/csrucode.o build/opt/third_party/icu4c-57.1/source/i18n/csrutf8.o build/opt/third_party/icu4c-57.1/source/i18n/curramt.o build/opt/third_party/icu4c-57.1/source/i18n/currfmt.o build/opt/third_party/icu4c-57.1/source/i18n/currpinf.o build/opt/third_party/icu4c-57.1/source/i18n/currunit.o build/opt/third_party/icu4c-57.1/source/i18n/dangical.o build/opt/third_party/icu4c-57.1/source/i18n/datefmt.o build/opt/third_party/icu4c-57.1/source/i18n/dayperiodrules.o build/opt/third_party/icu4c-57.1/source/i18n/dcfmtsym.o build/opt/third_party/icu4c-57.1/source/i18n/decContext.o build/opt/third_party/icu4c-57.1/source/i18n/decNumber.o build/opt/third_party/icu4c-57.1/source/i18n/decfmtst.o build/opt/third_party/icu4c-57.1/source/i18n/decimalformatpattern.o build/opt/third_party/icu4c-57.1/source/i18n/decimfmt.o build/opt/third_party/icu4c-57.1/source/i18n/decimfmtimpl.o build/opt/third_party/icu4c-57.1/source/i18n/digitaffix.o build/opt/third_party/icu4c-57.1/source/i18n/digitaffixesandpadding.o build/opt/third_party/icu4c-57.1/source/i18n/digitformatter.o build/opt/third_party/icu4c-57.1/source/i18n/digitgrouping.o build/opt/third_party/icu4c-57.1/source/i18n/digitinterval.o build/opt/third_party/icu4c-57.1/source/i18n/digitlst.o build/opt/third_party/icu4c-57.1/source/i18n/dtfmtsym.o build/opt/third_party/icu4c-57.1/source/i18n/dtitvfmt.o build/opt/third_party/icu4c-57.1/source/i18n/dtitvinf.o build/opt/third_party/icu4c-57.1/source/i18n/dtptngen.o build/opt/third_party/icu4c-57.1/source/i18n/dtrule.o build/opt/third_party/icu4c-57.1/source/i18n/esctrn.o build/opt/third_party/icu4c-57.1/source/i18n/ethpccal.o build/opt/third_party/icu4c-57.1/source/i18n/fmtable.o build/opt/third_party/icu4c-57.1/source/i18n/fmtable_cnv.o build/opt/third_party/icu4c-57.1/source/i18n/format.o build/opt/third_party/icu4c-57.1/source/i18n/fphdlimp.o build/opt/third_party/icu4c-57.1/source/i18n/fpositer.o build/opt/third_party/icu4c-57.1/source/i18n/funcrepl.o build/opt/third_party/icu4c-57.1/source/i18n/gender.o build/opt/third_party/icu4c-57.1/source/i18n/gregocal.o build/opt/third_party/icu4c-57.1/source/i18n/gregoimp.o build/opt/third_party/icu4c-57.1/source/i18n/hebrwcal.o build/opt/third_party/icu4c-57.1/source/i18n/identifier_info.o build/opt/third_party/icu4c-57.1/source/i18n/indiancal.o build/opt/third_party/icu4c-57.1/source/i18n/inputext.o build/opt/third_party/icu4c-57.1/source/i18n/islamcal.o build/opt/third_party/icu4c-57.1/source/i18n/japancal.o build/opt/third_party/icu4c-57.1/source/i18n/measfmt.o build/opt/third_party/icu4c-57.1/source/i18n/measunit.o build/opt/third_party/icu4c-57.1/source/i18n/measure.o build/opt/third_party/icu4c-57.1/source/i18n/msgfmt.o build/opt/third_party/icu4c-57.1/source/i18n/name2uni.o build/opt/third_party/icu4c-57.1/source/i18n/nfrs.o build/opt/third_party/icu4c-57.1/source/i18n/nfrule.o build/opt/third_party/icu4c-57.1/source/i18n/nfsubs.o build/opt/third_party/icu4c-57.1/source/i18n/nortrans.o build/opt/third_party/icu4c-57.1/source/i18n/nultrans.o build/opt/third_party/icu4c-57.1/source/i18n/numfmt.o build/opt/third_party/icu4c-57.1/source/i18n/numsys.o build/opt/third_party/icu4c-57.1/source/i18n/olsontz.o build/opt/third_party/icu4c-57.1/source/i18n/persncal.o build/opt/third_party/icu4c-57.1/source/i18n/pluralaffix.o build/opt/third_party/icu4c-57.1/source/i18n/plurfmt.o build/opt/third_party/icu4c-57.1/source/i18n/plurrule.o build/opt/third_party/icu4c-57.1/source/i18n/precision.o build/opt/third_party/icu4c-57.1/source/i18n/quant.o build/opt/third_party/icu4c-57.1/source/i18n/quantityformatter.o build/opt/third_party/icu4c-57.1/source/i18n/rbnf.o build/opt/third_party/icu4c-57.1/source/i18n/rbt.o build/opt/third_party/icu4c-57.1/source/i18n/rbt_data.o build/opt/third_party/icu4c-57.1/source/i18n/rbt_pars.o build/opt/third_party/icu4c-57.1/source/i18n/rbt_rule.o build/opt/third_party/icu4c-57.1/source/i18n/rbt_set.o build/opt/third_party/icu4c-57.1/source/i18n/rbtz.o build/opt/third_party/icu4c-57.1/source/i18n/regexcmp.o build/opt/third_party/icu4c-57.1/source/i18n/regeximp.o build/opt/third_party/icu4c-57.1/source/i18n/regexst.o build/opt/third_party/icu4c-57.1/source/i18n/regextxt.o build/opt/third_party/icu4c-57.1/source/i18n/region.o build/opt/third_party/icu4c-57.1/source/i18n/reldatefmt.o build/opt/third_party/icu4c-57.1/source/i18n/reldtfmt.o build/opt/third_party/icu4c-57.1/source/i18n/rematch.o build/opt/third_party/icu4c-57.1/source/i18n/remtrans.o build/opt/third_party/icu4c-57.1/source/i18n/repattrn.o build/opt/third_party/icu4c-57.1/source/i18n/rulebasedcollator.o build/opt/third_party/icu4c-57.1/source/i18n/scientificnumberformatter.o build/opt/third_party/icu4c-57.1/source/i18n/scriptset.o build/opt/third_party/icu4c-57.1/source/i18n/search.o build/opt/third_party/icu4c-57.1/source/i18n/selfmt.o build/opt/third_party/icu4c-57.1/source/i18n/sharedbreakiterator.o build/opt/third_party/icu4c-57.1/source/i18n/simpletz.o build/opt/third_party/icu4c-57.1/source/i18n/smallintformatter.o build/opt/third_party/icu4c-57.1/source/i18n/smpdtfmt.o build/opt/third_party/icu4c-57.1/source/i18n/smpdtfst.o build/opt/third_party/icu4c-57.1/source/i18n/sortkey.o build/opt/third_party/icu4c-57.1/source/i18n/standardplural.o build/opt/third_party/icu4c-57.1/source/i18n/strmatch.o build/opt/third_party/icu4c-57.1/source/i18n/strrepl.o build/opt/third_party/icu4c-57.1/source/i18n/stsearch.o build/opt/third_party/icu4c-57.1/source/i18n/taiwncal.o build/opt/third_party/icu4c-57.1/source/i18n/timezone.o build/opt/third_party/icu4c-57.1/source/i18n/titletrn.o build/opt/third_party/icu4c-57.1/source/i18n/tmunit.o build/opt/third_party/icu4c-57.1/source/i18n/tmutamt.o build/opt/third_party/icu4c-57.1/source/i18n/tmutfmt.o build/opt/third_party/icu4c-57.1/source/i18n/tolowtrn.o build/opt/third_party/icu4c-57.1/source/i18n/toupptrn.o build/opt/third_party/icu4c-57.1/source/i18n/translit.o build/opt/third_party/icu4c-57.1/source/i18n/transreg.o build/opt/third_party/icu4c-57.1/source/i18n/tridpars.o build/opt/third_party/icu4c-57.1/source/i18n/tzfmt.o build/opt/third_party/icu4c-57.1/source/i18n/tzgnames.o build/opt/third_party/icu4c-57.1/source/i18n/tznames.o build/opt/third_party/icu4c-57.1/source/i18n/tznames_impl.o build/opt/third_party/icu4c-57.1/source/i18n/tzrule.o build/opt/third_party/icu4c-57.1/source/i18n/tztrans.o build/opt/third_party/icu4c-57.1/source/i18n/ucal.o build/opt/third_party/icu4c-57.1/source/i18n/ucln_in.o build/opt/third_party/icu4c-57.1/source/i18n/ucol.o build/opt/third_party/icu4c-57.1/source/i18n/ucol_res.o build/opt/third_party/icu4c-57.1/source/i18n/ucol_sit.o build/opt/third_party/icu4c-57.1/source/i18n/ucoleitr.o build/opt/third_party/icu4c-57.1/source/i18n/ucsdet.o build/opt/third_party/icu4c-57.1/source/i18n/udat.o build/opt/third_party/icu4c-57.1/source/i18n/udateintervalformat.o build/opt/third_party/icu4c-57.1/source/i18n/udatpg.o build/opt/third_party/icu4c-57.1/source/i18n/ufieldpositer.o build/opt/third_party/icu4c-57.1/source/i18n/uitercollationiterator.o build/opt/third_party/icu4c-57.1/source/i18n/ulocdata.o build/opt/third_party/icu4c-57.1/source/i18n/umsg.o build/opt/third_party/icu4c-57.1/source/i18n/unesctrn.o build/opt/third_party/icu4c-57.1/source/i18n/uni2name.o build/opt/third_party/icu4c-57.1/source/i18n/unum.o build/opt/third_party/icu4c-57.1/source/i18n/unumsys.o build/opt/third_party/icu4c-57.1/source/i18n/upluralrules.o build/opt/third_party/icu4c-57.1/source/i18n/uregex.o build/opt/third_party/icu4c-57.1/source/i18n/uregexc.o build/opt/third_party/icu4c-57.1/source/i18n/uregion.o build/opt/third_party/icu4c-57.1/source/i18n/usearch.o build/opt/third_party/icu4c-57.1/source/i18n/uspoof.o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_build.o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_conf.o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_impl.o build/opt/third_party/icu4c-57.1/source/i18n/uspoof_wsconf.o build/opt/third_party/icu4c-57.1/source/i18n/utf16collationiterator.o build/opt/third_party/icu4c-57.1/source/i18n/utf8collationiterator.o build/opt/third_party/icu4c-57.1/source/i18n/utmscale.o build/opt/third_party/icu4c-57.1/source/i18n/utrans.o build/opt/third_party/icu4c-57.1/source/i18n/valueformatter.o build/opt/third_party/icu4c-57.1/source/i18n/visibledigits.o build/opt/third_party/icu4c-57.1/source/i18n/vtzone.o build/opt/third_party/icu4c-57.1/source/i18n/vzone.o build/opt/third_party/icu4c-57.1/source/i18n/windtfmt.o build/opt/third_party/icu4c-57.1/source/i18n/winnmfmt.o build/opt/third_party/icu4c-57.1/source/i18n/wintzimpl.o build/opt/third_party/icu4c-57.1/source/i18n/zonemeta.o build/opt/third_party/icu4c-57.1/source/i18n/zrule.o build/opt/third_party/icu4c-57.1/source/i18n/ztrans.o ar @/usr/src/tmp/tmpceCp8Y.lnk Skipping ranlib for thin archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/portability.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/portability.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/modifier_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/s/cluster_cursor_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/cluster_cursor_stats.cpp In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/modifier_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbisetb.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbisetb.cpp g++ -o build/opt/mongo/db/update/set_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/set_node.cpp ar rcsTD build/opt/mongo/db/storage/libwrite_unit_of_work.a build/opt/mongo/db/storage/write_unit_of_work.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libwrite_unit_of_work.a gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_u8.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u8.c g++ -o build/opt/mongo/util/md5.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/md5.cpp g++ -o build/opt/mongo/util/concurrency/ticketholder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/concurrency/ticketholder.cpp g++ -o build/opt/mongo/db/update/addtoset_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/addtoset_node.cpp g++ -o build/opt/mongo/db/logical_session_id_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/logical_session_id_gen.cpp ar rcsTD build/opt/mongo/rpc/libprotocol.a build/opt/mongo/rpc/message.o build/opt/mongo/rpc/op_msg.o build/opt/mongo/rpc/protocol.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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/set_node.h:33, from src/mongo/db/update/set_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/rpc/libprotocol.a In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/set_node.h:33, from src/mongo/db/update/set_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/net/private/socket_poll.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/private/socket_poll.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/cluster_cursor_stats.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/cluster_cursor_stats.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/addtoset_node.h:33, from src/mongo/db/update/addtoset_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/addtoset_node.h:33, from src/mongo/db/update/addtoset_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/expression_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_type.cpp g++ -o build/opt/mongo/db/fts/fts_element_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_element_iterator.cpp 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 build/opt/mongo/db/logical_session_id_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/logical_session_id_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/role_graph_builtin_roles.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/role_graph_builtin_roles.cpp g++ -o build/opt/mongo/db/session_killer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/session_killer.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_type.h:33, from src/mongo/db/matcher/expression_type.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_type.h:33, from src/mongo/db/matcher/expression_type.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/query/router_stage_skip.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_skip.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/normalizer2impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normalizer2impl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/resource.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/resource.cpp g++ -o build/opt/mongo/client/sasl_client_session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_client_session.cpp g++ -o build/opt/mongo/crypto/sha256_block.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/crypto/sha256_block.cpp g++ -o build/opt/mongo/util/icu.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/icu.cpp g++ -o build/opt/mongo/db/query/planner_ixselect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/planner_ixselect.cpp g++ -o build/opt/mongo/rpc/reply_builder_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/reply_builder_interface.cpp ar rcsTD build/opt/mongo/crypto/libsha256_block.a build/opt/mongo/crypto/sha256_block.o Skipping ranlib for thin archive build/opt/mongo/crypto/libsha256_block.a ar rcsTD build/opt/mongo/db/libservice_liaison.a build/opt/mongo/db/service_liaison.o Skipping ranlib for thin archive build/opt/mongo/db/libservice_liaison.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ucharstrieiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucharstrieiterator.cpp g++ -o build/opt/mongo/db/matcher/expression_algo.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_algo.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr_case.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_case.cpp 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/planner_ixselect.h:33, from src/mongo/db/query/planner_ixselect.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/planner_ixselect.h:33, from src/mongo/db/query/planner_ixselect.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libencryption_hooks.a build/opt/mongo/db/storage/encryption_hooks.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libencryption_hooks.a g++ -o build/opt/mongo/db/commands/server_status_servers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/server_status_servers.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/uloc_tag.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uloc_tag.c 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/matcher/expression_algo.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_algo.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/operations.cpp g++ -o build/opt/mongo/db/index_names.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index_names.cpp g++ -o build/opt/mongo/db/stats/top.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/top.cpp g++ -o build/opt/mongo/s/shard_key_pattern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/shard_key_pattern.cpp 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/commands/server_status.h:35, from src/mongo/db/commands/server_status_servers.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/commands/server_status_servers.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libindex_names.a build/opt/mongo/db/index_names.o Skipping ranlib for thin archive build/opt/mongo/db/libindex_names.a g++ -o build/opt/mongo/db/pipeline/lite_parsed_document_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/lite_parsed_document_source.cpp ar rcsTD build/opt/mongo/db/liblogical_session_id.a build/opt/mongo/db/logical_session_id.o build/opt/mongo/db/logical_session_id_gen.o build/opt/mongo/db/refresh_sessions_gen.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_id.a ar rcsTD build/opt/third_party/libshim_allocator.a build/opt/third_party/shim_allocator.o Skipping ranlib for thin archive build/opt/third_party/libshim_allocator.a g++ -o build/opt/mongo/db/update/update_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/update_node.cpp g++ -o build/opt/mongo/db/pipeline/value_comparator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/value_comparator.cpp 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/s/shard_key_pattern.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/s/shard_key_pattern.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/stats/top.h:37, from src/mongo/db/stats/top.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/stats/top.h:37, from src/mongo/db/stats/top.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/crypto/sha_block_openssl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/crypto/sha_block_openssl.cpp In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/value_comparator.h:37, from src/mongo/db/pipeline/value_comparator.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/update/update_array_node.h:37, from src/mongo/db/update/update_node.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/update/update_array_node.h:37, from src/mongo/db/update/update_node.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/server_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_options.cpp ar rcsTD build/opt/mongo/crypto/libsha_block_openssl.a build/opt/mongo/crypto/sha_block_openssl.o ar rcsTD build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a build/opt/mongo/s/catalog/sharding_catalog_client_impl.o Skipping ranlib for thin archive build/opt/mongo/crypto/libsha_block_openssl.a Skipping ranlib for thin archive build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a g++ -o build/opt/mongo/db/query/find_and_modify_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/find_and_modify_request.cpp g++ -o build/opt/mongo/db/query/killcursors_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/killcursors_request.cpp ar rcsTD build/opt/mongo/db/libserver_options_core.a build/opt/mongo/db/server_options.o Skipping ranlib for thin archive build/opt/mongo/db/libserver_options_core.a g++ -o build/opt/mongo/db/query/killcursors_response.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/killcursors_response.cpp g++ -o build/opt/mongo/db/ftdc/ftdc_system_stats_linux.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_system_stats_linux.cpp g++ -o build/opt/mongo/db/ftdc/ftdc_system_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_system_stats.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/killcursors_request.h:37, from src/mongo/db/query/killcursors_request.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/killcursors_request.h:37, from src/mongo/db/query/killcursors_request.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/ftdc/ftdc_server.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_server.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/killcursors_response.h:37, from src/mongo/db/query/killcursors_response.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/killcursors_response.h:37, from src/mongo/db/query/killcursors_response.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/collation/collator_factory_icu.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/collation/collator_factory_icu.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/locutil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locutil.cpp g++ -o build/opt/mongo/db/stats/counters.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/counters.cpp g++ -o build/opt/mongo/s/commands/cluster_getmore_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_getmore_cmd.cpp 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/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_server.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/s/libsharding_routing_table.a build/opt/mongo/s/chunk.o build/opt/mongo/s/chunk_manager.o build/opt/mongo/s/shard_key_pattern.o 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/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_server.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/s/libsharding_routing_table.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ustr_wcs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustr_wcs.cpp g++ -o build/opt/mongo/db/sessions_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection.cpp g++ -o build/opt/mongo/db/pipeline/variables.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/variables.cpp 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/variables.h:33, from src/mongo/db/pipeline/variables.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/variables.h:33, from src/mongo/db/pipeline/variables.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/fts/fts_spec.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_spec.cpp 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_getmore_cmd.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_getmore_cmd.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/timelib-2018.01alpha1/parse_date.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_date.c g++ -o build/opt/mongo/s/client/shard_remote.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/shard_remote.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/fts/fts_spec.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/fts/fts_spec.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python src/mongo/db/fts/unicode/gen_delimiter_list.py src/third_party/unicode-8.0.0/PropList.txt build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.cpp ar rcsTD build/opt/mongo/db/query/libcommand_request_response.a build/opt/mongo/db/query/count_request.o build/opt/mongo/db/query/cursor_request.o build/opt/mongo/db/query/cursor_response.o build/opt/mongo/db/query/find_and_modify_request.o build/opt/mongo/db/query/getmore_request.o build/opt/mongo/db/query/killcursors_request.o build/opt/mongo/db/query/killcursors_response.o build/opt/mongo/db/query/view_response_formatter.o g++ -o build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.cpp Skipping ranlib for thin archive build/opt/mongo/db/query/libcommand_request_response.a g++ -o build/opt/mongo/db/query/interval.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/interval.cpp ar rcsTD build/opt/mongo/db/fts/unicode/libunicode.a build/opt/mongo/db/fts/unicode/codepoints_casefold.o build/opt/mongo/db/fts/unicode/codepoints_delimiter_list.o build/opt/mongo/db/fts/unicode/codepoints_diacritic_list.o build/opt/mongo/db/fts/unicode/codepoints_diacritic_map.o build/opt/mongo/db/fts/unicode/string.o Skipping ranlib for thin archive build/opt/mongo/db/fts/unicode/libunicode.a g++ -o build/opt/mongo/s/commands/cluster_create_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_create_cmd.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/s/client/shard_remote.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/s/client/shard_remote.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/query/libindex_bounds.a build/opt/mongo/db/query/expression_index.o build/opt/mongo/db/query/expression_index_knobs.o build/opt/mongo/db/query/index_bounds.o build/opt/mongo/db/query/index_bounds_builder.o build/opt/mongo/db/query/interval.o Skipping ranlib for thin archive build/opt/mongo/db/query/libindex_bounds.a g++ -o build/opt/mongo/db/ops/write_ops_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/ops/write_ops_gen.cpp 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_create_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_create_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/ftdc/libftdc_server.a build/opt/mongo/db/ftdc/ftdc_server.o build/opt/mongo/db/ftdc/ftdc_system_stats.o build/opt/mongo/db/ftdc/ftdc_system_stats_linux.o Skipping ranlib for thin archive build/opt/mongo/db/ftdc/libftdc_server.a g++ -o build/opt/mongo/db/auth/role_graph.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/role_graph.cpp g++ -o build/opt/mongo/db/logical_session_cache_factory_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_cache_factory_mongos.cpp ar rcsTD build/opt/mongo/db/libsessions_collection.a build/opt/mongo/db/sessions_collection.o build/opt/mongo/db/create_indexes_gen.o Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection.a 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 build/opt/mongo/db/ops/write_ops_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/ops/write_ops_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/transport/service_executor_adaptive.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/service_executor_adaptive.cpp g++ -o build/opt/mongo/db/matcher/expression.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression.cpp g++ -o build/opt/mongo/db/generic_cursor_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/generic_cursor_gen.cpp 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/matcher/expression.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/list_databases_gen.h --output build/opt/mongo/db/commands/list_databases_gen.cpp src/mongo/db/commands/list_databases.idl g++ -o build/opt/mongo/db/update/update_object_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/update_object_node.cpp 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 build/opt/mongo/db/generic_cursor_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/generic_cursor_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/list_databases_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/list_databases_gen.cpp g++ -o build/opt/mongo/rpc/write_concern_error_detail.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/write_concern_error_detail.cpp ar rcsTD build/opt/mongo/s/client/libsharding_client.a build/opt/mongo/s/client/shard_remote.o Skipping ranlib for thin archive build/opt/mongo/s/client/libsharding_client.a g++ -o build/opt/mongo/s/mongos_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/mongos_options.cpp 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/update/update_object_node.h:38, from src/mongo/db/update/update_object_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/update/update_object_node.h:38, from src/mongo/db/update/update_object_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a build/opt/mongo/s/catalog/dist_lock_catalog.o Skipping ranlib for thin archive build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a g++ -o build/opt/third_party/icu4c-57.1/source/common/locavailable.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locavailable.cpp g++ -o build/opt/mongo/db/geo/geometry_container.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/geo/geometry_container.cpp 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 build/opt/mongo/db/commands/list_databases_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/commands/list_databases_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/shim_intel_decimal128.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/IntelRDFPMathLib20U1/LIBRARY src/third_party/shim_intel_decimal128.cpp ar rcsTD build/opt/third_party/libshim_intel_decimal128.a build/opt/third_party/shim_intel_decimal128.o Skipping ranlib for thin archive build/opt/third_party/libshim_intel_decimal128.a g++ -o build/opt/mongo/s/write_ops/chunk_manager_targeter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/chunk_manager_targeter.cpp ar rcsTD build/opt/mongo/db/ops/libwrite_ops_parsers.a build/opt/mongo/db/ops/write_ops_parsers.o build/opt/mongo/db/ops/write_ops_gen.o Skipping ranlib for thin archive build/opt/mongo/db/ops/libwrite_ops_parsers.a g++ -o build/opt/mongo/db/initialize_server_global_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/initialize_server_global_state.cpp 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/s/write_ops/chunk_manager_targeter.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/s/write_ops/chunk_manager_targeter.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libgeneric_cursor.a build/opt/mongo/db/generic_cursor_gen.o Skipping ranlib for thin archive build/opt/mongo/db/libgeneric_cursor.a g++ -o build/opt/mongo/db/pipeline/accumulator_push.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_push.cpp g++ -o build/opt/third_party/shim_zlib.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_zlib.cpp g++ -o build/opt/mongo/s/sharding_egress_metadata_hook.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/sharding_egress_metadata_hook.cpp g++ -o build/opt/mongo/s/shard_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/shard_util.cpp ar rcsTD build/opt/mongo/db/geo/libgeoparser.a build/opt/mongo/db/geo/geoparser.o build/opt/mongo/db/geo/geometry_container.o Skipping ranlib for thin archive build/opt/mongo/db/geo/libgeoparser.a g++ -o build/opt/mongo/s/cluster_identity_loader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/cluster_identity_loader.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_push.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_push.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/config_server_catalog_cache_loader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/config_server_catalog_cache_loader.cpp g++ -o build/opt/mongo/s/catalog_cache_loader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/catalog_cache_loader.cpp ar rcsTD build/opt/mongo/db/libmongodandmongos.a build/opt/mongo/db/initialize_server_global_state.o build/opt/mongo/db/server_options_init.o Skipping ranlib for thin archive build/opt/mongo/db/libmongodandmongos.a g++ -o build/opt/mongo/db/pipeline/document_sources_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/pipeline/document_sources_gen.cpp g++ -o build/opt/mongo/client/cyrus_sasl_client_session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/cyrus_sasl_client_session.cpp ar rcsTD build/opt/mongo/s/libcluster_last_error_info.a build/opt/mongo/s/cluster_last_error_info.o Skipping ranlib for thin archive build/opt/mongo/s/libcluster_last_error_info.a g++ -o build/opt/mongo/util/options_parser/value.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/value.cpp 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/resume_token.h:38, from build/opt/mongo/db/pipeline/document_sources_gen.h:21, from build/opt/mongo/db/pipeline/document_sources_gen.cpp:9: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/resume_token.h:38, from build/opt/mongo/db/pipeline/document_sources_gen.h:21, from build/opt/mongo/db/pipeline/document_sources_gen.cpp:9: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/options_parser/options_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/options_parser.cpp g++ -o build/opt/mongo/util/options_parser/environment.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/environment.cpp g++ -o build/opt/mongo/util/options_parser/option_description.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/options_parser/option_description.cpp g++ -o build/opt/mongo/db/pipeline/field_path.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/field_path.cpp g++ -o build/opt/mongo/s/commands/cluster_is_db_grid_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_is_db_grid_cmd.cpp g++ -o build/opt/mongo/db/bson/dotted_path_support.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/bson/dotted_path_support.cpp ar rcsTD build/opt/mongo/s/libcoreshard.a build/opt/mongo/s/catalog_cache_loader.o build/opt/mongo/s/cluster_identity_loader.o build/opt/mongo/s/config_server_catalog_cache_loader.o build/opt/mongo/s/config_server_client.o build/opt/mongo/s/shard_util.o build/opt/mongo/s/sharding_egress_metadata_hook.o Skipping ranlib for thin archive build/opt/mongo/s/libcoreshard.a g++ -o build/opt/mongo/db/query/datetime/date_time_support.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/datetime/date_time_support.cpp 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_is_db_grid_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_is_db_grid_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/errorcode.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/errorcode.cpp g++ -o build/opt/mongo/client/dbclient.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/dbclient.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unormcmp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unormcmp.cpp g++ -o build/opt/mongo/db/server_options_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_options_helpers.cpp ar rcsTD build/opt/mongo/db/bson/libdotted_path_support.a build/opt/mongo/db/bson/dotted_path_support.o Skipping ranlib for thin archive build/opt/mongo/db/bson/libdotted_path_support.a g++ -o build/opt/mongo/s/commands/cluster_whats_my_uri_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_whats_my_uri_cmd.cpp g++ -o build/opt/mongo/db/time_proof_service.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/time_proof_service.cpp 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/client/dbclient.cpp:51: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/client/dbclient.cpp:51: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/fts/fts_matcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_matcher.cpp 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_whats_my_uri_cmd.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_whats_my_uri_cmd.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/auth/libauthservercommon.a build/opt/mongo/db/auth/authz_session_external_state_server_common.o build/opt/mongo/db/auth/sasl_commands.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthservercommon.a g++ -o build/opt/mongo/db/commands/server_status_internal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/server_status_internal.cpp g++ -o build/opt/mongo/db/logical_session_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_cache.cpp g++ -o build/opt/mongo/s/commands/cluster_netstat_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_netstat_cmd.cpp g++ -o build/opt/mongo/util/periodic_runner_factory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/periodic_runner_factory.cpp ar rcsTD build/opt/mongo/util/options_parser/liboptions_parser.a build/opt/mongo/util/options_parser/environment.o build/opt/mongo/util/options_parser/value.o build/opt/mongo/util/options_parser/constraints.o build/opt/mongo/util/options_parser/option_section.o build/opt/mongo/util/options_parser/option_description.o build/opt/mongo/util/options_parser/options_parser.o build/opt/mongo/util/options_parser/startup_option_init.o build/opt/mongo/util/options_parser/startup_options.o Skipping ranlib for thin archive build/opt/mongo/util/options_parser/liboptions_parser.a gcc -o build/opt/third_party/icu4c-57.1/source/common/cstring.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cstring.c g++ -o build/opt/mongo/client/sasl_sspi_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_sspi_options.cpp g++ -o build/opt/mongo/db/fts/fts_query_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_impl.cpp 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_netstat_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_netstat_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/index/btree_key_generator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/btree_key_generator.cpp ar rcsTD build/opt/mongo/db/liblogical_session_cache.a build/opt/mongo/db/logical_session_cache.o build/opt/mongo/db/logical_session_cache_stats_gen.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_cache.a g++ -o build/opt/mongo/db/index/expression_keys_private.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/expression_keys_private.cpp ar rcsTD build/opt/mongo/util/libperiodic_runner_factory.a build/opt/mongo/util/periodic_runner_factory.o Skipping ranlib for thin archive build/opt/mongo/util/libperiodic_runner_factory.a gcc -o build/opt/third_party/icu4c-57.1/source/common/wintz.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/wintz.c g++ -o build/opt/mongo/db/matcher/expression_expr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_expr.cpp g++ -o build/opt/mongo/db/operation_context_group.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/operation_context_group.cpp ar rcsTD build/opt/mongo/db/libserver_options.a build/opt/mongo/db/server_options_helpers.o Skipping ranlib for thin archive build/opt/mongo/db/libserver_options.a g++ -o build/opt/mongo/db/operation_context.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/operation_context.cpp 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/matcher/expression_expr.h:35, from src/mongo/db/matcher/expression_expr.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_expr.h:35, from src/mongo/db/matcher/expression_expr.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/unclean_shutdown.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/unclean_shutdown.cpp g++ -o build/opt/mongo/db/service_context.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/service_context.cpp g++ -o build/opt/mongo/db/server_recovery.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_recovery.cpp g++ -o build/opt/mongo/db/pipeline/document.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uniset_closure.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uniset_closure.cpp g++ -o build/opt/mongo/util/signal_win32.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/signal_win32.cpp ar rcsTD build/opt/mongo/db/fts/libfts_query_noop.a build/opt/mongo/db/fts/fts_query_noop.o Skipping ranlib for thin archive build/opt/mongo/db/fts/libfts_query_noop.a g++ -o build/opt/mongo/db/log_process_details.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/log_process_details.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unisetspan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unisetspan.cpp ar rcsTD build/opt/mongo/db/pipeline/libexpression_context.a build/opt/mongo/db/pipeline/expression_context.o build/opt/mongo/db/pipeline/variables.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libexpression_context.a ar rcsTD build/opt/third_party/boost-1.60.0/libboost_iostreams.a build/opt/third_party/boost-1.60.0/libs/iostreams/src/file_descriptor.o build/opt/third_party/boost-1.60.0/libs/iostreams/src/mapped_file.o Skipping ranlib for thin archive build/opt/third_party/boost-1.60.0/libboost_iostreams.a g++ -o build/opt/mongo/db/matcher/expression_array.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_array.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/service_context.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/service_context.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/client/sasl_client_authenticate_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_client_authenticate_impl.cpp ar rcsTD build/opt/mongo/db/index/libkey_generator.a build/opt/mongo/db/index/btree_key_generator.o build/opt/mongo/db/index/expression_keys_private.o build/opt/mongo/db/index/sort_key_generator.o Skipping ranlib for thin archive build/opt/mongo/db/index/libkey_generator.a g++ -o build/opt/mongo/client/sasl_client_authenticate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_client_authenticate.cpp g++ -o build/opt/mongo/client/sasl_plain_client_conversation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_plain_client_conversation.cpp 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/expression_array.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/expression_array.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/client/native_sasl_client_session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/native_sasl_client_session.cpp g++ -o build/opt/mongo/client/sasl_scram_client_conversation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_scram_client_conversation.cpp g++ -o build/opt/mongo/client/sasl_client_conversation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_client_conversation.cpp g++ -o build/opt/mongo/client/sasl_sspi.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/sasl_sspi.cpp g++ -o build/opt/mongo/db/catalog/database.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/database.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/locmap.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locmap.c g++ -o build/opt/mongo/db/update/update_leaf_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/update_leaf_node.cpp g++ -o build/opt/mongo/s/query/establish_cursors.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/establish_cursors.cpp g++ -o build/opt/mongo/rpc/legacy_reply.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/legacy_reply.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/database.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/database.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/update_leaf_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/update_leaf_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/address_restriction.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/address_restriction.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/establish_cursors.h:41, from src/mongo/s/query/establish_cursors.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/establish_cursors.h:41, from src/mongo/s/query/establish_cursors.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/update/libupdate_driver.a build/opt/mongo/db/update/update_driver.o Skipping ranlib for thin archive build/opt/mongo/db/update/libupdate_driver.a ar rcsTD build/opt/mongo/util/libsecure_compare_memory.a build/opt/mongo/util/secure_compare_memory.o Skipping ranlib for thin archive build/opt/mongo/util/libsecure_compare_memory.a g++ -o build/opt/third_party/icu4c-57.1/source/common/sharedobject.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/sharedobject.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unifiedcache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unifiedcache.cpp g++ -o build/opt/mongo/db/commands/refresh_logical_session_cache_now.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/refresh_logical_session_cache_now.cpp g++ -o build/opt/mongo/rpc/command_reply.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/command_reply.cpp ar rcsTD build/opt/mongo/client/libsasl_client.a build/opt/mongo/client/native_sasl_client_session.o build/opt/mongo/client/sasl_client_authenticate.o build/opt/mongo/client/sasl_client_authenticate_impl.o build/opt/mongo/client/sasl_client_conversation.o build/opt/mongo/client/sasl_client_session.o build/opt/mongo/client/sasl_plain_client_conversation.o build/opt/mongo/client/sasl_scram_client_conversation.o build/opt/mongo/client/cyrus_sasl_client_session.o build/opt/mongo/client/sasl_sspi.o build/opt/mongo/client/sasl_sspi_options.o Skipping ranlib for thin archive build/opt/mongo/client/libsasl_client.a g++ -o build/opt/third_party/s2/base/strtoint.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/base/strtoint.cc g++ -o build/opt/third_party/s2/base/stringprintf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/base/stringprintf.cc g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnv2022.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv2022.cpp ar rcsTD build/opt/mongo/db/libservice_context.a build/opt/mongo/db/client.o build/opt/mongo/db/multi_key_path_tracker.o build/opt/mongo/db/operation_context.o build/opt/mongo/db/operation_context_group.o build/opt/mongo/db/service_context.o build/opt/mongo/db/server_recovery.o build/opt/mongo/db/unclean_shutdown.o Skipping ranlib for thin archive build/opt/mongo/db/libservice_context.a ar rcsTD build/opt/third_party/libshim_zlib.a build/opt/third_party/shim_zlib.o Skipping ranlib for thin archive build/opt/third_party/libshim_zlib.a g++ -o build/opt/mongo/s/write_ops/write_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/write_op.cpp In file included from /usr/include/string.h:508, from src/third_party/icu4c-57.1/source/common/cmemory.h:30, from src/third_party/icu4c-57.1/source/common/cstring.h:29, from src/third_party/icu4c-57.1/source/common/ucnv2022.cpp:42: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void _ISO2022Open(UConverter*, UConverterLoadArgs*, UErrorCode*)' at src/third_party/icu4c-57.1/source/common/ucnv2022.cpp:489:13: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' forming offset 7 is out of the bounds [0, 6] of object 'myLocale' with type 'char [6]' [-Warray-bounds] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/icu4c-57.1/source/common/ucnv2022.cpp: In function 'void _ISO2022Open(UConverter*, UConverterLoadArgs*, UErrorCode*)': src/third_party/icu4c-57.1/source/common/ucnv2022.cpp:474:10: note: 'myLocale' declared here char myLocale[6]={' ',' ',' ',' ',' ',' '}; ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_repl_set_get_status_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_repl_set_get_status_cmd.cpp ar rcsTD build/opt/third_party/s2/base/libbase_s2.a build/opt/third_party/s2/base/int128.o build/opt/third_party/s2/base/logging.o build/opt/third_party/s2/base/stringprintf.o build/opt/third_party/s2/base/strtoint.o Skipping ranlib for thin archive build/opt/third_party/s2/base/libbase_s2.a g++ -o build/opt/third_party/icu4c-57.1/source/common/utrie2_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrie2_builder.cpp 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/commands/refresh_logical_session_cache_now.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/refresh_logical_session_cache_now.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/resume_token.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/resume_token.cpp g++ -o build/opt/mongo/rpc/object_check.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/object_check.cpp 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/resume_token.h:38, from src/mongo/db/pipeline/resume_token.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/resume_token.h:38, from src/mongo/db/pipeline/resume_token.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_repl_set_get_status_cmd.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_repl_set_get_status_cmd.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/catalog/libdatabase.a build/opt/mongo/db/catalog/database.o g++ -o build/opt/third_party/icu4c-57.1/source/common/ucln_cmn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucln_cmn.cpp Skipping ranlib for thin archive build/opt/mongo/db/catalog/libdatabase.a gcc -o build/opt/third_party/timelib-2018.01alpha1/unixtime2tm.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/unixtime2tm.c g++ -o build/opt/mongo/s/sharding_egress_metadata_hook_for_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/sharding_egress_metadata_hook_for_mongos.cpp ar rcsTD build/opt/mongo/db/libtime_proof_service.a build/opt/mongo/db/time_proof_service.o g++ -o build/opt/third_party/s2/strings/split.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/strings/split.cc Skipping ranlib for thin archive build/opt/mongo/db/libtime_proof_service.a ar rcsTD build/opt/mongo/db/liblog_process_details.a build/opt/mongo/db/log_process_details.o Skipping ranlib for thin archive build/opt/mongo/db/liblog_process_details.a g++ -o build/opt/mongo/s/query/document_source_router_adapter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/document_source_router_adapter.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_num_properties.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp g++ -o build/opt/mongo/s/client/version_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/version_manager.cpp 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/matcher/schema/expression_internal_schema_num_properties.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_num_properties.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/schema/expression_internal_schema_num_properties.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_num_properties.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/pipeline/libdocument_sources_idl.a build/opt/mongo/db/pipeline/document_sources_gen.o build/opt/mongo/db/pipeline/resume_token.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libdocument_sources_idl.a g++ -o build/opt/mongo/db/s/collection_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_metadata.cpp g++ -o build/opt/mongo/s/commands/cluster_drop_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_drop_cmd.cpp 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/s/query/document_source_router_adapter.h:35, from src/mongo/s/query/document_source_router_adapter.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/locresdata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locresdata.cpp g++ -o build/opt/mongo/s/commands/cluster_fsync_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_fsync_cmd.cpp 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/s/query/document_source_router_adapter.h:35, from src/mongo/s/query/document_source_router_adapter.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/index_tag.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/index_tag.cpp ar rcsTD build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a build/opt/mongo/s/sharding_egress_metadata_hook_for_mongos.o Skipping ranlib for thin archive build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a g++ -o build/opt/mongo/db/s/operation_sharding_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/operation_sharding_state.cpp g++ -o build/opt/mongo/executor/remote_command_response.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/remote_command_response.cpp 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_drop_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/index_tag.h:37, from src/mongo/db/query/index_tag.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_drop_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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/index_tag.h:37, from src/mongo/db/query/index_tag.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_fsync_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_fsync_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/write_concern_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/write_concern_options.cpp g++ -o build/opt/mongo/s/commands/cluster_drop_database_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_drop_database_cmd.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uniset.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uniset.cpp ar rcsTD build/opt/mongo/s/libsharding_legacy_api.a build/opt/mongo/s/client/parallel.o build/opt/mongo/s/client/shard_connection.o build/opt/mongo/s/client/version_manager.o Skipping ranlib for thin archive build/opt/mongo/s/libsharding_legacy_api.a g++ -o build/opt/mongo/db/auth/user_document_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/user_document_parser.cpp g++ -o build/opt/mongo/s/commands/cluster_move_primary_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_move_primary_cmd.cpp g++ -o build/opt/mongo/s/commands/cluster_count_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_count_cmd.cpp g++ -o build/opt/mongo/s/commands/cluster_pipeline_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_pipeline_cmd.cpp 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_drop_database_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_drop_database_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_coll_stats_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_coll_stats_cmd.cpp 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_count_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_count_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_available_query_options_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_available_query_options_cmd.cpp 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_move_primary_cmd.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_move_primary_cmd.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_coll_stats_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_pipeline_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_pipeline_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_shard_collection_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_shard_collection_cmd.cpp 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_available_query_options_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_available_query_options_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_multicast_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/commands/cluster_multicast_gen.cpp 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_shard_collection_cmd.cpp:49: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_shard_collection_cmd.cpp:49: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_list_shards_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_list_shards_cmd.cpp g++ -o build/opt/mongo/s/commands/cluster_merge_chunks_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_merge_chunks_cmd.cpp g++ -o build/opt/mongo/s/commands/cluster_profile_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_profile_cmd.cpp 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 build/opt/mongo/s/commands/cluster_multicast_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/s/commands/cluster_multicast_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_list_shards_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_create_indexes_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_create_indexes_cmd.cpp 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_list_shards_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_add_shard_to_zone_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_add_shard_to_zone_cmd.cpp 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_profile_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_profile_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_get_shard_version_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_get_shard_version_cmd.cpp 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_merge_chunks_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_merge_chunks_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_create_indexes_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_create_indexes_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_add_shard_to_zone_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_add_shard_to_zone_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_write_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_write_cmd.cpp 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_get_shard_version_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_get_shard_version_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_kill_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_kill_op.cpp g++ -o build/opt/mongo/s/commands/cluster_reset_error_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_reset_error_cmd.cpp g++ -o build/opt/mongo/s/commands/cluster_map_reduce_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_map_reduce_cmd.cpp 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_write_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_write_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_kill_op.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_kill_op.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_get_last_error_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_get_last_error_cmd.cpp 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_reset_error_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_reset_error_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_list_databases_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_list_databases_cmd.cpp 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_map_reduce_cmd.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_map_reduce_cmd.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_is_master_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_is_master_cmd.cpp 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_get_last_error_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_get_last_error_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_find_and_modify_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_find_and_modify_cmd.cpp 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_list_databases_cmd.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_list_databases_cmd.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/s/commands/cluster_is_master_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/s/commands/cluster_is_master_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_update_zone_key_range_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_update_zone_key_range_cmd.cpp 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_and_modify_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_and_modify_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_validate_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_validate_cmd.cpp 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_update_zone_key_range_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_update_zone_key_range_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_geo_near_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_geo_near_cmd.cpp 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_validate_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_validate_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_compact_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_compact_cmd.cpp 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_geo_near_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_geo_near_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_restart_catalog_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_restart_catalog_command.cpp g++ -o build/opt/mongo/s/commands/cluster_control_balancer_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_control_balancer_cmd.cpp 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_compact_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_compact_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_restart_catalog_command.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_restart_catalog_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/kill_sessions_remote.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/kill_sessions_remote.cpp g++ -o build/opt/mongo/s/commands/cluster_move_chunk_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_move_chunk_cmd.cpp 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_control_balancer_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_control_balancer_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/commands/cluster_aggregate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_aggregate.cpp g++ -o build/opt/mongo/s/commands/cluster_db_stats_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_db_stats_cmd.cpp g++ -o build/opt/mongo/s/commands/cluster_explain_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_explain_cmd.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/commands/kill_sessions_remote.cpp:47: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/s/commands/cluster_aggregate.h:40, from src/mongo/s/commands/cluster_aggregate.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/commands/kill_sessions_remote.cpp:47: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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_move_chunk_cmd.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_move_chunk_cmd.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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/s/commands/cluster_aggregate.h:40, from src/mongo/s/commands/cluster_aggregate.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/commands/cluster_db_stats_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_db_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/auth/authorization_session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authorization_session.cpp g++ -o build/opt/mongo/db/matcher/expression_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_parser.cpp 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_explain_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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_explain_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/cursor_server_params.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/cursor_server_params.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/matcher/expression_parser.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/matcher/expression_parser.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/transport/message_compressor_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_registry.cpp g++ -o build/opt/mongo/transport/message_compressor_zlib.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/message_compressor_zlib.cpp g++ -o build/opt/mongo/db/matcher/expression_text_noop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_text_noop.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_str_length.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp g++ -o build/opt/mongo/s/write_ops/batch_write_exec.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_write_exec.cpp g++ -o build/opt/mongo/db/query/query_settings.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_settings.cpp g++ -o build/opt/mongo/db/update/array_culling_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/array_culling_node.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_text_base.h:33, from src/mongo/db/matcher/expression_text_noop.h:34, from src/mongo/db/matcher/expression_text_noop.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_text_base.h:33, from src/mongo/db/matcher/expression_text_noop.h:34, from src/mongo/db/matcher/expression_text_noop.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_str_length.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_str_length.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_str_length.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_str_length.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_settings.h:39, from src/mongo/db/query/query_settings.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_settings.h:39, from src/mongo/db/query/query_settings.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/array_culling_node.h:34, from src/mongo/db/update/array_culling_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/array_culling_node.h:34, from src/mongo/db/update/array_culling_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libsessions_collection_rs.a build/opt/mongo/db/sessions_collection_rs.o Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection_rs.a g++ -o build/opt/mongo/bson/util/bson_extract.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/bson/util/bson_extract.cpp ar rcsTD build/opt/mongo/transport/libmessage_compressor.a build/opt/mongo/transport/message_compressor_manager.o build/opt/mongo/transport/message_compressor_metrics.o build/opt/mongo/transport/message_compressor_registry.o build/opt/mongo/transport/message_compressor_snappy.o build/opt/mongo/transport/message_compressor_zlib.o Skipping ranlib for thin archive build/opt/mongo/transport/libmessage_compressor.a g++ -o build/opt/mongo/db/auth/resource_pattern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/resource_pattern.cpp g++ -o build/opt/mongo/db/auth/action_type.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/auth/action_type.cpp g++ -o build/opt/mongo/db/auth/privilege.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/privilege.cpp g++ -o build/opt/mongo/db/auth/impersonation_session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/impersonation_session.cpp g++ -o build/opt/mongo/db/auth/user_management_commands_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/user_management_commands_parser.cpp ar rcsTD build/opt/mongo/bson/util/libbson_extract.a build/opt/mongo/bson/util/bson_extract.o Skipping ranlib for thin archive build/opt/mongo/bson/util/libbson_extract.a gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_u32.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_u32.c g++ -o build/opt/mongo/db/query/plan_enumerator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/plan_enumerator.cpp g++ -o build/opt/mongo/db/commands/end_sessions_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/end_sessions_command.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr_titlecase_brkiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_titlecase_brkiter.cpp g++ -o build/opt/mongo/db/logical_session_id_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_id_helpers.cpp ar rcsTD build/opt/mongo/s/commands/libcluster_commands.a build/opt/mongo/s/commands/cluster_add_shard_cmd.o build/opt/mongo/s/commands/cluster_add_shard_to_zone_cmd.o build/opt/mongo/s/commands/cluster_aggregate.o build/opt/mongo/s/commands/cluster_available_query_options_cmd.o build/opt/mongo/s/commands/cluster_build_info.o build/opt/mongo/s/commands/cluster_coll_stats_cmd.o build/opt/mongo/s/commands/cluster_collection_mod_cmd.o build/opt/mongo/s/commands/cluster_compact_cmd.o build/opt/mongo/s/commands/cluster_control_balancer_cmd.o build/opt/mongo/s/commands/cluster_count_cmd.o build/opt/mongo/s/commands/cluster_create_cmd.o build/opt/mongo/s/commands/cluster_create_indexes_cmd.o build/opt/mongo/s/commands/cluster_current_op.o build/opt/mongo/s/commands/cluster_data_size_cmd.o build/opt/mongo/s/commands/cluster_db_stats_cmd.o build/opt/mongo/s/commands/cluster_distinct_cmd.o build/opt/mongo/s/commands/cluster_drop_cmd.o build/opt/mongo/s/commands/cluster_drop_database_cmd.o build/opt/mongo/s/commands/cluster_drop_indexes_cmd.o build/opt/mongo/s/commands/cluster_enable_sharding_cmd.o build/opt/mongo/s/commands/cluster_eval_cmd.o build/opt/mongo/s/commands/cluster_explain.o build/opt/mongo/s/commands/cluster_explain_cmd.o build/opt/mongo/s/commands/cluster_filemd5_cmd.o build/opt/mongo/s/commands/cluster_find_and_modify_cmd.o build/opt/mongo/s/commands/cluster_find_cmd.o build/opt/mongo/s/commands/cluster_fsync_cmd.o build/opt/mongo/s/commands/cluster_ftdc_commands.o build/opt/mongo/s/commands/cluster_geo_near_cmd.o build/opt/mongo/s/commands/cluster_get_last_error_cmd.o build/opt/mongo/s/commands/cluster_get_prev_error_cmd.o build/opt/mongo/s/commands/cluster_get_shard_version_cmd.o build/opt/mongo/s/commands/cluster_getmore_cmd.o build/opt/mongo/s/commands/cluster_index_filter_cmd.o build/opt/mongo/s/commands/cluster_is_db_grid_cmd.o build/opt/mongo/s/commands/cluster_is_master_cmd.o build/opt/mongo/s/commands/cluster_kill_op.o build/opt/mongo/s/commands/cluster_killcursors_cmd.o build/opt/mongo/s/commands/cluster_list_databases_cmd.o build/opt/mongo/s/commands/cluster_list_shards_cmd.o build/opt/mongo/s/commands/cluster_map_reduce_cmd.o build/opt/mongo/s/commands/cluster_merge_chunks_cmd.o build/opt/mongo/s/commands/cluster_move_chunk_cmd.o build/opt/mongo/s/commands/cluster_move_primary_cmd.o build/opt/mongo/s/commands/cluster_multicast.o build/opt/mongo/s/commands/cluster_netstat_cmd.o build/opt/mongo/s/commands/cluster_pipeline_cmd.o build/opt/mongo/s/commands/cluster_plan_cache_cmd.o build/opt/mongo/s/commands/cluster_profile_cmd.o build/opt/mongo/s/commands/cluster_reindex_cmd.o build/opt/mongo/s/commands/cluster_remove_shard_cmd.o build/opt/mongo/s/commands/cluster_remove_shard_from_zone_cmd.o build/opt/mongo/s/commands/cluster_repl_set_get_status_cmd.o build/opt/mongo/s/commands/cluster_reset_error_cmd.o build/opt/mongo/s/commands/cluster_restart_catalog_command.o build/opt/mongo/s/commands/cluster_set_feature_compatibility_version_cmd.o build/opt/mongo/s/commands/cluster_shard_collection_cmd.o build/opt/mongo/s/commands/cluster_shutdown_cmd.o build/opt/mongo/s/commands/cluster_split_cmd.o build/opt/mongo/s/commands/cluster_update_zone_key_range_cmd.o build/opt/mongo/s/commands/cluster_user_management_commands.o build/opt/mongo/s/commands/cluster_validate_cmd.o build/opt/mongo/s/commands/cluster_whats_my_uri_cmd.o build/opt/mongo/s/commands/cluster_write_cmd.o build/opt/mongo/s/commands/commands_public.o build/opt/mongo/s/commands/kill_sessions_remote.o build/opt/mongo/s/commands/pipeline_s.o build/opt/mongo/s/commands/strategy.o build/opt/mongo/s/commands/cluster_multicast_gen.o Skipping ranlib for thin archive build/opt/mongo/s/commands/libcluster_commands.a g++ -o build/opt/mongo/executor/task_executor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/task_executor.cpp g++ -o build/opt/mongo/db/query/parsed_projection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/parsed_projection.cpp 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/plan_enumerator.h:37, from src/mongo/db/query/plan_enumerator.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_enumerator.h:37, from src/mongo/db/query/plan_enumerator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/auth/user_management_commands_parser.cpp:49: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/user_management_commands_parser.cpp:49: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:32, from src/mongo/db/query/parsed_projection.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/query/parsed_projection.h:32, from src/mongo/db/query/parsed_projection.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/end_sessions_command.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/end_sessions_command.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/accumulator_min_max.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_min_max.cpp ar rcsTD build/opt/mongo/executor/libtask_executor_interface.a build/opt/mongo/executor/task_executor.o Skipping ranlib for thin archive build/opt/mongo/executor/libtask_executor_interface.a g++ -o build/opt/mongo/db/query/explain_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/explain_options.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_min_max.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_min_max.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/liblogical_session_id_helpers.a build/opt/mongo/db/logical_session_id_helpers.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_id_helpers.a ar rcsTD build/opt/mongo/util/libicu_init.a build/opt/mongo/util/icu_init.o Skipping ranlib for thin archive build/opt/mongo/util/libicu_init.a ar rcsTD build/opt/mongo/db/libdbmessage.a build/opt/mongo/db/dbmessage.o Skipping ranlib for thin archive build/opt/mongo/db/libdbmessage.a g++ -o build/opt/mongo/db/catalog/index_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_catalog.cpp ar rcsTD build/opt/third_party/libshim_yaml.a build/opt/third_party/shim_yaml.o Skipping ranlib for thin archive build/opt/third_party/libshim_yaml.a g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr_cnv.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_cnv.cpp g++ -o build/opt/mongo/util/net/sock.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/sock.cpp g++ -o build/opt/mongo/util/net/socket_exception.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/socket_exception.cpp g++ -o build/opt/mongo/util/net/socket_utils.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/socket_utils.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/util/net/hostandport_gen.h --output build/opt/mongo/util/net/hostandport_gen.cpp src/mongo/util/net/hostandport.idl g++ -o build/opt/mongo/util/net/hostandport_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/util/net/hostandport_gen.cpp g++ -o build/opt/mongo/util/net/hostandport.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/hostandport.cpp ar rcsTD build/opt/mongo/db/catalog/libindex_catalog.a build/opt/mongo/db/catalog/index_catalog.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libindex_catalog.a g++ -o build/opt/mongo/util/net/cidr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/cidr.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucharstrie.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucharstrie.cpp ar rcsTD build/opt/mongo/util/libsafe_num.a build/opt/mongo/util/safe_num.o Skipping ranlib for thin archive build/opt/mongo/util/libsafe_num.a g++ -o build/opt/mongo/transport/thread_idle_callback.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/thread_idle_callback.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/servls.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servls.cpp 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 build/opt/mongo/util/net/hostandport_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/util/net/hostandport_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/auth/libauthprivilege.a build/opt/mongo/db/auth/action_set.o build/opt/mongo/db/auth/action_type.o build/opt/mongo/db/auth/impersonation_session.o build/opt/mongo/db/auth/privilege.o build/opt/mongo/db/auth/privilege_parser.o build/opt/mongo/db/auth/resource_pattern.o build/opt/mongo/db/auth/user_management_commands_parser.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthprivilege.a g++ -o build/opt/mongo/db/sessions_collection_sharded.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection_sharded.cpp ar rcsTD build/opt/mongo/util/net/libsocket.a build/opt/mongo/util/net/private/socket_poll.o build/opt/mongo/util/net/sock.o g++ -o build/opt/mongo/db/kill_sessions_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/kill_sessions_common.cpp Skipping ranlib for thin archive build/opt/mongo/util/net/libsocket.a g++ -o build/opt/mongo/transport/service_executor_synchronous.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/service_executor_synchronous.cpp g++ -o build/opt/mongo/db/storage/key_string.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/key_string.cpp ar rcsTD build/opt/mongo/db/commands/liblist_databases_command.a build/opt/mongo/db/commands/list_databases_gen.o Skipping ranlib for thin archive build/opt/mongo/db/commands/liblist_databases_command.a g++ -o build/opt/mongo/db/pipeline/accumulator_std_dev.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_std_dev.cpp ar rcsTD build/opt/mongo/db/commands/libserver_status_servers.a build/opt/mongo/db/commands/server_status_servers.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libserver_status_servers.a g++ -o build/opt/mongo/db/fts/fts_language.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_language.cpp 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/db/sessions_collection_sharded.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_noop.h:33, from src/mongo/db/sessions_collection_sharded.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_std_dev.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_std_dev.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/servnotf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servnotf.cpp g++ -o build/opt/mongo/db/fts/fts_unicode_tokenizer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_unicode_tokenizer.cpp g++ -o build/opt/mongo/db/fts/fts_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_util.cpp ar rcsTD build/opt/mongo/util/net/libnetwork.a build/opt/mongo/util/net/cidr.o build/opt/mongo/util/net/hostandport.o build/opt/mongo/util/net/hostname_canonicalization.o build/opt/mongo/util/net/sockaddr.o build/opt/mongo/util/net/socket_exception.o build/opt/mongo/util/net/socket_utils.o build/opt/mongo/util/net/hostandport_gen.o Skipping ranlib for thin archive build/opt/mongo/util/net/libnetwork.a g++ -o build/opt/mongo/db/fts/fts_basic_tokenizer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_basic_tokenizer.cpp g++ -o build/opt/mongo/db/fts/fts_query_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/fts_query_parser.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/locid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locid.cpp g++ -o build/opt/mongo/db/commands/find_and_modify_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/find_and_modify_common.cpp g++ -o build/opt/mongo/db/update/pullall_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/pullall_node.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnvbocu.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvbocu.cpp ar rcsTD build/opt/mongo/db/storage/libkey_string.a build/opt/mongo/db/storage/key_string.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libkey_string.a ar rcsTD build/opt/mongo/rpc/libobject_check.a build/opt/mongo/rpc/object_check.o Skipping ranlib for thin archive build/opt/mongo/rpc/libobject_check.a g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/config_file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/config_file.cpp g++ -o build/opt/mongo/util/quick_exit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/quick_exit.cpp ar rcsTD build/opt/mongo/bson/mutable/libmutable_bson.a build/opt/mongo/bson/mutable/document.o build/opt/mongo/bson/mutable/element.o Skipping ranlib for thin archive build/opt/mongo/bson/mutable/libmutable_bson.a g++ -o build/opt/mongo/db/query/planner_access.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/planner_access.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/messagepattern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/messagepattern.cpp g++ -o build/opt/mongo/db/commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands.cpp g++ -o build/opt/mongo/db/update/unset_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/unset_node.cpp 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/commands/find_and_modify_common.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/find_and_modify_common.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/fts/libbase_fts.a build/opt/mongo/db/fts/fts_index_format.o build/opt/mongo/db/fts/fts_matcher.o build/opt/mongo/db/fts/fts_query_impl.o build/opt/mongo/db/fts/fts_query_parser.o build/opt/mongo/db/fts/fts_spec.o build/opt/mongo/db/fts/fts_spec_legacy.o build/opt/mongo/db/fts/fts_language.o build/opt/mongo/db/fts/fts_basic_phrase_matcher.o build/opt/mongo/db/fts/fts_basic_tokenizer.o build/opt/mongo/db/fts/fts_unicode_phrase_matcher.o build/opt/mongo/db/fts/fts_unicode_tokenizer.o build/opt/mongo/db/fts/fts_util.o build/opt/mongo/db/fts/fts_element_iterator.o build/opt/mongo/db/fts/stemmer.o build/opt/mongo/db/fts/stop_words.o build/opt/mongo/db/fts/stop_words_list.o build/opt/mongo/db/fts/tokenizer.o Skipping ranlib for thin archive build/opt/mongo/db/fts/libbase_fts.a ar rcsTD build/opt/third_party/murmurhash3/libmurmurhash3.a build/opt/third_party/murmurhash3/MurmurHash3.o Skipping ranlib for thin archive build/opt/third_party/murmurhash3/libmurmurhash3.a g++ -o build/opt/mongo/db/command_generic_argument.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/command_generic_argument.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/array_culling_node.h:34, from src/mongo/db/update/pullall_node.h:33, from src/mongo/db/update/pullall_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/array_culling_node.h:34, from src/mongo/db/update/pullall_node.h:33, from src/mongo/db/update/pullall_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libcommand_generic_argument.a build/opt/mongo/db/command_generic_argument.o Skipping ranlib for thin archive build/opt/mongo/db/libcommand_generic_argument.a 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/planner_access.h:33, from src/mongo/db/query/planner_access.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/planner_access.h:33, from src/mongo/db/query/planner_access.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/query/cluster_cursor_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_cursor_manager.cpp 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/unset_node.h:33, from src/mongo/db/update/unset_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/unset_node.h:33, from src/mongo/db/update/unset_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/kill_all_sessions_by_pattern_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_all_sessions_by_pattern_command.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ushape.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ushape.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/query/cluster_cursor_manager.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/query/cluster_cursor_manager.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libsessions_collection_sharded.a build/opt/mongo/db/sessions_collection_sharded.o Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection_sharded.a ar rcsTD build/opt/mongo/db/libservice_liaison_mongos.a build/opt/mongo/db/service_liaison_mongos.o Skipping ranlib for thin archive build/opt/mongo/db/libservice_liaison_mongos.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ustrcase.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrcase.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ustrfmt.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrfmt.c g++ -o build/opt/mongo/db/update/bit_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/bit_node.cpp g++ -o build/opt/mongo/db/pipeline/accumulator_avg.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_avg.cpp g++ -o build/opt/mongo/db/auth/internal_user_auth.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/internal_user_auth.cpp g++ -o build/opt/mongo/s/query/router_stage_remove_metadata_fields.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_remove_metadata_fields.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_avg.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_avg.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/bit_node.h:33, from src/mongo/db/update/bit_node.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_node.h:33, from src/mongo/db/update/bit_node.h:33, from src/mongo/db/update/bit_node.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/kill_all_sessions_by_pattern_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/kill_all_sessions_by_pattern_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/ucase.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucase.cpp 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/s/query/router_stage_remove_metadata_fields.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/s/query/router_stage_remove_metadata_fields.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libreplication_process.a build/opt/mongo/db/repl/replication_consistency_markers.o build/opt/mongo/db/repl/replication_process.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplication_process.a ar rcsTD build/opt/mongo/executor/libremote_command.a build/opt/mongo/executor/remote_command_request.o build/opt/mongo/executor/remote_command_response.o Skipping ranlib for thin archive build/opt/mongo/executor/libremote_command.a g++ -o build/opt/mongo/db/commands/kill_op_cmd_base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_op_cmd_base.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnvdisp.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvdisp.c g++ -o build/opt/mongo/transport/service_executor_reserved.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/service_executor_reserved.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/utrie2.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrie2.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/bytestriebuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestriebuilder.cpp ar rcsTD build/opt/mongo/util/libmd5.a build/opt/mongo/util/md5.o build/opt/mongo/util/password_digest.o Skipping ranlib for thin archive build/opt/mongo/util/libmd5.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnvsel.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvsel.cpp 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/commands/kill_op_cmd_base.h:31, from src/mongo/db/commands/kill_op_cmd_base.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/kill_op_cmd_base.h:31, from src/mongo/db/commands/kill_op_cmd_base.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/unifilt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unifilt.cpp g++ -o build/opt/mongo/rpc/legacy_reply_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/legacy_reply_builder.cpp g++ -o build/opt/mongo/util/net/private/ssl_expiration.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/private/ssl_expiration.cpp ar rcsTD build/opt/mongo/transport/libservice_executor.a build/opt/mongo/transport/service_executor_adaptive.o build/opt/mongo/transport/service_executor_reserved.o build/opt/mongo/transport/service_executor_synchronous.o build/opt/mongo/transport/thread_idle_callback.o Skipping ranlib for thin archive build/opt/mongo/transport/libservice_executor.a gcc -o build/opt/third_party/icu4c-57.1/source/common/uinvchar.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uinvchar.c gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_cnv.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_cnv.c ar rcsTD build/opt/mongo/db/libcommands.a build/opt/mongo/db/commands.o Skipping ranlib for thin archive build/opt/mongo/db/libcommands.a gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_err.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_err.c g++ -o build/opt/mongo/db/pipeline/accumulator_sum.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_sum.cpp g++ -o build/opt/mongo/db/pipeline/accumulator_last.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_last.cpp g++ -o build/opt/mongo/db/pipeline/accumulator_first.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/accumulator_first.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ubrk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubrk.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/uchar.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uchar.c ar rcsTD build/opt/mongo/db/auth/libuser_name.a build/opt/mongo/db/auth/user_name.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libuser_name.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ruleiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ruleiter.cpp g++ -o build/opt/mongo/db/auth/authorization_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authorization_manager.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/brkiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/brkiter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/stringpiece.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/stringpiece.cpp g++ -o build/opt/mongo/db/matcher/expression_tree.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_tree.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/cstr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cstr.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_sum.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_sum.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/uidna.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uidna.cpp 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_first.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_last.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_first.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/pipeline/expression.h:42, from src/mongo/db/pipeline/accumulator.h:41, from src/mongo/db/pipeline/accumulator_last.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/filteredbrk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/filteredbrk.cpp ar rcsTD build/opt/mongo/db/librange_arithmetic.a build/opt/mongo/db/range_arithmetic.o Skipping ranlib for thin archive build/opt/mongo/db/librange_arithmetic.a ar rcsTD build/opt/mongo/db/commands/libserver_status.a build/opt/mongo/db/commands/server_status.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libserver_status.a gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_cb.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_cb.c g++ -o build/opt/mongo/db/update/update_internal_node.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/update_internal_node.cpp 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/matcher/expression_tree.h:35, from src/mongo/db/matcher/expression_tree.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_tree.h:35, from src/mongo/db/matcher/expression_tree.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:32: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/schema/expression_internal_schema_all_elem_match_from_index.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.cpp:32: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/commands/libkill_common.a build/opt/mongo/db/commands/killcursors_common.o build/opt/mongo/db/commands/kill_op_cmd_base.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libkill_common.a g++ -o build/opt/third_party/icu4c-57.1/source/common/normalizer2.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normalizer2.cpp g++ -o build/opt/mongo/executor/network_interface_factory.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/network_interface_factory.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/commands/profile_gen.h --output build/opt/mongo/db/commands/profile_gen.cpp src/mongo/db/commands/profile.idl g++ -o build/opt/mongo/util/ntservice.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/ntservice.cpp g++ -o build/opt/mongo/db/commands/profile_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/profile_common.cpp g++ -o build/opt/mongo/db/commands/profile_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/commands/profile_gen.cpp ar rcsTD build/opt/mongo/db/auth/libauth.a build/opt/mongo/db/auth/authorization_manager.o build/opt/mongo/db/auth/authorization_session.o build/opt/mongo/db/auth/auth_decorations.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauth.a g++ -o build/opt/mongo/util/net/ssl_parameters.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_parameters.cpp ar rcsTD build/opt/mongo/db/pipeline/libaccumulator.a build/opt/mongo/db/pipeline/accumulation_statement.o build/opt/mongo/db/pipeline/accumulator_add_to_set.o build/opt/mongo/db/pipeline/accumulator_avg.o build/opt/mongo/db/pipeline/accumulator_first.o build/opt/mongo/db/pipeline/accumulator_last.o build/opt/mongo/db/pipeline/accumulator_min_max.o build/opt/mongo/db/pipeline/accumulator_push.o build/opt/mongo/db/pipeline/accumulator_std_dev.o build/opt/mongo/db/pipeline/accumulator_sum.o build/opt/mongo/db/pipeline/accumulator_merge_objects.o ar rcsTD build/opt/mongo/db/auth/libaddress_restriction.a build/opt/mongo/db/auth/address_restriction.o build/opt/mongo/db/auth/address_restriction_gen.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libaccumulator.a Skipping ranlib for thin archive build/opt/mongo/db/auth/libaddress_restriction.a g++ -o build/opt/mongo/s/committed_optime_metadata_hook.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/committed_optime_metadata_hook.cpp ar rcsTD build/opt/mongo/client/libread_preference.a build/opt/mongo/client/read_preference.o Skipping ranlib for thin archive build/opt/mongo/client/libread_preference.a gcc -o build/opt/third_party/icu4c-57.1/source/common/umath.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/umath.c g++ -o build/opt/mongo/db/matcher/expression_where_noop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_where_noop.cpp 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/matcher/expression_where_base.h:33, from src/mongo/db/matcher/expression_where_noop.h:33, from src/mongo/db/matcher/expression_where_noop.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_where_base.h:33, from src/mongo/db/matcher/expression_where_noop.h:33, from src/mongo/db/matcher/expression_where_noop.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/processinfo_linux.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/processinfo_linux.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/utypes.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utypes.c 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 build/opt/mongo/db/commands/profile_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/commands/profile_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/util/summation.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/summation.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ulistformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ulistformatter.cpp g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/split.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/split.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucat.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucat.c ar rcsTD build/opt/mongo/db/query/libquery_request.a build/opt/mongo/db/query/query_request.o build/opt/mongo/db/query/tailable_mode.o build/opt/mongo/db/query/tailable_mode_gen.o Skipping ranlib for thin archive build/opt/mongo/db/query/libquery_request.a g++ -o build/opt/third_party/icu4c-57.1/source/common/chariter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/chariter.cpp 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/commands/profile_common.h:34, from src/mongo/db/commands/profile_common.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/profile_common.h:34, from src/mongo/db/commands/profile_common.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/path.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/serv.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/serv.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/utext.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utext.cpp ar rcsTD build/opt/mongo/db/libsigned_logical_time.a build/opt/mongo/db/signed_logical_time.o Skipping ranlib for thin archive build/opt/mongo/db/libsigned_logical_time.a g++ -o build/opt/mongo/transport/service_entry_point_utils.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/transport/service_entry_point_utils.cpp ar rcsTD build/opt/mongo/db/repl/libstorage_interface.a build/opt/mongo/db/repl/storage_interface.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libstorage_interface.a g++ -o build/opt/mongo/db/commands/parameters.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/parameters.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/punycode.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/punycode.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ustr_cnv.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustr_cnv.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unorm.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unorm.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnvhz.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvhz.c g++ -o build/opt/third_party/icu4c-57.1/source/common/servslkf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servslkf.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uiter.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ubidi.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidi.c g++ -o build/opt/third_party/icu4c-57.1/source/common/uvector.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uvector.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unistr_case_locale.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unistr_case_locale.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uprops.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uprops.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/udata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/udata.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/locbased.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/locbased.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv_set.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_set.c 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/commands/parameters.cpp:46: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/uloc.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uloc.cpp 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/commands/parameters.cpp:46: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/icu4c-57.1/source/common/dictbe.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/dictbe.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucasemap_titlecase_brkiter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucasemap_titlecase_brkiter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucasemap.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucasemap.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/util.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/umapfile.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/umapfile.c g++ -o build/opt/third_party/icu4c-57.1/source/common/servrbf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/servrbf.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/filterednormalizer2.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/filterednormalizer2.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/bytestrie.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestrie.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnv_bld.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_bld.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ubidi_props.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidi_props.c g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbidata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbidata.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ustrtrns.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrtrns.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/simpleformatter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/simpleformatter.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uset_props.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uset_props.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/brkeng.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/brkeng.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/bytestrieiterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bytestrieiterator.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnvlat1.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnvlat1.c ar rcsTD build/opt/mongo/db/commands/libprofile_common.a build/opt/mongo/db/commands/profile_common.o build/opt/mongo/db/commands/profile_gen.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libprofile_common.a g++ -o build/opt/third_party/icu4c-57.1/source/common/ustrenum.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ustrenum.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucnv_ext.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv_ext.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/icudataver.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/icudataver.c g++ -o build/opt/third_party/icu4c-57.1/source/common/loclikely.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/loclikely.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/dictionarydata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/dictionarydata.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uchriter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uchriter.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/udatamem.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/udatamem.c g++ -o build/opt/third_party/icu4c-57.1/source/common/uinit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uinit.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/icuplug.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/icuplug.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/uresbund.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/uresbund.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/normlzr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/normlzr.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/loadednormalizer2impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/loadednormalizer2impl.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/ucol_swp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucol_swp.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ucnv.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ucnv.c g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbiscan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbiscan.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/unames.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/unames.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/cwchar.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/cwchar.c g++ -o build/opt/third_party/icu4c-57.1/source/common/stringtriebuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/stringtriebuilder.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/resbund.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/resbund.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/utrace.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrace.c g++ -o build/opt/third_party/icu4c-57.1/source/common/caniter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/caniter.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/udataswp.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/udataswp.c g++ -o build/opt/third_party/icu4c-57.1/source/common/bmpset.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/bmpset.cpp g++ -o build/opt/third_party/icu4c-57.1/source/common/rbbi.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/rbbi.cpp gcc -o build/opt/third_party/icu4c-57.1/source/common/ubidiln.o -c -std=c11 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/ubidiln.c g++ -o build/opt/third_party/icu4c-57.1/source/common/utrie.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Wno-sign-compare -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DUCONFIG_NO_BREAK_ITERATION=1 -DUCONFIG_NO_FORMATTING=1 -DUCONFIG_NO_TRANSLITERATION=1 -DUCONFIG_NO_REGULAR_EXPRESSIONS=1 -DU_CHARSET_IS_UTF8=1 -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1 -DU_USING_ICU_NAMESPACE=0 -DU_COMMON_IMPLEMENTATION=1 -Isrc/third_party/icu4c-57.1/source/common -Isrc/third_party/icu4c-57.1/source/i18n src/third_party/icu4c-57.1/source/common/utrie.cpp g++ -o build/opt/mongo/db/field_parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/field_parser.cpp ar rcsTD build/opt/mongo/util/libsignal_handlers.a build/opt/mongo/util/signal_handlers.o build/opt/mongo/util/signal_win32.o Skipping ranlib for thin archive build/opt/mongo/util/libsignal_handlers.a g++ -o build/opt/mongo/db/query/index_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/index_entry.cpp g++ -o build/opt/mongo/s/s_sharding_server_status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/s_sharding_server_status.cpp ar rcsTD build/opt/mongo/db/auth/libuser_document_parser.a build/opt/mongo/db/auth/user_document_parser.o ar rcsTD build/opt/mongo/db/query/collation/libcollator_icu.a build/opt/mongo/db/query/collation/collator_factory_icu.o build/opt/mongo/db/query/collation/collator_interface_icu.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libuser_document_parser.a Skipping ranlib for thin archive build/opt/mongo/db/query/collation/libcollator_icu.a g++ -o build/opt/mongo/s/query/cluster_find.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/cluster_find.cpp g++ -o build/opt/mongo/db/field_ref.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/field_ref.cpp Using tempfile /usr/src/tmp/tmpeoBcJY.lnk for command line: ar rcsTD build/opt/third_party/icu4c-57.1/source/libicu_common.a build/opt/third_party/icu4c-57.1/source/common/appendable.o build/opt/third_party/icu4c-57.1/source/common/bmpset.o build/opt/third_party/icu4c-57.1/source/common/brkeng.o build/opt/third_party/icu4c-57.1/source/common/brkiter.o build/opt/third_party/icu4c-57.1/source/common/bytestream.o build/opt/third_party/icu4c-57.1/source/common/bytestrie.o build/opt/third_party/icu4c-57.1/source/common/bytestriebuilder.o build/opt/third_party/icu4c-57.1/source/common/bytestrieiterator.o build/opt/third_party/icu4c-57.1/source/common/caniter.o build/opt/third_party/icu4c-57.1/source/common/chariter.o build/opt/third_party/icu4c-57.1/source/common/charstr.o build/opt/third_party/icu4c-57.1/source/common/cmemory.o build/opt/third_party/icu4c-57.1/source/common/cstr.o build/opt/third_party/icu4c-57.1/source/common/cstring.o build/opt/third_party/icu4c-57.1/source/common/cwchar.o build/opt/third_party/icu4c-57.1/source/common/dictbe.o build/opt/third_party/icu4c-57.1/source/common/dictionarydata.o build/opt/third_party/icu4c-57.1/source/common/dtintrv.o build/opt/third_party/icu4c-57.1/source/common/errorcode.o build/opt/third_party/icu4c-57.1/source/common/filteredbrk.o build/opt/third_party/icu4c-57.1/source/common/filterednormalizer2.o build/opt/third_party/icu4c-57.1/source/common/icudataver.o build/opt/third_party/icu4c-57.1/source/common/icuplug.o build/opt/third_party/icu4c-57.1/source/common/listformatter.o build/opt/third_party/icu4c-57.1/source/common/loadednormalizer2impl.o build/opt/third_party/icu4c-57.1/source/common/locavailable.o build/opt/third_party/icu4c-57.1/source/common/locbased.o build/opt/third_party/icu4c-57.1/source/common/locdispnames.o build/opt/third_party/icu4c-57.1/source/common/locdspnm.o build/opt/third_party/icu4c-57.1/source/common/locid.o build/opt/third_party/icu4c-57.1/source/common/loclikely.o build/opt/third_party/icu4c-57.1/source/common/locmap.o build/opt/third_party/icu4c-57.1/source/common/locresdata.o build/opt/third_party/icu4c-57.1/source/common/locutil.o build/opt/third_party/icu4c-57.1/source/common/messagepattern.o build/opt/third_party/icu4c-57.1/source/common/normalizer2.o build/opt/third_party/icu4c-57.1/source/common/normalizer2impl.o build/opt/third_party/icu4c-57.1/source/common/normlzr.o build/opt/third_party/icu4c-57.1/source/common/parsepos.o build/opt/third_party/icu4c-57.1/source/common/patternprops.o build/opt/third_party/icu4c-57.1/source/common/pluralmap.o build/opt/third_party/icu4c-57.1/source/common/propname.o build/opt/third_party/icu4c-57.1/source/common/propsvec.o build/opt/third_party/icu4c-57.1/source/common/punycode.o build/opt/third_party/icu4c-57.1/source/common/putil.o build/opt/third_party/icu4c-57.1/source/common/rbbi.o build/opt/third_party/icu4c-57.1/source/common/rbbidata.o build/opt/third_party/icu4c-57.1/source/common/rbbinode.o build/opt/third_party/icu4c-57.1/source/common/rbbirb.o build/opt/third_party/icu4c-57.1/source/common/rbbiscan.o build/opt/third_party/icu4c-57.1/source/common/rbbisetb.o build/opt/third_party/icu4c-57.1/source/common/rbbistbl.o build/opt/third_party/icu4c-57.1/source/common/rbbitblb.o build/opt/third_party/icu4c-57.1/source/common/resbund.o build/opt/third_party/icu4c-57.1/source/common/resbund_cnv.o build/opt/third_party/icu4c-57.1/source/common/resource.o build/opt/third_party/icu4c-57.1/source/common/ruleiter.o build/opt/third_party/icu4c-57.1/source/common/schriter.o build/opt/third_party/icu4c-57.1/source/common/serv.o build/opt/third_party/icu4c-57.1/source/common/servlk.o build/opt/third_party/icu4c-57.1/source/common/servlkf.o build/opt/third_party/icu4c-57.1/source/common/servls.o build/opt/third_party/icu4c-57.1/source/common/servnotf.o build/opt/third_party/icu4c-57.1/source/common/servrbf.o build/opt/third_party/icu4c-57.1/source/common/servslkf.o build/opt/third_party/icu4c-57.1/source/common/sharedobject.o build/opt/third_party/icu4c-57.1/source/common/simpleformatter.o build/opt/third_party/icu4c-57.1/source/common/stringpiece.o build/opt/third_party/icu4c-57.1/source/common/stringtriebuilder.o build/opt/third_party/icu4c-57.1/source/common/uarrsort.o build/opt/third_party/icu4c-57.1/source/common/ubidi.o build/opt/third_party/icu4c-57.1/source/common/ubidi_props.o build/opt/third_party/icu4c-57.1/source/common/ubidiln.o build/opt/third_party/icu4c-57.1/source/common/ubidiwrt.o build/opt/third_party/icu4c-57.1/source/common/ubrk.o build/opt/third_party/icu4c-57.1/source/common/ucase.o build/opt/third_party/icu4c-57.1/source/common/ucasemap.o build/opt/third_party/icu4c-57.1/source/common/ucasemap_titlecase_brkiter.o build/opt/third_party/icu4c-57.1/source/common/ucat.o build/opt/third_party/icu4c-57.1/source/common/uchar.o build/opt/third_party/icu4c-57.1/source/common/ucharstrie.o build/opt/third_party/icu4c-57.1/source/common/ucharstriebuilder.o build/opt/third_party/icu4c-57.1/source/common/ucharstrieiterator.o build/opt/third_party/icu4c-57.1/source/common/uchriter.o build/opt/third_party/icu4c-57.1/source/common/ucln_cmn.o build/opt/third_party/icu4c-57.1/source/common/ucmndata.o build/opt/third_party/icu4c-57.1/source/common/ucnv.o build/opt/third_party/icu4c-57.1/source/common/ucnv2022.o build/opt/third_party/icu4c-57.1/source/common/ucnv_bld.o build/opt/third_party/icu4c-57.1/source/common/ucnv_cb.o build/opt/third_party/icu4c-57.1/source/common/ucnv_cnv.o build/opt/third_party/icu4c-57.1/source/common/ucnv_ct.o build/opt/third_party/icu4c-57.1/source/common/ucnv_err.o build/opt/third_party/icu4c-57.1/source/common/ucnv_ext.o build/opt/third_party/icu4c-57.1/source/common/ucnv_io.o build/opt/third_party/icu4c-57.1/source/common/ucnv_lmb.o build/opt/third_party/icu4c-57.1/source/common/ucnv_set.o build/opt/third_party/icu4c-57.1/source/common/ucnv_u16.o build/opt/third_party/icu4c-57.1/source/common/ucnv_u32.o build/opt/third_party/icu4c-57.1/source/common/ucnv_u7.o build/opt/third_party/icu4c-57.1/source/common/ucnv_u8.o build/opt/third_party/icu4c-57.1/source/common/ucnvbocu.o build/opt/third_party/icu4c-57.1/source/common/ucnvdisp.o build/opt/third_party/icu4c-57.1/source/common/ucnvhz.o build/opt/third_party/icu4c-57.1/source/common/ucnvisci.o build/opt/third_party/icu4c-57.1/source/common/ucnvlat1.o build/opt/third_party/icu4c-57.1/source/common/ucnvmbcs.o build/opt/third_party/icu4c-57.1/source/common/ucnvscsu.o build/opt/third_party/icu4c-57.1/source/common/ucnvsel.o build/opt/third_party/icu4c-57.1/source/common/ucol_swp.o build/opt/third_party/icu4c-57.1/source/common/ucurr.o build/opt/third_party/icu4c-57.1/source/common/udata.o build/opt/third_party/icu4c-57.1/source/common/udatamem.o build/opt/third_party/icu4c-57.1/source/common/udataswp.o build/opt/third_party/icu4c-57.1/source/common/uenum.o build/opt/third_party/icu4c-57.1/source/common/uhash.o build/opt/third_party/icu4c-57.1/source/common/uhash_us.o build/opt/third_party/icu4c-57.1/source/common/uidna.o build/opt/third_party/icu4c-57.1/source/common/uinit.o build/opt/third_party/icu4c-57.1/source/common/uinvchar.o build/opt/third_party/icu4c-57.1/source/common/uiter.o build/opt/third_party/icu4c-57.1/source/common/ulist.o build/opt/third_party/icu4c-57.1/source/common/ulistformatter.o build/opt/third_party/icu4c-57.1/source/common/uloc.o build/opt/third_party/icu4c-57.1/source/common/uloc_keytype.o build/opt/third_party/icu4c-57.1/source/common/uloc_tag.o build/opt/third_party/icu4c-57.1/source/common/umapfile.o build/opt/third_party/icu4c-57.1/source/common/umath.o build/opt/third_party/icu4c-57.1/source/common/umutex.o build/opt/third_party/icu4c-57.1/source/common/unames.o build/opt/third_party/icu4c-57.1/source/common/unifiedcache.o build/opt/third_party/icu4c-57.1/source/common/unifilt.o build/opt/third_party/icu4c-57.1/source/common/unifunct.o build/opt/third_party/icu4c-57.1/source/common/uniset.o build/opt/third_party/icu4c-57.1/source/common/uniset_closure.o build/opt/third_party/icu4c-57.1/source/common/uniset_props.o build/opt/third_party/icu4c-57.1/source/common/unisetspan.o build/opt/third_party/icu4c-57.1/source/common/unistr.o build/opt/third_party/icu4c-57.1/source/common/unistr_case.o build/opt/third_party/icu4c-57.1/source/common/unistr_case_locale.o build/opt/third_party/icu4c-57.1/source/common/unistr_cnv.o build/opt/third_party/icu4c-57.1/source/common/unistr_props.o build/opt/third_party/icu4c-57.1/source/common/unistr_titlecase_brkiter.o build/opt/third_party/icu4c-57.1/source/common/unorm.o build/opt/third_party/icu4c-57.1/source/common/unormcmp.o build/opt/third_party/icu4c-57.1/source/common/uobject.o build/opt/third_party/icu4c-57.1/source/common/uprops.o build/opt/third_party/icu4c-57.1/source/common/ures_cnv.o build/opt/third_party/icu4c-57.1/source/common/uresbund.o build/opt/third_party/icu4c-57.1/source/common/uresdata.o build/opt/third_party/icu4c-57.1/source/common/usc_impl.o build/opt/third_party/icu4c-57.1/source/common/uscript.o build/opt/third_party/icu4c-57.1/source/common/uscript_props.o build/opt/third_party/icu4c-57.1/source/common/uset.o build/opt/third_party/icu4c-57.1/source/common/uset_props.o build/opt/third_party/icu4c-57.1/source/common/usetiter.o build/opt/third_party/icu4c-57.1/source/common/ushape.o build/opt/third_party/icu4c-57.1/source/common/usprep.o build/opt/third_party/icu4c-57.1/source/common/ustack.o build/opt/third_party/icu4c-57.1/source/common/ustr_cnv.o build/opt/third_party/icu4c-57.1/source/common/ustr_titlecase_brkiter.o build/opt/third_party/icu4c-57.1/source/common/ustr_wcs.o build/opt/third_party/icu4c-57.1/source/common/ustrcase.o build/opt/third_party/icu4c-57.1/source/common/ustrcase_locale.o build/opt/third_party/icu4c-57.1/source/common/ustrenum.o build/opt/third_party/icu4c-57.1/source/common/ustrfmt.o build/opt/third_party/icu4c-57.1/source/common/ustring.o build/opt/third_party/icu4c-57.1/source/common/ustrtrns.o build/opt/third_party/icu4c-57.1/source/common/utext.o build/opt/third_party/icu4c-57.1/source/common/utf_impl.o build/opt/third_party/icu4c-57.1/source/common/util.o build/opt/third_party/icu4c-57.1/source/common/util_props.o build/opt/third_party/icu4c-57.1/source/common/utrace.o build/opt/third_party/icu4c-57.1/source/common/utrie.o build/opt/third_party/icu4c-57.1/source/common/utrie2.o build/opt/third_party/icu4c-57.1/source/common/utrie2_builder.o build/opt/third_party/icu4c-57.1/source/common/uts46.o build/opt/third_party/icu4c-57.1/source/common/utypes.o build/opt/third_party/icu4c-57.1/source/common/uvector.o build/opt/third_party/icu4c-57.1/source/common/uvectr32.o build/opt/third_party/icu4c-57.1/source/common/uvectr64.o build/opt/third_party/icu4c-57.1/source/common/wintz.o g++ -o build/opt/mongo/db/keypattern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/keypattern.cpp ar @/usr/src/tmp/tmpeoBcJY.lnk Skipping ranlib for thin archive build/opt/third_party/icu4c-57.1/source/libicu_common.a g++ -o build/opt/mongo/db/kill_sessions_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/kill_sessions_gen.cpp 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/index_entry.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/index_entry.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/pipeline/liblite_parsed_document_source.a build/opt/mongo/db/pipeline/lite_parsed_document_source.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/liblite_parsed_document_source.a ar rcsTD build/opt/mongo/util/libbackground_job.a build/opt/mongo/util/background.o Skipping ranlib for thin archive build/opt/mongo/util/libbackground_job.a gcc -o build/opt/third_party/timelib-2018.01alpha1/tm2unixtime.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/tm2unixtime.c gcc -o build/opt/third_party/timelib-2018.01alpha1/parse_tz.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/parse_tz.c gcc -o build/opt/third_party/timelib-2018.01alpha1/interval.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -DHAVE_GETTIMEOFDAY -DHAVE_STRING_H -DHAVE_DIRENT_H -DHAVE_SYS_TIME_H -DHAVE_UNISTD_H -D_GNU_SOURCE -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/timelib-2018.01alpha1 src/third_party/timelib-2018.01alpha1/interval.c ar rcsTD build/opt/mongo/s/libcommitted_optime_metadata_hook.a build/opt/mongo/s/committed_optime_metadata_hook.o Skipping ranlib for thin archive build/opt/mongo/s/libcommitted_optime_metadata_hook.a g++ -o build/opt/mongo/db/query/query_planner_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_planner_common.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/s/query/cluster_find.h:37, from src/mongo/s/query/cluster_find.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/s/query/cluster_find.h:37, from src/mongo/s/query/cluster_find.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/query_planner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_planner.cpp 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 build/opt/mongo/db/kill_sessions_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/kill_sessions_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/s/s_sharding_server_status.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/s/s_sharding_server_status.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libcommon.a build/opt/mongo/db/field_ref.o build/opt/mongo/db/field_ref_set.o build/opt/mongo/db/field_parser.o build/opt/mongo/db/keypattern.o Skipping ranlib for thin archive build/opt/mongo/db/libcommon.a g++ -o build/opt/mongo/db/query/plan_cache_indexability.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/plan_cache_indexability.cpp 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/query_planner_common.h:34, from src/mongo/db/query/query_planner_common.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_planner_common.h:34, from src/mongo/db/query/query_planner_common.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/third_party/timelib-2018.01alpha1/libtimelib.a build/opt/third_party/timelib-2018.01alpha1/astro.o build/opt/third_party/timelib-2018.01alpha1/dow.o build/opt/third_party/timelib-2018.01alpha1/interval.o build/opt/third_party/timelib-2018.01alpha1/parse_date.o build/opt/third_party/timelib-2018.01alpha1/parse_iso_intervals.o build/opt/third_party/timelib-2018.01alpha1/parse_tz.o build/opt/third_party/timelib-2018.01alpha1/parse_zoneinfo.o build/opt/third_party/timelib-2018.01alpha1/timelib.o build/opt/third_party/timelib-2018.01alpha1/tm2unixtime.o build/opt/third_party/timelib-2018.01alpha1/unixtime2tm.o Skipping ranlib for thin archive build/opt/third_party/timelib-2018.01alpha1/libtimelib.a g++ -o build/opt/mongo/db/query/canonical_query.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/canonical_query.cpp 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/query_planner.h:34, from src/mongo/db/query/query_planner.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_planner.h:34, from src/mongo/db/query/query_planner.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache_indexability.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache_indexability.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/write_ops/libcluster_write_op.a build/opt/mongo/s/write_ops/batch_write_exec.o build/opt/mongo/s/write_ops/batch_write_op.o build/opt/mongo/s/write_ops/chunk_manager_targeter.o build/opt/mongo/s/write_ops/write_op.o Skipping ranlib for thin archive build/opt/mongo/s/write_ops/libcluster_write_op.a g++ -o build/opt/mongo/db/index/index_descriptor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/index_descriptor.cpp 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/canonical_query.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/canonical_query.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index/index_descriptor.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index/index_descriptor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/stats/operation_latency_histogram.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/operation_latency_histogram.cpp g++ -o build/opt/mongo/executor/network_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/network_interface.cpp g++ -o build/opt/mongo/db/commands/fail_point_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/fail_point_cmd.cpp 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/stats/operation_latency_histogram.h:34, from src/mongo/db/stats/operation_latency_histogram.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/stats/operation_latency_histogram.h:34, from src/mongo/db/stats/operation_latency_histogram.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/rpc/libcommand_reply.a build/opt/mongo/rpc/command_reply.o build/opt/mongo/rpc/command_reply_builder.o build/opt/mongo/rpc/reply_builder_interface.o Skipping ranlib for thin archive build/opt/mongo/rpc/libcommand_reply.a g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_cond.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp 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/commands/fail_point_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/fail_point_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/matcher_type_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/matcher_type_set.cpp 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/matcher/expression_arity.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_cond.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_arity.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_cond.h:34, from src/mongo/db/matcher/schema/expression_internal_schema_cond.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/matcher/matcher_type_set.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/matcher/matcher_type_set.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_fmod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp ar rcsTD build/opt/mongo/db/index/libindex_descriptor.a build/opt/mongo/db/index/index_descriptor.o Skipping ranlib for thin archive build/opt/mongo/db/index/libindex_descriptor.a g++ -o build/opt/mongo/db/matcher/expression_internal_expr_eq.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_internal_expr_eq.cpp ar rcsTD build/opt/mongo/s/query/libcluster_query.a build/opt/mongo/s/query/cluster_find.o build/opt/mongo/s/query/cluster_query_knobs.o Skipping ranlib for thin archive build/opt/mongo/s/query/libcluster_query.a g++ -o build/opt/mongo/db/matcher/extensions_callback.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/extensions_callback.cpp g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_fmod.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/schema/expression_internal_schema_fmod.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_fmod.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_internal_expr_eq.h:33, from src/mongo/db/matcher/expression_internal_expr_eq.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_internal_expr_eq.h:33, from src/mongo/db/matcher/expression_internal_expr_eq.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/query/libquery_planner.a build/opt/mongo/db/query/canonical_query.o build/opt/mongo/db/query/query_settings.o build/opt/mongo/db/query/index_entry.o build/opt/mongo/db/query/index_tag.o build/opt/mongo/db/query/parsed_projection.o build/opt/mongo/db/query/plan_cache.o build/opt/mongo/db/query/plan_cache_indexability.o build/opt/mongo/db/query/plan_enumerator.o build/opt/mongo/db/query/planner_access.o build/opt/mongo/db/query/planner_analysis.o build/opt/mongo/db/query/planner_ixselect.o build/opt/mongo/db/query/query_planner.o build/opt/mongo/db/query/query_planner_common.o build/opt/mongo/db/query/query_solution.o 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/query/libquery_planner.a g++ -o build/opt/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_path.h:33, from src/mongo/db/matcher/expression_array.h:40, from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.h:33, from src/mongo/db/matcher/schema/expression_internal_schema_match_array_index.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/expression_with_placeholder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_with_placeholder.cpp ar rcsTD build/opt/mongo/db/stats/libtop.a build/opt/mongo/db/stats/top.o build/opt/mongo/db/stats/operation_latency_histogram.o Skipping ranlib for thin archive build/opt/mongo/db/stats/libtop.a g++ -o build/opt/mongo/db/matcher/expression_leaf.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_leaf.cpp 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/matcher/schema/expression_internal_schema_allowed_properties.h:38, from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/schema/expression_internal_schema_allowed_properties.h:38, from src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/matcher/expression_where_base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_where_base.cpp ar rcsTD build/opt/mongo/db/auth/libinternal_user_auth.a build/opt/mongo/db/auth/internal_user_auth.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libinternal_user_auth.a g++ -o build/opt/mongo/s/query/async_results_merger_params_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/s/query/async_results_merger_params_gen.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_leaf.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_with_placeholder.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_leaf.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/matcher/expression_with_placeholder.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/query/async_results_merger.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/async_results_merger.cpp ar rcsTD build/opt/mongo/util/libicu.a build/opt/mongo/util/icu.o Skipping ranlib for thin archive build/opt/mongo/util/libicu.a ar rcsTD build/opt/mongo/db/auth/libauth_rolename.a build/opt/mongo/db/auth/role_name.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauth_rolename.a g++ -o build/opt/third_party/shim_snappy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_snappy.cpp ar rcsTD build/opt/third_party/libshim_snappy.a build/opt/third_party/shim_snappy.o Skipping ranlib for thin archive build/opt/third_party/libshim_snappy.a ar rcsTD build/opt/mongo/db/liblogical_session_cache_factory_mongos.a build/opt/mongo/db/logical_session_cache_factory_mongos.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_cache_factory_mongos.a ar rcsTD build/opt/mongo/rpc/libcommand_status.a build/opt/mongo/rpc/get_status_from_command_result.o build/opt/mongo/rpc/write_concern_error_detail.o Skipping ranlib for thin archive build/opt/mongo/rpc/libcommand_status.a ar rcsTD build/opt/mongo/db/query/libexplain_options.a build/opt/mongo/db/query/explain_options.o Skipping ranlib for thin archive build/opt/mongo/db/query/libexplain_options.a 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/matcher/expression_where_base.h:33, from src/mongo/db/matcher/expression_where_base.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/util/concurrency/thread_pool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/concurrency/thread_pool.cpp 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/matcher/expression_where_base.h:33, from src/mongo/db/matcher/expression_where_base.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from build/opt/mongo/s/query/async_results_merger_params_gen.cpp:9: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from build/opt/mongo/s/query/async_results_merger_params_gen.cpp:9: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/rpc/liblegacy_reply.a build/opt/mongo/rpc/legacy_reply.o build/opt/mongo/rpc/legacy_reply_builder.o Skipping ranlib for thin archive build/opt/mongo/rpc/liblegacy_reply.a g++ -o build/opt/mongo/db/s/sharding_migration_critical_section.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_migration_critical_section.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/async_results_merger.h:42, from src/mongo/s/query/async_results_merger.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/async_results_merger.h:42, from src/mongo/s/query/async_results_merger.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/util/libquick_exit.a build/opt/mongo/util/quick_exit.o Skipping ranlib for thin archive build/opt/mongo/util/libquick_exit.a g++ -o build/opt/mongo/db/kill_sessions.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/kill_sessions.cpp ar rcsTD build/opt/mongo/util/concurrency/libthread_pool.a build/opt/mongo/util/concurrency/thread_pool.o Skipping ranlib for thin archive build/opt/mongo/util/concurrency/libthread_pool.a g++ -o build/opt/mongo/s/write_ops/batch_downconvert.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/write_ops/batch_downconvert.cpp ar rcsTD build/opt/mongo/db/libaudit.a build/opt/mongo/db/audit.o ar rcsTD build/opt/mongo/db/auth/libsasl_options.a build/opt/mongo/db/auth/sasl_options.o Skipping ranlib for thin archive build/opt/mongo/db/libaudit.a ar rcsTD build/opt/mongo/util/libsecure_zero_memory.a build/opt/mongo/util/secure_zero_memory.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libsasl_options.a Skipping ranlib for thin archive build/opt/mongo/util/libsecure_zero_memory.a g++ -o build/opt/mongo/db/server_parameters.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_parameters.cpp g++ -o build/opt/mongo/executor/egress_tag_closer_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/executor/egress_tag_closer_manager.cpp ar rcsTD build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a build/opt/mongo/s/write_ops/batch_downconvert.o Skipping ranlib for thin archive build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a g++ -o build/opt/mongo/s/server.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/server.cpp ar rcsTD build/opt/mongo/db/pipeline/libaggregation.a build/opt/mongo/db/pipeline/aggregation.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libaggregation.a ar rcsTD build/opt/mongo/db/query/datetime/libdate_time_support.a build/opt/mongo/db/query/datetime/date_time_support.o Skipping ranlib for thin archive build/opt/mongo/db/query/datetime/libdate_time_support.a g++ -o build/opt/third_party/s2/strings/strutil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -Isrc/third_party/s2 -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/third_party/s2/strings/strutil.cc ar rcsTD build/opt/mongo/executor/libegress_tag_closer_manager.a build/opt/mongo/executor/egress_tag_closer_manager.o Skipping ranlib for thin archive build/opt/mongo/executor/libegress_tag_closer_manager.a g++ -o build/opt/mongo/util/net/ssl_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_manager.cpp ar rcsTD build/opt/mongo/db/libkeys_collection_client_sharded.a build/opt/mongo/db/keys_collection_client_sharded.o Skipping ranlib for thin archive build/opt/mongo/db/libkeys_collection_client_sharded.a ar rcsTD build/opt/mongo/util/options_parser/liboptions_parser_init.a build/opt/mongo/util/options_parser/options_parser_init.o Skipping ranlib for thin archive build/opt/mongo/util/options_parser/liboptions_parser_init.a ar rcsTD build/opt/mongo/db/catalog/libuuid_catalog.a build/opt/mongo/db/catalog/namespace_uuid_cache.o build/opt/mongo/db/catalog/uuid_catalog.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libuuid_catalog.a ar rcsTD build/opt/mongo/util/libsummation.a build/opt/mongo/util/summation.o Skipping ranlib for thin archive build/opt/mongo/util/libsummation.a g++ -o build/opt/mongo/s/query/router_stage_merge.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_merge.cpp ar rcsTD build/opt/third_party/s2/strings/libstrings.a build/opt/third_party/s2/strings/split.o build/opt/third_party/s2/strings/stringprintf.o build/opt/third_party/s2/strings/strutil.o Skipping ranlib for thin archive build/opt/third_party/s2/strings/libstrings.a ar rcsTD build/opt/mongo/executor/libconnection_pool_executor.a build/opt/mongo/executor/connection_pool.o Skipping ranlib for thin archive build/opt/mongo/executor/libconnection_pool_executor.a g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/windows_file_codecvt.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/windows_file_codecvt.cpp g++ -o build/opt/mongo/db/auth/user.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/user.cpp ar rcsTD build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a build/opt/mongo/db/storage/wiredtiger/wiredtiger_customization_hooks.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_extensions.o Skipping ranlib for thin archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a g++ -o build/opt/mongo/util/periodic_runner_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/periodic_runner_impl.cpp ar rcsTD build/opt/mongo/db/index/libexpression_params.a build/opt/mongo/db/index/expression_params.o build/opt/mongo/db/index/s2_common.o Skipping ranlib for thin archive build/opt/mongo/db/index/libexpression_params.a g++ -o build/opt/mongo/db/commands/start_session_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/start_session_command.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/async_results_merger.h:42, from src/mongo/s/query/router_stage_merge.h:34, from src/mongo/s/query/router_stage_merge.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from build/opt/mongo/s/query/async_results_merger_params_gen.h:23, from src/mongo/s/query/async_results_merger.h:42, from src/mongo/s/query/router_stage_merge.h:34, from src/mongo/s/query/router_stage_merge.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/util/net/ssl_manager.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/util/net/ssl_manager.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/matcher/libexpressions.a build/opt/mongo/db/matcher/expression.o build/opt/mongo/db/matcher/expression_algo.o build/opt/mongo/db/matcher/expression_array.o build/opt/mongo/db/matcher/expression_expr.o build/opt/mongo/db/matcher/expression_geo.o build/opt/mongo/db/matcher/expression_internal_expr_eq.o build/opt/mongo/db/matcher/expression_leaf.o build/opt/mongo/db/matcher/expression_parser.o build/opt/mongo/db/matcher/expression_text_base.o build/opt/mongo/db/matcher/expression_text_noop.o build/opt/mongo/db/matcher/expression_tree.o build/opt/mongo/db/matcher/expression_type.o build/opt/mongo/db/matcher/expression_where_base.o build/opt/mongo/db/matcher/expression_where_noop.o build/opt/mongo/db/matcher/expression_with_placeholder.o build/opt/mongo/db/matcher/extensions_callback.o build/opt/mongo/db/matcher/extensions_callback_noop.o build/opt/mongo/db/matcher/match_details.o build/opt/mongo/db/matcher/matchable.o build/opt/mongo/db/matcher/matcher.o build/opt/mongo/db/matcher/matcher_type_set.o build/opt/mongo/db/matcher/rewrite_expr.o build/opt/mongo/db/matcher/schema/expression_internal_schema_all_elem_match_from_index.o build/opt/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.o build/opt/mongo/db/matcher/schema/expression_internal_schema_cond.o build/opt/mongo/db/matcher/schema/expression_internal_schema_eq.o build/opt/mongo/db/matcher/schema/expression_internal_schema_fmod.o build/opt/mongo/db/matcher/schema/expression_internal_schema_match_array_index.o build/opt/mongo/db/matcher/schema/expression_internal_schema_num_array_items.o build/opt/mongo/db/matcher/schema/expression_internal_schema_num_properties.o build/opt/mongo/db/matcher/schema/expression_internal_schema_object_match.o build/opt/mongo/db/matcher/schema/expression_internal_schema_root_doc_eq.o build/opt/mongo/db/matcher/schema/expression_internal_schema_str_length.o build/opt/mongo/db/matcher/schema/expression_internal_schema_unique_items.o build/opt/mongo/db/matcher/schema/expression_internal_schema_xor.o build/opt/mongo/db/matcher/schema/json_schema_parser.o Skipping ranlib for thin archive build/opt/mongo/db/matcher/libexpressions.a g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/utf8_codecvt_facet.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/utf8_codecvt_facet.cpp ar rcsTD build/opt/mongo/s/query/libasync_results_merger.a build/opt/mongo/s/query/async_results_merger.o build/opt/mongo/s/query/establish_cursors.o build/opt/mongo/s/query/async_results_merger_params_gen.o Skipping ranlib for thin archive build/opt/mongo/s/query/libasync_results_merger.a g++ -o build/opt/mongo/db/s/sharding_state.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_state.cpp ar rcsTD build/opt/mongo/executor/libnetwork_interface.a build/opt/mongo/executor/network_interface.o Skipping ranlib for thin archive build/opt/mongo/executor/libnetwork_interface.a ar rcsTD build/opt/mongo/util/libntservice.a build/opt/mongo/util/ntservice.o Skipping ranlib for thin archive build/opt/mongo/util/libntservice.a g++ -o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path_traits.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/filesystem/src/path_traits.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/server.cpp:85: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/pipeline/pipeline.h:38, from src/mongo/s/query/cluster_client_cursor_params.h:43, from src/mongo/s/query/cluster_client_cursor.h:39, from src/mongo/s/query/cluster_cursor_manager.h:43, from src/mongo/s/server.cpp:85: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/util/concurrency/libticketholder.a build/opt/mongo/util/concurrency/ticketholder.o Skipping ranlib for thin archive build/opt/mongo/util/concurrency/libticketholder.a ar rcsTD build/opt/mongo/db/libwrite_concern_options.a build/opt/mongo/db/write_concern_options.o Skipping ranlib for thin archive build/opt/mongo/db/libwrite_concern_options.a g++ -o build/opt/third_party/boost-1.60.0/libs/program_options/src/value_semantic.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 src/third_party/boost-1.60.0/libs/program_options/src/value_semantic.cpp ar rcsTD build/opt/third_party/boost-1.60.0/libboost_filesystem.a build/opt/third_party/boost-1.60.0/libs/filesystem/src/codecvt_error_category.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/operations.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/path_traits.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/portability.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/unique_path.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/utf8_codecvt_facet.o build/opt/third_party/boost-1.60.0/libs/filesystem/src/windows_file_codecvt.o Skipping ranlib for thin archive build/opt/third_party/boost-1.60.0/libboost_filesystem.a g++ -o build/opt/mongo/db/pipeline/document_comparator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_comparator.cpp 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/commands/start_session_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/start_session_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/document_comparator.h:34, from src/mongo/db/pipeline/document_comparator.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/document_comparator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/rpc/legacy_request_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/rpc/legacy_request_builder.cpp g++ -o build/opt/mongo/db/repl/optime.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/optime.cpp ar rcsTD build/opt/mongo/db/s/libsharding_api_d.a build/opt/mongo/db/s/collection_metadata.o build/opt/mongo/db/s/collection_sharding_state.o build/opt/mongo/db/s/database_sharding_state.o build/opt/mongo/db/s/operation_sharding_state.o build/opt/mongo/db/s/sharded_connection_info.o build/opt/mongo/db/s/sharding_migration_critical_section.o build/opt/mongo/db/s/sharding_state.o Skipping ranlib for thin archive build/opt/mongo/db/s/libsharding_api_d.a g++ -o build/opt/mongo/db/commands/refresh_sessions_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/refresh_sessions_command.cpp ar rcsTD build/opt/third_party/libshim_icu.a build/opt/third_party/shim_icu.o Skipping ranlib for thin archive build/opt/third_party/libshim_icu.a ar rcsTD build/opt/mongo/db/auth/libuser.a build/opt/mongo/db/auth/user.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libuser.a ar rcsTD build/opt/mongo/executor/libnetwork_interface_factory.a build/opt/mongo/executor/network_interface_factory.o Skipping ranlib for thin archive build/opt/mongo/executor/libnetwork_interface_factory.a ar rcsTD build/opt/mongo/db/auth/libsecurity_key.a build/opt/mongo/db/auth/security_key.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libsecurity_key.a g++ -o build/opt/mongo/db/commands/kill_sessions_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_sessions_command.cpp ar rcsTD build/opt/mongo/db/repl/liboptime.a build/opt/mongo/db/repl/bson_extract_optime.o build/opt/mongo/db/repl/optime.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboptime.a g++ -o build/opt/mongo/s/query/router_stage_pipeline.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/query/router_stage_pipeline.cpp 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/commands/refresh_sessions_command.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/refresh_sessions_command.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/rename_collection_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/rename_collection_common.cpp ar rcsTD build/opt/third_party/boost-1.60.0/libboost_program_options.a build/opt/third_party/boost-1.60.0/libs/program_options/src/cmdline.o build/opt/third_party/boost-1.60.0/libs/program_options/src/config_file.o build/opt/third_party/boost-1.60.0/libs/program_options/src/convert.o build/opt/third_party/boost-1.60.0/libs/program_options/src/options_description.o build/opt/third_party/boost-1.60.0/libs/program_options/src/parsers.o build/opt/third_party/boost-1.60.0/libs/program_options/src/positional_options.o build/opt/third_party/boost-1.60.0/libs/program_options/src/split.o build/opt/third_party/boost-1.60.0/libs/program_options/src/utf8_codecvt_facet.o build/opt/third_party/boost-1.60.0/libs/program_options/src/value_semantic.o build/opt/third_party/boost-1.60.0/libs/program_options/src/variables_map.o build/opt/third_party/boost-1.60.0/libs/program_options/src/winmain.o Skipping ranlib for thin archive build/opt/third_party/boost-1.60.0/libboost_program_options.a ar rcsTD build/opt/mongo/db/commands/libserver_status_core.a build/opt/mongo/db/commands/server_status_internal.o build/opt/mongo/db/commands/server_status_metric.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libserver_status_core.a ar rcsTD build/opt/mongo/util/libprocessinfo.a build/opt/mongo/util/processinfo.o build/opt/mongo/util/processinfo_linux.o Skipping ranlib for thin archive build/opt/mongo/util/libprocessinfo.a ar rcsTD build/opt/mongo/s/query/libcluster_client_cursor.a build/opt/mongo/s/query/cluster_client_cursor_impl.o Skipping ranlib for thin archive build/opt/mongo/s/query/libcluster_client_cursor.a g++ -o build/opt/mongo/util/net/ssl_stream.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/net/ssl_stream.cpp g++ -o build/opt/mongo/db/update/modifier_table.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/update/modifier_table.cpp 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/commands/kill_sessions_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/kill_sessions_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/pipeline/libdocument_value.a build/opt/mongo/db/pipeline/document.o build/opt/mongo/db/pipeline/document_comparator.o build/opt/mongo/db/pipeline/document_path_support.o build/opt/mongo/db/pipeline/value.o build/opt/mongo/db/pipeline/value_comparator.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libdocument_value.a 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/s/query/router_stage_pipeline.h:35, from src/mongo/s/query/router_stage_pipeline.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/repl/rollback_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/repl/rollback_gen.cpp ar rcsTD build/opt/mongo/util/net/libssl_manager.a build/opt/mongo/util/net/private/ssl_expiration.o build/opt/mongo/util/net/ssl_manager.o build/opt/mongo/util/net/ssl_parameters.o build/opt/mongo/util/net/ssl_manager_openssl.o build/opt/mongo/util/net/ssl_stream.o Skipping ranlib for thin archive build/opt/mongo/util/net/libssl_manager.a ar rcsTD build/opt/mongo/db/libcursor_server_params.a build/opt/mongo/db/cursor_server_params.o 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libcursor_server_params.a ar rcsTD build/opt/mongo/db/stats/libcounters.a build/opt/mongo/db/stats/counters.o 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/s/query/router_stage_pipeline.h:35, from src/mongo/s/query/router_stage_pipeline.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/stats/libcounters.a ar rcsTD build/opt/mongo/transport/libtransport_layer_common.a build/opt/mongo/transport/service_entry_point_utils.o build/opt/mongo/transport/session.o build/opt/mongo/transport/transport_layer.o Skipping ranlib for thin archive build/opt/mongo/transport/libtransport_layer_common.a ar rcsTD build/opt/mongo/db/libkill_sessions.a build/opt/mongo/db/kill_sessions.o build/opt/mongo/db/kill_sessions_common.o build/opt/mongo/db/session_killer.o build/opt/mongo/db/kill_sessions_gen.o Skipping ranlib for thin archive build/opt/mongo/db/libkill_sessions.a ar rcsTD build/opt/mongo/util/libperiodic_runner_impl.a build/opt/mongo/util/periodic_runner_impl.o Skipping ranlib for thin archive build/opt/mongo/util/libperiodic_runner_impl.a ar rcsTD build/opt/mongo/s/catalog/libdist_lock_catalog_impl.a build/opt/mongo/s/catalog/dist_lock_catalog_impl.o Skipping ranlib for thin archive build/opt/mongo/s/catalog/libdist_lock_catalog_impl.a ar rcsTD build/opt/mongo/rpc/liblegacy_request.a build/opt/mongo/rpc/legacy_request.o build/opt/mongo/rpc/legacy_request_builder.o Skipping ranlib for thin archive build/opt/mongo/rpc/liblegacy_request.a ar rcsTD build/opt/mongo/client/libclientdriver_minimal.a build/opt/mongo/client/dbclient.o build/opt/mongo/client/dbclientcursor.o build/opt/mongo/client/index_spec.o Skipping ranlib for thin archive build/opt/mongo/client/libclientdriver_minimal.a ar rcsTD build/opt/mongo/db/pipeline/libfield_path.a build/opt/mongo/db/pipeline/field_path.o Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libfield_path.a ar rcsTD build/opt/mongo/db/libserver_parameters.a build/opt/mongo/db/server_parameters.o Skipping ranlib for thin archive build/opt/mongo/db/libserver_parameters.a ar rcsTD build/opt/mongo/util/libintrusive_counter.a build/opt/mongo/util/intrusive_counter.o Skipping ranlib for thin archive build/opt/mongo/util/libintrusive_counter.a ar rcsTD build/opt/mongo/executor/libtask_executor_pool.a build/opt/mongo/executor/task_executor_pool.o Skipping ranlib for thin archive build/opt/mongo/executor/libtask_executor_pool.a g++ -o build/opt/mongo/s/service_entry_point_mongos.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/service_entry_point_mongos.cpp ar rcsTD build/opt/mongo/db/auth/librole_graph.a build/opt/mongo/db/auth/role_graph.o build/opt/mongo/db/auth/role_graph_builtin_roles.o Skipping ranlib for thin archive build/opt/mongo/db/auth/librole_graph.a ar rcsTD build/opt/mongo/db/storage/libstorage_options.a build/opt/mongo/db/storage/storage_options.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_options.a ar rcsTD build/opt/mongo/s/query/libcluster_cursor_manager.a build/opt/mongo/s/query/cluster_cursor_manager.o Skipping ranlib for thin archive build/opt/mongo/s/query/libcluster_cursor_manager.a 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/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_table.h:33, from src/mongo/db/update/modifier_table.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/document_comparator.h:34, from src/mongo/db/pipeline/expression_context.h:43, from src/mongo/db/update/update_leaf_node.h:33, from src/mongo/db/update/modifier_table.h:33, from src/mongo/db/update/modifier_table.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/abstract_oplog_fetcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/abstract_oplog_fetcher.cpp 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 build/opt/mongo/db/repl/rollback_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/repl/rollback_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/transactions_stats_gen.h --output build/opt/mongo/db/transactions_stats_gen.cpp src/mongo/db/transactions_stats.idl Creating 'build/opt/third_party/wiredtiger/wiredtiger.h' gcc -o build/opt/third_party/wiredtiger/src/btree/bt_ovfl.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_ovfl.c g++ -o build/opt/mongo/db/transactions_stats_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/transactions_stats_gen.cpp g++ -o build/opt/mongo/db/catalog/collection_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_options.cpp 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/service_entry_point_mongos.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/service_entry_point_mongos.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/abstract_oplog_fetcher.h:35, from src/mongo/db/repl/abstract_oplog_fetcher.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/abstract_oplog_fetcher.h:35, from src/mongo/db/repl/abstract_oplog_fetcher.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/update/libupdate.a build/opt/mongo/db/update/addtoset_node.o build/opt/mongo/db/update/arithmetic_node.o build/opt/mongo/db/update/array_culling_node.o build/opt/mongo/db/update/bit_node.o build/opt/mongo/db/update/compare_node.o build/opt/mongo/db/update/current_date_node.o build/opt/mongo/db/update/modifier_node.o build/opt/mongo/db/update/modifier_table.o build/opt/mongo/db/update/object_replace_node.o build/opt/mongo/db/update/pop_node.o build/opt/mongo/db/update/pull_node.o build/opt/mongo/db/update/pullall_node.o build/opt/mongo/db/update/push_node.o build/opt/mongo/db/update/rename_node.o build/opt/mongo/db/update/set_node.o build/opt/mongo/db/update/unset_node.o build/opt/mongo/db/update/update_array_node.o build/opt/mongo/db/update/update_internal_node.o build/opt/mongo/db/update/update_leaf_node.o build/opt/mongo/db/update/update_node.o build/opt/mongo/db/update/update_object_node.o Skipping ranlib for thin archive build/opt/mongo/db/update/libupdate.a 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 build/opt/mongo/db/transactions_stats_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/transactions_stats_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/catalog/collection_options.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/stats/read_concern_stats_gen.h --output build/opt/mongo/db/stats/read_concern_stats_gen.cpp src/mongo/db/stats/read_concern_stats.idl 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/catalog/collection_options.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/commands/libcore.a build/opt/mongo/db/commands/copydb_common.o build/opt/mongo/db/commands/end_sessions_command.o build/opt/mongo/db/commands/fail_point_cmd.o build/opt/mongo/db/commands/find_and_modify_common.o build/opt/mongo/db/commands/generic.o build/opt/mongo/db/commands/hashcmd.o build/opt/mongo/db/commands/kill_all_sessions_by_pattern_command.o build/opt/mongo/db/commands/kill_all_sessions_command.o build/opt/mongo/db/commands/kill_sessions_command.o build/opt/mongo/db/commands/parameters.o build/opt/mongo/db/commands/refresh_logical_session_cache_now.o build/opt/mongo/db/commands/refresh_sessions_command.o build/opt/mongo/db/commands/rename_collection_common.o build/opt/mongo/db/commands/start_session_command.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libcore.a /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/session_txn_record_gen.h --output build/opt/mongo/db/session_txn_record_gen.cpp src/mongo/db/session_txn_record.idl ar rcsTD build/opt/mongo/s/query/librouter_exec_stage.a build/opt/mongo/s/query/document_source_router_adapter.o build/opt/mongo/s/query/router_stage_limit.o build/opt/mongo/s/query/router_stage_merge.o build/opt/mongo/s/query/router_stage_mock.o build/opt/mongo/s/query/router_stage_pipeline.o build/opt/mongo/s/query/router_stage_remove_metadata_fields.o build/opt/mongo/s/query/router_stage_skip.o build/opt/mongo/s/query/router_stage_update_on_add_shard.o Skipping ranlib for thin archive build/opt/mongo/s/query/librouter_exec_stage.a g++ -o build/opt/mongo/db/introspect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/introspect.cpp g++ -o build/opt/mongo/db/commands/find_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/find_cmd.cpp g++ -o build/opt/mongo/db/storage/journal_listener.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/journal_listener.cpp ar rcsTD build/opt/mongo/db/repl/librollback_idl.a build/opt/mongo/db/repl/rollback_gen.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_idl.a gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_fallocate.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_fallocate.c g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_options_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_options_init.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_server_status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/introspect.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/introspect.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/commands/find_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/commands/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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Using tempfile /usr/src/tmp/tmpx2jTXh.lnk for command line: g++ -o build/opt/mongo/mongos -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/opt/mongo/s/cluster_cursor_stats.o build/opt/mongo/s/mongos_options.o build/opt/mongo/s/mongos_options_init.o build/opt/mongo/s/s_sharding_server_status.o build/opt/mongo/s/server.o build/opt/mongo/s/service_entry_point_mongos.o build/opt/mongo/s/sharding_uptime_reporter.o build/opt/mongo/s/version_mongos.o -Wl,--start-group -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libtcmalloc_set_parameter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_initialization.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache_factory_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_rs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbdirectclient.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libremote_command_targeter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_egress_metadata_hook_for_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommitted_optime_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libcluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libcluster_write_op.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libstore_possible_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcursor_server_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_client_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/librouter_exec_stage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libcluster_commands_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libinit_timezone_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop_failpoint_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libshared_cluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libasync_multicaster.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libviews.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libresolved_view.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libpipeline.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libasync_results_merger.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libasync_requests_sender.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libsharding_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libfetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libtop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libgranularity_rounder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_sources_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaccumulator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libkey_generator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libbase_fts.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_stemmer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/unicode/libunicode.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libwrite_commands_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libprofile_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/liblist_databases_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libkill_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libcurrent_op_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libencryption_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libstartup_warnings_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongodandmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsecurity_key.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprogress_meter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthservercommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libservers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libntservice.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_legacy_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcluster_last_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblasterror.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcoreshard.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libthread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libgrid.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_cursor_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libgeneric_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libshard_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libremote_command_retry_scheduler.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libisself.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libfeature_compatibility_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libcore.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/logger/libparse_log_component_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libsharding_api_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_routing_table.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libkey_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/librange_arithmetic.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/concurrency/liblock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libbatch_write_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ops/libwrite_ops_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkill_sessions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsecurity_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsaslauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_impl_internal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/liblite_parsed_document_source.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdocument_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_document_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/librole_graph_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate_driver.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libupdate_index_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libindex_bounds.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_timelib.a -Wl,--no-whole-archive build/opt/third_party/timelib-2018.01alpha1/libtimelib.a -Wl,--whole-archive build/opt/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libexpression_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsasl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/librole_graph.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthorization_manager_global.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/opt/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_program_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_iostreams.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_filesystem.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_system.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_allocator.a -Wl,--no-whole-archive build/opt/mongo/util/libdebugger.a -Wl,--end-group -lstemmer -lz -lsnappy -lyaml-cpp -lsasl2 -lpcre -lpcrecpp -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/usr/src/tmp/tmpx2jTXh.lnk g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp ar rcsTD build/opt/mongo/db/repl/libabstract_oplog_fetcher.a build/opt/mongo/db/repl/abstract_oplog_fetcher.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libabstract_oplog_fetcher.a g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_parameters.cpp 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/commands/server_status.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.h:35, from src/mongo/db/storage/wiredtiger/wiredtiger_server_status.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/single_transaction_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/single_transaction_stats.cpp g++ -o build/opt/mongo/db/concurrency/write_conflict_exception.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/write_conflict_exception.cpp 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:40, from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:49: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:40, from src/mongo/db/storage/wiredtiger/wiredtiger_init.cpp:49: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/single_transaction_stats.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/single_transaction_stats.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/oplog_buffer_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_buffer_collection.cpp 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/concurrency/write_conflict_exception.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/concurrency/write_conflict_exception.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_buffer_collection.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_buffer_collection.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/catalog/catalog_control.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/catalog_control.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/catalog_control.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/catalog_control.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/scripting/mozjs/error.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/error.cpp ar rcsTD build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a build/opt/mongo/db/storage/wiredtiger/wiredtiger_init.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_options_init.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_parameters.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_record_store_mongod.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_server_status.o Skipping ranlib for thin archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a g++ -o build/opt/mongo/db/repl/storage_interface_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/storage_interface_impl.cpp g++ -o build/opt/mongo/db/s/sharding_server_status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_server_status.cpp gcc -o build/opt/third_party/wiredtiger/src/bloom/bloom.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/bloom/bloom.c g++ -o build/opt/mongo/db/session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/session.cpp g++ -o build/opt/mongo/db/storage/devnull/devnull_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/devnull/devnull_init.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/s/add_shard_cmd_gen.h --output build/opt/mongo/db/s/add_shard_cmd_gen.cpp src/mongo/db/s/add_shard_cmd.idl g++ -o build/opt/mongo/db/s/shard_server_op_observer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/shard_server_op_observer.cpp 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/commands/server_status.h:35, from src/mongo/db/s/sharding_server_status.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/s/sharding_server_status.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/storage_interface_impl.h:42, from src/mongo/db/repl/storage_interface_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/storage_interface_impl.h:42, from src/mongo/db/repl/storage_interface_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/session.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/session.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/s/shard_server_op_observer.h:34, from src/mongo/db/s/shard_server_op_observer.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/s/shard_server_op_observer.h:34, from src/mongo/db/s/shard_server_op_observer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Install file: "build/opt/mongo/mongos" as "mongos" /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/free_mon/free_mon_storage_gen.h --output build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp src/mongo/db/free_mon/free_mon_storage.idl g++ -o build/opt/mongo/db/free_mon/free_mon_storage_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp gcc -o build/opt/third_party/wiredtiger/src/conn/conn_dhandle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_dhandle.c g++ -o build/opt/mongo/db/free_mon/http_client_curl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/http_client_curl.cpp 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 build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/free_mon/free_mon_storage_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp g++ -o build/opt/mongo/db/s/add_shard_cmd_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/s/add_shard_cmd_gen.cpp g++ -o build/opt/mongo/db/s/type_shard_identity.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/type_shard_identity.cpp g++ -o build/opt/mongo/db/catalog/index_catalog_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_catalog_entry.cpp 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 build/opt/mongo/db/s/add_shard_cmd_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/s/add_shard_cmd_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/commands/oplog_application_checks.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/oplog_application_checks.cpp g++ -o build/opt/mongo/db/sessions_collection_standalone.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection_standalone.cpp g++ -o build/opt/mongo/db/s/get_shard_version_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/get_shard_version_command.cpp ar rcsTD build/opt/mongo/db/catalog/libindex_catalog_entry.a build/opt/mongo/db/catalog/index_catalog_entry.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libindex_catalog_entry.a 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/bson/util/bson_check.h:35, from src/mongo/db/commands/oplog_application_checks.cpp:32: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/commands/oplog_application_checks.cpp:32: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repair_database_and_check_version.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repair_database_and_check_version.cpp In file included from src/third_party/mozjs-45/extract/js/src/jit/Lowering.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:38: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::jit::MDefinition*; Value = js::jit::MDefinition*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jit/LoopUnroller.cpp:340:35: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:11, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/jit/CompactBuffer.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitcodeMap.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/s/libtype_shard_identity.a build/opt/mongo/db/s/add_shard_cmd_gen.o build/opt/mongo/db/s/type_shard_identity.o Skipping ranlib for thin archive build/opt/mongo/db/s/libtype_shard_identity.a 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/repair_database_and_check_version.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/repair_database_and_check_version.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/client/rs_local_client.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/rs_local_client.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/get_shard_version_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/get_shard_version_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/schema/schema_plan.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_plan.c g++ -o build/opt/mongo/db/op_observer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/op_observer.cpp g++ -o build/opt/mongo/db/repl/task_runner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/task_runner.cpp 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/curop.h:37, from src/mongo/s/client/rs_local_client.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/s/client/rs_local_client.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/run_aggregate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/run_aggregate.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/run_aggregate.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/run_aggregate.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/txn/txn_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_log.c g++ -o build/opt/mongo/db/exec/fetch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/fetch.cpp g++ -o build/opt/mongo/db/s/config/configsvr_create_collection_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_create_collection_command.cpp 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/exec/fetch.h:37, from src/mongo/db/exec/fetch.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/fetch.h:37, from src/mongo/db/exec/fetch.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/s/client/librs_local_client.a build/opt/mongo/s/client/rs_local_client.o Skipping ranlib for thin archive build/opt/mongo/s/client/librs_local_client.a g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp gcc -o build/opt/third_party/wiredtiger/src/log/log_sys.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log_sys.c g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.cpp gcc -o build/opt/third_party/wiredtiger/src/block/block_compact.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_compact.c gcc -o build/opt/third_party/wiredtiger/src/support/cond_auto.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/cond_auto.c 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/s/config/configsvr_create_collection_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_create_collection_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_config.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_config.c g++ -o build/opt/mongo/db/storage/kv/kv_collection_catalog_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/storage/kv/kv_collection_catalog_entry.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/storage/kv/kv_collection_catalog_entry.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/kv/kv_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/kv/kv_catalog.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:23, from src/third_party/mozjs-45/extract/js/src/vm/Debugger-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:38: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/concurrency/deferred_writer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/concurrency/deferred_writer.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:17, from src/third_party/mozjs-45/extract/js/src/vm/Debugger-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:38: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:17, from src/third_party/mozjs-45/extract/js/src/vm/Debugger-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:38: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:17, from src/third_party/mozjs-45/extract/js/src/vm/Debugger-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:38: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/CharacterEncoding.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = JS::Zone* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = JS::Zone*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/Debugger.cpp:3497:25: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/concurrency/deferred_writer.h:33, from src/mongo/db/concurrency/deferred_writer.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/concurrency/deferred_writer.h:33, from src/mongo/db/concurrency/deferred_writer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/apply_ops_gen.h --output build/opt/mongo/db/repl/apply_ops_gen.cpp src/mongo/db/repl/apply_ops.idl g++ -o build/opt/mongo/db/stats/fill_locker_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/fill_locker_info.cpp g++ -o build/opt/mongo/db/commands/apply_ops_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/apply_ops_cmd.cpp g++ -o build/opt/mongo/db/storage/storage_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_init.cpp 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/bson/util/bson_check.h:35, from src/mongo/db/commands/apply_ops_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/commands/apply_ops_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/stats/libfill_locker_info.a build/opt/mongo/db/stats/fill_locker_info.o Skipping ranlib for thin archive build/opt/mongo/db/stats/libfill_locker_info.a g++ -o build/opt/mongo/db/query/plan_yield_policy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/plan_yield_policy.cpp g++ -o build/opt/mongo/db/s/split_vector_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/split_vector_command.cpp 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/commands/server_status.h:35, from src/mongo/db/storage/storage_init.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/storage_init.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/replication_coordinator_impl_elect_v1.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/query/plan_yield_policy.h:33, from src/mongo/db/query/plan_yield_policy.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/storage/kv/libkv_engine_core.a build/opt/mongo/db/storage/kv/kv_catalog.o build/opt/mongo/db/storage/kv/kv_collection_catalog_entry.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_engine_core.a 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/query/plan_yield_policy.h:33, from src/mongo/db/query/plan_yield_policy.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_snprintf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_snprintf.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_file.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_file.c 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/s/split_vector_command.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/split_vector_command.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl_elect_v1.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/free_mon/free_mon_protocol_gen.h --output build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp src/mongo/db/free_mon/free_mon_protocol.idl g++ -o build/opt/mongo/db/free_mon/free_mon_op_observer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_op_observer.cpp g++ -o build/opt/mongo/scripting/mozjs/db.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/db.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/free_mon/free_mon_op_observer.h:34, from src/mongo/db/free_mon/free_mon_op_observer.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/free_mon/free_mon_op_observer.h:34, from src/mongo/db/free_mon/free_mon_op_observer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libstorage_init_d.a build/opt/mongo/db/storage/storage_init.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_init_d.a g++ -o build/opt/mongo/db/catalog_raii.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog_raii.cpp g++ -o build/opt/mongo/db/commands/snapshot_management.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/snapshot_management.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/catalog_raii.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/commands/pipeline_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/pipeline_command.cpp 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/catalog_raii.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/migration_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_util.cpp g++ -o build/opt/mongo/db/logical_session_cache_factory_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/logical_session_cache_factory_mongod.cpp 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/commands/snapshot_management.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/snapshot_management.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/pipeline_command.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/pipeline_command.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/replication_consistency_markers_gen.h --output build/opt/mongo/db/repl/replication_consistency_markers_gen.cpp src/mongo/db/repl/replication_consistency_markers.idl g++ -o build/opt/mongo/db/catalog/collection_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_impl.cpp g++ -o build/opt/mongo/db/repl/replication_consistency_markers_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/repl/replication_consistency_markers_gen.cpp g++ -o build/opt/mongo/db/commands/list_collections_filter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/list_collections_filter.cpp g++ -o build/opt/mongo/db/free_mon/free_mon_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_mongod.cpp 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 build/opt/mongo/db/repl/replication_consistency_markers_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/repl/replication_consistency_markers_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection_impl.h:34, from src/mongo/db/catalog/collection_impl.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection_impl.h:34, from src/mongo/db/catalog/collection_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/repair_database_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/repair_database_interface.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer_registry.h:37, from src/mongo/db/free_mon/free_mon_mongod.h:33, from src/mongo/db/free_mon/free_mon_mongod.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer_registry.h:37, from src/mongo/db/free_mon/free_mon_mongod.h:33, from src/mongo/db/free_mon/free_mon_mongod.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/mmap_v1/librepair_database_interface.a build/opt/mongo/db/storage/mmap_v1/repair_database_interface.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/librepair_database_interface.a gcc -o build/opt/third_party/wiredtiger/src/block/block_addr.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_addr.c g++ -o build/opt/mongo/db/s/start_chunk_clone_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/start_chunk_clone_request.cpp g++ -o build/opt/mongo/db/s/migration_session_id.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_session_id.cpp g++ -o build/opt/mongo/db/storage/devnull/devnull_kv_engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/devnull/devnull_kv_engine.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/dur_preplogbuffer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur_preplogbuffer.cpp g++ -o build/opt/mongo/db/catalog/index_consistency.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_consistency.cpp ar rcsTD build/opt/mongo/db/s/libmigration_types.a build/opt/mongo/db/s/migration_session_id.o build/opt/mongo/db/s/start_chunk_clone_request.o Skipping ranlib for thin archive build/opt/mongo/db/s/libmigration_types.a gcc -o build/opt/third_party/wiredtiger/src/btree/bt_misc.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_misc.c ar rcsTD build/opt/mongo/db/repl/libreplication_consistency_markers_idl.a build/opt/mongo/db/repl/replication_consistency_markers_gen.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplication_consistency_markers_idl.a gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_setvbuf.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_setvbuf.c g++ -o build/opt/mongo/scripting/mozjs/engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/engine.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/exec/and_hash.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/and_hash.cpp g++ -o build/opt/mongo/db/query/plan_executor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/plan_executor.cpp gcc -o build/opt/third_party/wiredtiger/src/async/async_op.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/async/async_op.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/catalog/index_consistency.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/catalog/index_consistency.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/oplog_interface_local.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_interface_local.cpp 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/exec/and_hash.h:37, from src/mongo/db/exec/and_hash.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/and_hash.h:37, from src/mongo/db/exec/and_hash.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/Recover.cpp:29, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/query/plan_executor.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/query/plan_executor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.h:12, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.h:13, from src/third_party/mozjs-45/extract/js/src/jit/RangeAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/ProcessExecutableMemory.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/repl/oplog_interface_local.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/repl/oplog_interface_local.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/haystack.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/haystack.cpp gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_priv.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_priv.c ar rcsTD build/opt/mongo/db/storage/devnull/libstorage_devnull_core.a build/opt/mongo/db/storage/devnull/devnull_kv_engine.o Skipping ranlib for thin archive build/opt/mongo/db/storage/devnull/libstorage_devnull_core.a g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/haystack.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/haystack.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/shim_mozjs.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS src/third_party/shim_mozjs.cpp ar rcsTD build/opt/third_party/libshim_mozjs.a build/opt/third_party/shim_mozjs.o Skipping ranlib for thin archive build/opt/third_party/libshim_mozjs.a gcc -o build/opt/third_party/wiredtiger/src/support/hash_city.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hash_city.c g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp g++ -o build/opt/mongo/db/sessions_collection_config_server.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/sessions_collection_config_server.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/dur_journal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur_journal.cpp In file included from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:12, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:12, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:12, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:12, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/repl/liboplog_interface_local.a build/opt/mongo/db/repl/oplog_interface_local.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_interface_local.a g++ -o build/opt/mongo/scripting/mozjs/maxkey.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/maxkey.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/SymbolObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ 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/sessions_collection_config_server.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::RelocatablePtr >; HashPolicy = js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::RelocatablePtr; Value = js::RelocatablePtr; HashPolicy = js::MovableCellHasher >; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/builtin/WeakMapObject.cpp:62:20: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ 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/sessions_collection_config_server.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/ttl_collection_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ttl_collection_cache.cpp In file included from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.cpp g++ -o build/opt/mongo/db/repl/dbcheck_idl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/dbcheck_idl.cpp In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.cpp:11: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.h:266:45: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/repl/dbcheck_gen.h --output build/opt/mongo/db/repl/dbcheck_gen.cpp src/mongo/db/repl/dbcheck.idl src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps.h:457:28: required from 'bool js::frontend::AtomDecls::addUnique(JSAtom*, js::frontend::AtomDecls::DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; js::frontend::AtomDecls::DefinitionNode = js::frontend::Definition*]' src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps.cpp:136:30: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/catalog/health_log_gen.h --output build/opt/mongo/db/catalog/health_log_gen.cpp src/mongo/db/catalog/health_log.idl g++ -o build/opt/mongo/db/repl/dbcheck_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/repl/dbcheck_gen.cpp g++ -o build/opt/mongo/db/commands/sleep_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/sleep_command.cpp ar rcsTD build/opt/mongo/db/libttl_collection_cache.a build/opt/mongo/db/ttl_collection_cache.o Skipping ranlib for thin archive build/opt/mongo/db/libttl_collection_cache.a g++ -o build/opt/mongo/db/index/index_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/index_access_method.cpp g++ -o build/opt/mongo/db/repl/dbcheck.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/dbcheck.cpp g++ -o build/opt/mongo/db/commands/restart_catalog_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/restart_catalog_command.cpp g++ -o build/opt/mongo/db/service_liaison_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/service_liaison_mongod.cpp 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 build/opt/mongo/db/repl/dbcheck_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/repl/dbcheck_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/sleep_command.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/sleep_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection_impl.h:34, from src/mongo/db/index/index_access_method.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection_impl.h:34, from src/mongo/db/index/index_access_method.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/repl/dbcheck.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/repl/dbcheck.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/restart_catalog_command.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/restart_catalog_command.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:36, from src/mongo/db/service_liaison_mongod.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:36, from src/mongo/db/service_liaison_mongod.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/client/connection_pool.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/client/connection_pool.cpp g++ -o build/opt/mongo/db/index/hash_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/hash_access_method.cpp g++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp g++ -o build/opt/mongo/scripting/mozjs/jsthread.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/jsthread.cpp g++ -o build/opt/mongo/scripting/mozjs/numberlong.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/numberlong.cpp g++ -o build/opt/mongo/scripting/mozjs/bson.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/bson.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/scripting/mozjs/end_sessions_gen.h --output build/opt/mongo/scripting/mozjs/end_sessions_gen.cpp src/mongo/scripting/mozjs/end_sessions.idl g++ -o build/opt/mongo/scripting/mozjs/end_sessions_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/scripting/mozjs/end_sessions_gen.cpp g++ -o build/opt/mongo/scripting/mozjs/status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/status.cpp 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 build/opt/mongo/scripting/mozjs/end_sessions_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/scripting/mozjs/end_sessions_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/scripting/mozjs/cursor_handle.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/cursor_handle.cpp g++ -o build/opt/mongo/scripting/mozjs/mongohelpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/mongohelpers.cpp g++ -o build/opt/mongo/scripting/mozjs/implscope.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/implscope.cpp g++ -o build/opt/mongo/scripting/mozjs/regexp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/regexp.cpp ar rcsTD build/opt/mongo/db/repl/libdbcheck.a build/opt/mongo/db/repl/dbcheck.o build/opt/mongo/db/repl/dbcheck_idl.o build/opt/mongo/db/repl/dbcheck_gen.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libdbcheck.a g++ -o build/opt/mongo/scripting/mozjs/idwrapper.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/idwrapper.cpp g++ -o build/opt/mongo/scripting/mozjs/countdownlatch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/countdownlatch.cpp ar rcsTD build/opt/mongo/db/index/libindex_access_method.a build/opt/mongo/db/index/index_access_method.o Skipping ranlib for thin archive build/opt/mongo/db/index/libindex_access_method.a g++ -o build/opt/mongo/scripting/mozjs/oid.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/oid.cpp g++ -o build/opt/mongo/scripting/mozjs/internedstring.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/internedstring.cpp g++ -o build/opt/mongo/scripting/mozjs/cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/cursor.cpp g++ -o build/opt/mongo/scripting/mozjs/jsstringwrapper.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/jsstringwrapper.cpp g++ -o build/opt/mongo/scripting/mozjs/valuewriter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/valuewriter.cpp g++ -o build/opt/mongo/scripting/mozjs/jscustomallocator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/jscustomallocator.cpp g++ -o build/opt/mongo/scripting/mozjs/dbcollection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/dbcollection.cpp g++ -o build/opt/mongo/scripting/mozjs/code.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/code.cpp g++ -o build/opt/mongo/scripting/mozjs/object.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/object.cpp g++ -o build/opt/mongo/scripting/mozjs/PosixNSPR.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/PosixNSPR.cpp g++ -o build/opt/mongo/scripting/mozjs/objectwrapper.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/objectwrapper.cpp g++ -o build/opt/mongo/scripting/mozjs/base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/base.cpp g++ -o build/opt/mongo/scripting/mozjs/bindata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/bindata.cpp g++ -o build/opt/mongo/scripting/mozjs/session.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/session.cpp g++ -o build/opt/mongo/scripting/mozjs/uri.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/uri.cpp g++ -o build/opt/mongo/scripting/mozjs/dbpointer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/dbpointer.cpp g++ -o build/opt/mongo/scripting/mozjs/dbref.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/dbref.cpp g++ -o build/opt/mongo/scripting/mozjs/dbquery.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/dbquery.cpp g++ -o build/opt/mongo/scripting/mozjs/timestamp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/timestamp.cpp g++ -o build/opt/mongo/scripting/mozjs/valuereader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/valuereader.cpp g++ -o build/opt/mongo/scripting/mozjs/nativefunction.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/nativefunction.cpp g++ -o build/opt/mongo/scripting/mozjs/minkey.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/minkey.cpp g++ -o build/opt/mongo/scripting/mozjs/mongo.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/mongo.cpp g++ -o build/opt/mongo/scripting/mozjs/proxyscope.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/proxyscope.cpp g++ -o build/opt/mongo/scripting/mozjs/numberdecimal.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/numberdecimal.cpp g++ -o build/opt/mongo/scripting/mozjs/exception.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/exception.cpp /usr/bin/python site_scons/site_tools/jstoh.py build/opt/mongo/scripting/mozjs/mongohelpers_js.cpp src/mongo/scripting/mozjs/mongohelpers.js g++ -o build/opt/mongo/scripting/mozjs/mongohelpers_js.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/scripting/mozjs/mongohelpers_js.cpp g++ -o build/opt/mongo/scripting/mozjs/global.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/global.cpp g++ -o build/opt/mongo/scripting/mozjs/numberint.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-config.h -include js/RequiredDefines.h -Wno-invalid-offsetof -fPIE -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/mozjs/numberint.cpp g++ -o build/opt/mongo/db/s/config/configsvr_drop_collection_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_drop_collection_command.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/ops/single_write_result_gen.h --output build/opt/mongo/db/ops/single_write_result_gen.cpp src/mongo/db/ops/single_write_result.idl g++ -o build/opt/mongo/db/repl/session_update_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/session_update_tracker.cpp g++ -o build/opt/mongo/db/commands/txn_cmds.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/txn_cmds.cpp g++ -o build/opt/mongo/db/ops/write_ops_exec.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/write_ops_exec.cpp 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/s/config/configsvr_drop_collection_command.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_drop_collection_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/txn_cmds.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/txn_cmds.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/repl/session_update_tracker.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/repl/session_update_tracker.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/cloner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/cloner.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/file_allocator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/file_allocator.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/ops/write_ops_exec.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/ops/write_ops_exec.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSLink.cpp:45, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ ar rcsTD build/opt/mongo/scripting/libscripting.a build/opt/mongo/scripting/mozjs/base.o build/opt/mongo/scripting/mozjs/bindata.o build/opt/mongo/scripting/mozjs/bson.o build/opt/mongo/scripting/mozjs/code.o build/opt/mongo/scripting/mozjs/countdownlatch.o build/opt/mongo/scripting/mozjs/cursor.o build/opt/mongo/scripting/mozjs/cursor_handle.o build/opt/mongo/scripting/mozjs/db.o build/opt/mongo/scripting/mozjs/dbcollection.o build/opt/mongo/scripting/mozjs/dbpointer.o build/opt/mongo/scripting/mozjs/dbquery.o build/opt/mongo/scripting/mozjs/dbref.o build/opt/mongo/scripting/mozjs/engine.o build/opt/mongo/scripting/mozjs/error.o build/opt/mongo/scripting/mozjs/exception.o build/opt/mongo/scripting/mozjs/global.o build/opt/mongo/scripting/mozjs/idwrapper.o build/opt/mongo/scripting/mozjs/implscope.o build/opt/mongo/scripting/mozjs/internedstring.o build/opt/mongo/scripting/mozjs/jscustomallocator.o build/opt/mongo/scripting/mozjs/jsstringwrapper.o build/opt/mongo/scripting/mozjs/jsthread.o build/opt/mongo/scripting/mozjs/maxkey.o build/opt/mongo/scripting/mozjs/minkey.o build/opt/mongo/scripting/mozjs/mongo.o build/opt/mongo/scripting/mozjs/mongohelpers.o build/opt/mongo/scripting/mozjs/mongohelpers_js.o build/opt/mongo/scripting/mozjs/nativefunction.o build/opt/mongo/scripting/mozjs/numberdecimal.o build/opt/mongo/scripting/mozjs/numberint.o build/opt/mongo/scripting/mozjs/numberlong.o build/opt/mongo/scripting/mozjs/object.o build/opt/mongo/scripting/mozjs/objectwrapper.o build/opt/mongo/scripting/mozjs/oid.o build/opt/mongo/scripting/mozjs/PosixNSPR.o build/opt/mongo/scripting/mozjs/proxyscope.o build/opt/mongo/scripting/mozjs/regexp.o build/opt/mongo/scripting/mozjs/session.o build/opt/mongo/scripting/mozjs/status.o build/opt/mongo/scripting/mozjs/timestamp.o build/opt/mongo/scripting/mozjs/uri.o build/opt/mongo/scripting/mozjs/valuereader.o build/opt/mongo/scripting/mozjs/valuewriter.o build/opt/mongo/scripting/mozjs/end_sessions_gen.o Skipping ranlib for thin archive build/opt/mongo/scripting/libscripting.a g++ -o build/opt/mongo/db/ftdc/ftdc_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_commands.cpp In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:27, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:32, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:49: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:21, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here struct Pod { ^~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler-inl.h:10, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler-inl.h:10, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler-inl.h:10, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/cloner.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/cloner.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/packing/pack_impl.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/packing/pack_impl.c 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/ftdc/ftdc_commands.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/ftdc/ftdc_commands.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_index.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_index.cpp gcc -o build/opt/third_party/wiredtiger/src/conn/conn_api.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_api.c g++ -o build/opt/mongo/db/commands/list_collections.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/list_collections.cpp g++ -o build/opt/mongo/db/stats/storage_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/storage_stats.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/hashtab.h:36, from src/mongo/db/storage/mmap_v1/catalog/namespace_index.cpp:42: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:151:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:160:43: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &e, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/stats/storage_stats.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/stats/storage_stats.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/list_collections.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/list_collections.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_global_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_global_options.cpp 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_index.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp ar rcsTD build/opt/mongo/db/ops/libwrite_ops_exec.a build/opt/mongo/db/ops/write_ops_exec.o Skipping ranlib for thin archive build/opt/mongo/db/ops/libwrite_ops_exec.a g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_record_store.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_session_cache.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:40, from src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_index.h:40, from src/mongo/db/storage/wiredtiger/wiredtiger_index.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:58: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp:58: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.cpp 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/curop.h:37, from src/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.h:33, from src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:46: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:46: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/multiapplier.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/multiapplier.cpp g++ -o build/opt/mongo/db/repl/oplog_fetcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_fetcher.cpp g++ -o build/opt/mongo/db/s/session_catalog_migration_destination.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/session_catalog_migration_destination.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/oplog_fetcher.h:38, from src/mongo/db/repl/oplog_fetcher.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/oplog_fetcher.h:38, from src/mongo/db/repl/oplog_fetcher.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/s/session_catalog_migration_destination.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/s/session_catalog_migration_destination.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/schema/schema_list.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_list.c g++ -o build/opt/mongo/db/repair_database.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repair_database.cpp gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_time.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_time.c g++ -o build/opt/mongo/db/exec/working_set.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/working_set.cpp g++ -o build/opt/mongo/db/commands/driverHelpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/driverHelpers.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repair_database.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repair_database.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ 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/commands/driverHelpers.cpp:47: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/driverHelpers.cpp:47: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/validate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/validate.cpp g++ -o build/opt/mongo/db/ops/parsed_update.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/parsed_update.cpp ar rcsTD build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a build/opt/mongo/db/storage/wiredtiger/wiredtiger_begin_transaction_block.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_global_options.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_index.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_oplog_manager.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_prepare_conflict.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_record_store.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_session_cache.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_snapshot_manager.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_size_storer.o build/opt/mongo/db/storage/wiredtiger/wiredtiger_util.o Skipping ranlib for thin archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:31, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/transaction_reaper.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/transaction_reaper.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/validate.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/validate.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/ops/parsed_update.h:35, from src/mongo/db/ops/parsed_update.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_with_placeholder.h:37, from src/mongo/db/ops/parsed_update.h:35, from src/mongo/db/ops/parsed_update.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/transaction_reaper.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/transaction_reaper.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/catalog/libcollection_options.a build/opt/mongo/db/catalog/collection_options.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcollection_options.a gcc -o build/opt/third_party/wiredtiger/src/btree/bt_handle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_handle.c g++ -o build/opt/mongo/db/stats/timer_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/timer_stats.cpp ar rcsTD build/opt/mongo/db/repl/liboplog_fetcher.a build/opt/mongo/db/repl/oplog_fetcher.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_fetcher.a gcc -o build/opt/third_party/wiredtiger/src/schema/schema_util.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_util.c g++ -o build/opt/mongo/db/prefetch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/prefetch.cpp g++ -o build/opt/mongo/db/catalog/health_log.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/health_log.cpp g++ -o build/opt/mongo/db/commands/resize_oplog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/resize_oplog.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/prefetch.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/prefetch.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/librepair_database.a build/opt/mongo/db/repair_database.o Skipping ranlib for thin archive build/opt/mongo/db/librepair_database.a g++ -o build/opt/mongo/db/storage/storage_engine_lock_file_posix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_engine_lock_file_posix.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/concurrency/deferred_writer.h:33, from src/mongo/db/catalog/health_log.h:34, from src/mongo/db/catalog/health_log.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/concurrency/deferred_writer.h:33, from src/mongo/db/catalog/health_log.h:34, from src/mongo/db/catalog/health_log.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/resize_oplog.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/resize_oplog.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/feature_compatibility_version.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/feature_compatibility_version.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp g++ -o build/opt/third_party/mozjs-45/extract/js/src/jsatom.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsatom.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/commands/feature_compatibility_version.h:36, from src/mongo/db/commands/feature_compatibility_version.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/commands/feature_compatibility_version.h:36, from src/mongo/db/commands/feature_compatibility_version.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libtransaction_reaper.a build/opt/mongo/db/transaction_reaper.o Skipping ranlib for thin archive build/opt/mongo/db/libtransaction_reaper.a g++ -o build/opt/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:28: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:15, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:26: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:26: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:26: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsatominlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.cpp:11: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Heap.h:20, from src/third_party/mozjs-45/extract/js/src/gc/Nursery.h:15, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:17, from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:7: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::ValueEdge; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::ValueEdge; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:17: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::ValueEdge]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:78:21: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::CellPtrEdge; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::CellPtrEdge; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:17: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::CellPtrEdge]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:79:22: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::SlotsEdge; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::SlotsEdge; HashPolicy = js::gc::StoreBuffer::SlotsEdge::Hasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:17: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::SlotsEdge]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:80:22: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::gc::StoreBuffer::WholeCellEdges; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::gc::StoreBuffer::WholeCellEdges; HashPolicy = js::gc::StoreBuffer::PointerEdgeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:86:17: required from 'void js::gc::StoreBuffer::MonoTypeBuffer::clear() [with T = js::gc::StoreBuffer::WholeCellEdges]' src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.cpp:81:27: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/BaselineIC-x86-shared.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:37, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:11, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/vm/PIC.h:10, from src/third_party/mozjs-45/extract/js/src/vm/PIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:37, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:37, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:37, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:49: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.cpp:41, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:11: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here struct Pod { ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:47: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:39, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here struct TenureCountCache ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = {anonymous}::BytecodeParser::Bytecode]': src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:230:43: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class {anonymous}::BytecodeParser::Bytecode'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:29: src/third_party/mozjs-45/extract/js/src/jsopcode.cpp:227:11: note: 'class {anonymous}::BytecodeParser::Bytecode' declared here class Bytecode ^~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/jsnum.h:13, from src/third_party/mozjs-45/extract/js/src/jsnum.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame-inl.h:19, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:13, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::jit::MDefinition* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::jit::JitAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::jit::MDefinition*; HashPolicy = js::jit::ValueNumberer::VisibleValues::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jit/ValueNumbering.cpp:127:16: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::jit::JitAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::jit::JitAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::jit::MDefinition* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::jit::MDefinition* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:331:77: required from 'bool js::HashSet::init(uint32_t) [with T = js::jit::MDefinition*; HashPolicy = js::jit::ValueNumberer::VisibleValues::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/ValueNumbering.cpp:83:22: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:10, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.h:14, from src/third_party/mozjs-45/extract/js/src/jit/VMFunctions.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry' declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/SharedIC-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:28, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:11, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/TypedObject.h:11, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.h:19, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:20, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/SIMD.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MIR.h:18, from src/third_party/mozjs-45/extract/js/src/jit/MIR.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/CrossCompartmentWrapper.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:36, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:36, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:36, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpEngine.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpAST.h:42, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpMacroAssembler.h:34, from src/third_party/mozjs-45/extract/js/src/irregexp/RegExpInterpreter.cpp:34, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp g++ -o build/opt/third_party/mozjs-45/extract/js/src/jsutil.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsutil.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/extract/js/src/vm/Initialization.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/x64/Bailouts-x64.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*, size_t) [with T = js::TemporaryTypeSet; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.cpp:1112:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:46:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::TemporaryTypeSet'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:655:7: note: 'class js::TemporaryTypeSet' declared here class TemporaryTypeSet : public TypeSet ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.h:13, from src/third_party/mozjs-45/extract/js/src/vm/StringBuffer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::TempAllocPolicy>::MapHashPolicy; AllocPolicy = js::TempAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSObject*; Value = unsigned int; HashPolicy = js::MovableCellHasher; AllocPolicy = js::TempAllocPolicy]' src/third_party/mozjs-45/include/js/GCHashTable.h:133:36: required from 'void js::MutableGCHashMapOperations::clear() [with Outer = JS::Rooted > >; Args = {JSObject*, unsigned int, js::MovableCellHasher, js::TempAllocPolicy, js::DefaultMapGCPolicy}]' src/third_party/mozjs-45/extract/js/src/vm/StructuredClone.cpp:1403:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::TempAllocPolicy>::MapHashPolicy, js::TempAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:29, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/Ion.h:12, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.h:11, from src/third_party/mozjs-45/extract/js/src/vm/Initialization.cpp:17: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:49: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.cpp:37, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:38: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here struct Pod { ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/include/js/Proxy.h:12, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.h:10, from src/third_party/mozjs-45/extract/js/src/proxy/ScriptedIndirectProxyHandler.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodCopy(T*, const T*, size_t) [with T = js::HeapSlot; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.cpp:806:92: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:110:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(aDst, aSrc, aNElem * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ObjectGroup]': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:34:17: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::ObjectGroup' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:78:7: note: 'class js::ObjectGroup' declared here class ObjectGroup : public gc::TenuredCell ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::ObjectGroupCompartment]': src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1608:17: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::ObjectGroupCompartment'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:537:7: note: 'class js::ObjectGroupCompartment' declared here class ObjectGroupCompartment ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::ObjectGroupCompartment::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::ObjectGroupCompartment::AllocationSiteKey; Value = js::ReadBarriered; HashPolicy = js::ObjectGroupCompartment::AllocationSiteKey; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1701:36: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::AllocationSiteKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::ObjectGroupCompartment::ArrayObjectKey, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::ObjectGroupCompartment::ArrayObjectKey; Value = js::ReadBarriered; HashPolicy = js::ObjectGroupCompartment::ArrayObjectKey; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1703:33: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::ArrayObjectKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable >, js::HashMap, js::ObjectGroupCompartment::ArrayObjectKey, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::ObjectGroupCompartment::PlainObjectKey; Value = js::ObjectGroupCompartment::PlainObjectEntry; HashPolicy = js::ObjectGroupCompartment::PlainObjectKey; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1711:33: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ObjectGroupCompartment::NewEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::ObjectGroupCompartment::NewEntry; HashPolicy = js::ObjectGroupCompartment::NewEntry; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.cpp:1714:32: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsiter.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/Interpreter.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:15, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:15, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:15, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/extract/mfbt/Compression.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/mfbt/Compression.cpp In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:15, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.h:10, from src/third_party/mozjs-45/extract/js/src/jit/SharedIC.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/jit/Disassembler.h:10, from src/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.cpp:7: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp g++ -o build/opt/third_party/mozjs-45/extract/js/src/builtin/RegExp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/BaselineIC.cpp:39, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:52, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:49: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:29: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here struct Pod { ^~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:12, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrame.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/BaselineFrameInfo.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:14, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSScript]': src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2726:25: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class JSScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/extract/js/src/jsscript.h:933:7: note: 'class JSScript' declared here class JSScript : public js::gc::TenuredCell ^~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsscript.h:17, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:10, from src/third_party/mozjs-45/extract/js/src/jsscript.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::SharedScriptData* const; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::SharedScriptData*; HashPolicy = js::ScriptBytecodeHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsscript.cpp:2584:17: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::WatchKey; Value = js::Watchpoint; HashPolicy = js::WatchKeyHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jswatchpoint.cpp:113:15: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::RelocatablePtr >; HashPolicy = js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::RelocatablePtr; Value = js::RelocatablePtr; HashPolicy = js::MovableCellHasher >; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsweakmap.cpp:199:15: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::RelocatablePtr >, js::HashMap, js::RelocatablePtr, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::RelocatablePtr > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsexn.h:15, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = long unsigned int; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = long unsigned int; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/BytecodeEmitter.h:266:45: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:47: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.cpp:213, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here struct TenureCountCache ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NativeIterator]': src/third_party/mozjs-45/extract/js/src/jsiter.cpp:624:15: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct js::NativeIterator' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jsiter.h:31:8: note: 'struct js::NativeIterator' declared here struct NativeIterator ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JS::Value*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsgc.cpp:1406:25: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::EvalCacheEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::EvalCacheEntry; HashPolicy = js::EvalCacheHashPolicy; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsgc.cpp:3791:25: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = JS::Zone* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = JS::Zone*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jsgc.cpp:4678:38: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:35, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsexn.h:14, from src/third_party/mozjs-45/extract/js/src/jsexn.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:44, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:18: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:18: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:18: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:18: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.cpp:7: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:14, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:44, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:44, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject-inl.h:19, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:44, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/WeakMapPtr.h:10, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jsweakmap.h:13, from src/third_party/mozjs-45/extract/js/src/vm/WeakMapPtr.cpp:9, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:38, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h: In instantiation of 'static void js::UnsharedOps::memmove(SharedMem, SharedMem, size_t) [with T = js::uint8_clamped; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:362:25: required from 'static bool js::ElementSpecific::setFromOverlappingTypedArray(JSContext*, JS::Handle, JS::Handle, uint32_t) [with SpecificArray = {anonymous}::TypedArrayObjectTemplate; Ops = js::UnsharedOps; typename SpecificArray::SomeTypedArray = js::TypedArrayObject; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:208:52: required from 'static bool js::ElementSpecific::setFromAnyTypedArray(JSContext*, JS::Handle, JS::HandleObject, uint32_t) [with SpecificArray = {anonymous}::TypedArrayObjectTemplate; Ops = js::UnsharedOps; typename SpecificArray::SomeTypedArray = js::TypedArrayObject; JS::HandleObject = JS::Handle; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:813:94: required from 'static bool js::TypedArrayMethods::setFromAnyTypedArray(JSContext*, JS::Handle, JS::HandleObject, uint32_t) [with SomeTypedArray = js::TypedArrayObject; JS::HandleObject = JS::Handle; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:735:38: required from 'static bool js::TypedArrayMethods::set(JSContext*, const JS::CallArgs&) [with SomeTypedArray = js::TypedArrayObject]' src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:841:70: required from here src/third_party/mozjs-45/extract/js/src/vm/TypedArrayCommon.h:174:18: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct js::uint8_clamped' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memmove(dest.unwrapUnshared(), src.unwrapUnshared(), size); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/TypedArrayObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/ArrayBufferObject.h:414:8: note: 'struct js::uint8_clamped' declared here struct uint8_clamped { ^~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:90, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:22, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:88, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:88, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:88, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsalloc.h:18, from src/third_party/mozjs-45/extract/js/src/jsapi.h:24, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/js/Utility.h: In instantiation of 'void js_delete_poison(const T*) [with T = JSContext]': src/third_party/mozjs-45/extract/js/src/jscntxt.cpp:184:24: required from here src/third_party/mozjs-45/include/js/Utility.h:365:15: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct JSContext' with no trivial copy-assignment [-Wclass-memaccess] memset(const_cast(p), 0x3B, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:25, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/extract/js/src/jscntxt.h:294:8: note: 'struct JSContext' declared here struct JSContext : public js::ExclusiveContext, ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsapi.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ReadBarriered; HashPolicy = js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::ReadBarriered; HashPolicy = js::StackBaseShape; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:877:26: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashSet, js::StackBaseShape, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::InitialShapeEntry; HashPolicy = js::HashSet::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::InitialShapeEntry; HashPolicy = js::InitialShapeEntry; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/jscompartment.cpp:879:29: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:13, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:20, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:47: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:20, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here struct TenureCountCache ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:27, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:27, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:27, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:10, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:64, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:20: src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp: In function 'bool js::atomics_futexWait(JSContext*, unsigned int, JS::Value*)': src/third_party/mozjs-45/extract/js/src/builtin/AtomicsObject.cpp:780:24: warning: unnecessary parentheses in declaration of 'addr' [-Wparentheses] SharedMem(addr) = view->viewDataShared().cast() + offset; ^ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/builtin/RegExp.h:10, from src/third_party/mozjs-45/extract/js/src/jscompartment.h:15, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:13, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:49: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/asmjs/WasmStubs.cpp:24, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:11: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here struct Pod { ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/x64/MacroAssembler-x64.h:10, from src/third_party/mozjs-45/extract/js/src/jit/MacroAssembler.h:18, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/jit/IonTypes.h:12, from src/third_party/mozjs-45/extract/js/src/asmjs/Wasm.h:25, from src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSFrameIterator.h:24, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.h:22, from src/third_party/mozjs-45/extract/js/src/asmjs/WasmIonCompile.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp g++ -o build/opt/third_party/mozjs-45/extract/js/src/perf/pm_stub.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/perf/pm_stub.cpp g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/BooleanObject-inl.h:12, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:45, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/extract/js/src/jsarray.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsarray.cpp In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:43, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:43, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:43, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::AsmJSModule::StaticLinkData::Pod]': src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:681:49: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::AsmJSModule::StaticLinkData::Pod'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Stack.cpp:14, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:29: src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSModule.h:683:16: note: 'struct js::AsmJSModule::StaticLinkData::Pod' declared here struct Pod { ^~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:43, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.h:10, from src/third_party/mozjs-45/extract/js/src/vm/SelfHosting.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ArrayObject.h:10, from src/third_party/mozjs-45/extract/js/src/jsarray.h:15, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:23, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:32, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsgc.h:24, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:18, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/gc/Zone.h:14, from src/third_party/mozjs-45/extract/js/src/builtin/ModuleObject.h:13, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:18, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:47: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:19, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here struct TenureCountCache ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:30, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:30, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:30, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodCopy(T*, const T*, size_t) [with T = js::HeapSlot; size_t = long unsigned int]': src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:2241:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:110:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(aDst, aSrc, aNElem * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Tracer.h:12, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Marking.h:14, from src/third_party/mozjs-45/extract/js/src/gc/Marking.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = void* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = void*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/Nursery.cpp:642:20: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::gc::Cell* const; HashPolicy = js::HashSet, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::gc::Cell*; HashPolicy = js::PointerHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/gc/Nursery.cpp:683:25: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/Interpreter-inl.h:20, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:46, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:23, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:23, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:23, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:16, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jsweakcache.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitCompartment.h:13, from src/third_party/mozjs-45/extract/js/src/jit/IonCaches.h:19, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/CodeGenerator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.cpp:11: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = const js::ReadBarriered; HashPolicy = js::HashSet, js::SavedFrame::HashPolicy, js::SystemAllocPolicy>::SetOps; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:424:57: required from 'void js::HashSet::clear() [with T = js::ReadBarriered; HashPolicy = js::SavedFrame::HashPolicy; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.cpp:1071:18: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashSet, js::SavedFrame::HashPolicy, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashSet, js::SavedFrame::HashPolicy, js::SystemAllocPolicy>::SetOps, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry >; HashPolicy = js::HashMap, js::MissingScopeKey, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::MissingScopeKey; Value = js::ReadBarriered; HashPolicy = js::MissingScopeKey; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2693:37: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable >, js::HashMap, js::MissingScopeKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable >, js::HashMap, js::MissingScopeKey, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry > >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry, js::LiveScopeVal>; HashPolicy = js::HashMap, js::LiveScopeVal, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy; AllocPolicy = js::RuntimeAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = js::ReadBarriered; Value = js::LiveScopeVal; HashPolicy = js::MovableCellHasher >; AllocPolicy = js::RuntimeAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/ScopeObject.cpp:2694:34: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::LiveScopeVal>, js::HashMap, js::LiveScopeVal, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::LiveScopeVal> >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::LiveScopeVal>, js::HashMap, js::LiveScopeVal, js::MovableCellHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry, js::LiveScopeVal> >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:23, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/RegExpObject.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject-inl.h:16, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:41: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:19: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:19: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject-inl.h:14, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:41: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject-inl.h:14, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:41: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BaselineJIT.h:16, from src/third_party/mozjs-45/extract/js/src/jsscriptinlines.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ArgumentsObject-inl.h:14, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:41: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsarray.h:12, from src/third_party/mozjs-45/extract/js/src/jsarray.cpp:7: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Ion.cpp:50, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:29: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:20, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:20, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/TraceableVector.h:12, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:13, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:20, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:20, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/CompileInfo.h:12, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:20, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::jit::JitAllocPolicy>::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::jit::JitAllocPolicy>::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = unsigned int; Value = BoundsCheckInfo; HashPolicy = js::DefaultHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/IonAnalysis.cpp:3066:22: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/jit/MIRGenerator.h:17, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.h:10, from src/third_party/mozjs-45/extract/js/src/jit/EffectiveAddressAnalysis.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/extract/js/src/jsmath.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/jsmath.cpp g++ -o build/opt/third_party/mozjs-45/extract/js/src/frontend/Parser.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp In file included from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp: In member function 'bool js::jit::BacktrackingAllocator::init()': src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:383:60: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::jit::VirtualRegister' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&vregs[0], 0, sizeof(VirtualRegister) * numVregs); ^ In file included from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:451:7: note: 'class js::jit::VirtualRegister' declared here class VirtualRegister ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Stack-inl.h:23, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.cpp:20, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:11: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/jsfun.h:15, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:15, from src/third_party/mozjs-45/extract/js/src/ds/SplayTree.h:10, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/BitSet.h:12, from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:10, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:13, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry >; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable::Entry = js::detail::HashTableEntry >; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = js::HashMapEntry; HashPolicy = js::HashMap::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:79:77: required from 'bool js::HashMap::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/jit/LIR.h:1696:38: required from here src/third_party/mozjs-45/extract/js/src/jit/JitAllocPolicy.h:92:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry >' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:10, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/jsfun.h:14, from src/third_party/mozjs-45/extract/js/src/jit/JitFrameIterator.h:10, from src/third_party/mozjs-45/extract/js/src/jit/Bailouts.h:12, from src/third_party/mozjs-45/extract/js/src/jit/LIR.h:15, from src/third_party/mozjs-45/extract/js/src/jit/RegisterAllocator.h:13, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.h:14, from src/third_party/mozjs-45/extract/js/src/jit/BacktrackingAllocator.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry >' declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:39: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:29: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:30: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:39: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:39: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/include/js/RootingAPI.h:17, from src/third_party/mozjs-45/include/js/CallArgs.h:38, from src/third_party/mozjs-45/include/js/CallNonGenericMethod.h:12, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:15, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:39: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/jsmath.h:14, from src/third_party/mozjs-45/extract/js/src/jsmath.cpp:11: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/extract/js/src/jsmath.cpp: In function 'uint64_t js::GenerateRandomSeed()': src/third_party/mozjs-45/extract/js/src/jsmath.cpp:762:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] read(fd, static_cast(&seed), sizeof(seed)); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -fPIE -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/mozjs-45/extract/js/src -Isrc/third_party/mozjs-45/extract/js/src -Ibuild/opt/third_party/mozjs-45/extract/mfbt -Isrc/third_party/mozjs-45/extract/mfbt -Ibuild/opt/third_party/mozjs-45/extract/intl/icu/source/common -Isrc/third_party/mozjs-45/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-45/include -Isrc/third_party/mozjs-45/include -Ibuild/opt/third_party/mozjs-45/mongo_sources -Isrc/third_party/mozjs-45/mongo_sources -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/build -Isrc/third_party/mozjs-45/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-45/platform/x86_64/linux/include -Isrc/third_party/mozjs-45/platform/x86_64/linux/include src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/ScopeObject-inl.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:43: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/FullParseHandler.h:13, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/optrack/optrack.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/optrack/optrack.c In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:16, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/vm/String.h:18, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h: In instantiation of 'T* js::LifoAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry; js::Fallibility fb = (js::Fallibility)0; size_t = long unsigned int]': src/third_party/mozjs-45/include/js/HashTable.h:1144:63: required from 'static js::detail::HashTable::Entry* js::detail::HashTable::createTable(AllocPolicy&, uint32_t, js::detail::HashTable::FailureBehavior) [with T = JSAtom* const; HashPolicy = js::HashSet, js::LifoAllocPolicy<(js::Fallibility)0> >::SetOps; AllocPolicy = js::LifoAllocPolicy<(js::Fallibility)0>; js::detail::HashTable::Entry = js::detail::HashTableEntry; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:1212:28: required from 'bool js::detail::HashTable::init(uint32_t) [with T = JSAtom* const; HashPolicy = js::HashSet, js::LifoAllocPolicy<(js::Fallibility)0> >::SetOps; AllocPolicy = js::LifoAllocPolicy<(js::Fallibility)0>; uint32_t = unsigned int]' src/third_party/mozjs-45/include/js/HashTable.h:331:77: required from 'bool js::HashSet::init(uint32_t) [with T = JSAtom*; HashPolicy = js::DefaultHasher; AllocPolicy = js::LifoAllocPolicy<(js::Fallibility)0>; uint32_t = unsigned int]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:2354:60: required from here src/third_party/mozjs-45/extract/js/src/ds/LifoAlloc.h:559:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry' with no trivial copy-assignment [-Wclass-memaccess] memset(p, 0, numElems * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/NamespaceImports.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/BytecodeCompiler.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/Parser-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:20: src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'class js::detail::HashTableEntry' declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionList; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionList; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/ParseMaps.h:457:28: required from 'bool js::frontend::AtomDecls::addUnique(JSAtom*, js::frontend::AtomDecls::DefinitionNode) [with ParseHandler = js::frontend::FullParseHandler; js::frontend::AtomDecls::DefinitionNode = js::frontend::Definition*]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:283:39: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSAtom*; Value = js::frontend::DefinitionSingle; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:63:13: required from 'bool js::InlineMap::switchToMap() [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:84:14: required from 'bool js::InlineMap::switchAndAdd(const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/ds/InlineMap.h:265:24: required from 'bool js::InlineMap::add(js::InlineMap::AddPtr&, const K&, const V&) [with K = JSAtom*; V = js::frontend::DefinitionSingle; long unsigned int InlineElems = 24]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:1727:9: required from 'typename ParseHandler::DefinitionNode js::frontend::Parser::getOrCreateLexicalDependency(js::frontend::ParseContext*, JSAtom*) [with ParseHandler = js::frontend::FullParseHandler; typename ParseHandler::DefinitionNode = js::frontend::Definition*]' src/third_party/mozjs-45/extract/js/src/frontend/Parser.cpp:1847:70: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/record_access_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_access_tracker.cpp In file included from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ g++ -o build/opt/mongo/db/auth/authz_manager_external_state_d.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_manager_external_state_d.cpp In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::copyDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1040:71: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::initDenseElements(uint32_t, const JS::Value*, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1048:67: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&elements_[dstStart], src, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElements(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1082:89: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(HeapSlot)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h: In member function 'void js::NativeObject::moveDenseElementsNoPreBarrier(uint32_t, uint32_t, uint32_t)': src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:1094:82: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class js::HeapSlot'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(elements_ + dstStart, elements_ + srcStart, count * sizeof(Value)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsobj.h:21, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/ObjectGroup.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:31, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/String.h:16, from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/vm/SavedStacks.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:13, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/jscompartmentinlines.h:14, from src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:29, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:15, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jspubtd.h:16, from src/third_party/mozjs-45/extract/js/src/jsapi.h:25, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:47: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/HelperThreads.cpp:16, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:38: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here struct TenureCountCache ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsapi.h:29, from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:15, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.h:12, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject-inl.h:10, from src/third_party/mozjs-45/extract/js/src/vm/ErrorObject.cpp:8, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/storage/mmap_v1/librecord_access_tracker.a build/opt/mongo/db/storage/mmap_v1/record_access_tracker.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/librecord_access_tracker.a g++ -o build/opt/mongo/db/auth/authz_session_external_state_d.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_session_external_state_d.cpp In file included from src/third_party/mozjs-45/extract/js/src/gc/Allocator.cpp:18, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:20: src/third_party/mozjs-45/extract/js/src/jsobjinlines.h: In static member function 'static JSObject* JSObject::create(js::ExclusiveContext*, js::gc::AllocKind, js::gc::InitialHeap, js::HandleShape, js::HandleObjectGroup)': src/third_party/mozjs-45/extract/js/src/jsobjinlines.h:355:86: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::HeapSlot'; use assignment instead [-Wclass-memaccess] memset(obj->as().fixedSlots(), 0, size - sizeof(js::NativeObject)); ^ In file included from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:650:7: note: 'class js::HeapSlot' declared here class HeapSlot : public WriteBarrieredBase ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::TabSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:40:39: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::TabSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:31:8: note: 'struct JS::TabSizes' declared here struct TabSizes ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JS::ServoSizes]': src/third_party/mozjs-45/include/js/MemoryMetrics.h:71:41: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JS::ServoSizes'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.h:18, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:13, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/js/MemoryMetrics.h:59:8: note: 'struct JS::ServoSizes' declared here struct ServoSizes ^~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSSubString]': src/third_party/mozjs-45/extract/js/src/jsstr.h:73:42: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct JSSubString'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingTypes.h:11, from src/third_party/mozjs-45/extract/js/src/vm/TraceLoggingGraph.h:15, from src/third_party/mozjs-45/extract/js/src/vm/TraceLogging.h:19, from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:22, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/jsstr.h:68:8: note: 'struct JSSubString' declared here struct JSSubString { ^~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::PreliminaryObjectArray]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:808:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::PreliminaryObjectArray'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:796:7: note: 'class js::PreliminaryObjectArray' declared here class PreliminaryObjectArray ^~~~~~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::TypeNewScript]': src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:939:44: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::TypeNewScript' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:23, from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/TypeInference.h:886:7: note: 'class js::TypeNewScript' declared here class TypeNewScript ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::IonScriptCounts]': src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:699:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::IonScriptCounts'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsscript.h:24, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/IonCode.h:686:8: note: 'struct js::jit::IonScriptCounts' declared here struct IonScriptCounts ^~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::StaticStrings]': src/third_party/mozjs-45/extract/js/src/vm/String.h:1092:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::StaticStrings'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/vm/Shape.h:32, from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/String.h:1074:7: note: 'class js::StaticStrings' declared here class StaticStrings ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::BaseShape]': src/third_party/mozjs-45/extract/js/src/vm/Shape.h:392:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::BaseShape' with no trivial copy-assignment [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsobj.h:27, from src/third_party/mozjs-45/extract/js/src/vm/NativeObject.h:16, from src/third_party/mozjs-45/extract/js/src/jsscript.h:26, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:24, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Shape.h:323:7: note: 'class js::BaseShape' declared here class BaseShape : public gc::TenuredCell ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::NewObjectCache]': src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:293:45: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::NewObjectCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:244:7: note: 'class js::NewObjectCache' declared here class NewObjectCache ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::Address]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:290:38: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::Address'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:282:8: note: 'struct js::jit::Address' declared here struct Address ^~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::BaseIndex]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:306:40: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::jit::BaseIndex'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:295:8: note: 'struct js::jit::BaseIndex' declared here struct BaseIndex ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::jit::CodeOffsetJump]': src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:513:30: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class js::jit::CodeOffsetJump'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jit/Safepoints.h:12, from src/third_party/mozjs-45/extract/js/src/jit/JitFrames.h:16, from src/third_party/mozjs-45/extract/js/src/jscntxtinlines.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/jit/shared/Assembler-shared.h:491:7: note: 'class js::jit::CodeOffsetJump' declared here class CodeOffsetJump ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = JSErrorReport]': src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.cpp:602:20: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JSErrorReport'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/jsfriendapi.h:15, from src/third_party/mozjs-45/extract/js/src/gc/Heap.h:20, from src/third_party/mozjs-45/extract/js/src/gc/Barrier.h:12, from src/third_party/mozjs-45/extract/js/src/jsatom.h:14, from src/third_party/mozjs-45/extract/js/src/vm/Runtime.h:22, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:17, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/extract/js/src/jsapi.h:4761:7: note: 'class JSErrorReport' declared here class JSErrorReport ^~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:16, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/mozilla/PodOperations.h: In instantiation of 'void mozilla::PodZero(T*) [with T = js::gc::TenureCountCache]': src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:211:47: required from here src/third_party/mozjs-45/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct js::gc::TenureCountCache'; use assignment or value-initialization instead [-Wclass-memaccess] memset(aT, 0, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/js/src/gc/Allocator.cpp:11, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:20: src/third_party/mozjs-45/extract/js/src/gc/GCInternals.h:207:8: note: 'struct js::gc::TenureCountCache' declared here struct TenureCountCache ^~~~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/include/js/TracingAPI.h:12, from src/third_party/mozjs-45/include/js/TraceableVector.h:13, from src/third_party/mozjs-45/extract/js/src/jscntxt.h:14, from src/third_party/mozjs-45/extract/js/src/frontend/TokenStream.h:23, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.h:12, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode-inl.h:10, from src/third_party/mozjs-45/extract/js/src/frontend/ParseNode.cpp:7, from src/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.cpp:2: src/third_party/mozjs-45/include/js/HashTable.h: In instantiation of 'void js::detail::HashTable::clear() [with T = js::HashMapEntry; HashPolicy = js::HashMap, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy]': src/third_party/mozjs-45/include/js/HashTable.h:186:57: required from 'void js::HashMap::clear() [with Key = JSScript*; Value = const char*; HashPolicy = js::DefaultHasher; AllocPolicy = js::SystemAllocPolicy]' src/third_party/mozjs-45/extract/js/src/vm/SPSProfiler.h:256:19: required from here src/third_party/mozjs-45/include/js/HashTable.h:1550:19: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} with no trivial copy-assignment [-Wclass-memaccess] memset(table, 0, sizeof(*table) * capacity()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/third_party/mozjs-45/include/js/HashTable.h:722:7: note: 'js::detail::HashTable, js::HashMap, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry >'} declared here class HashTableEntry ^~~~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/auth/authz_manager_external_state_d.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/auth/authz_manager_external_state_d.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/set_feature_compatibility_version_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/set_feature_compatibility_version_command.cpp g++ -o build/opt/mongo/db/s/move_timing_helper.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/move_timing_helper.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/set_feature_compatibility_version_command.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/set_feature_compatibility_version_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/os_common/os_fstream.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fstream.c 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/curop.h:37, from src/mongo/db/s/move_timing_helper.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/s/move_timing_helper.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/explain_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/explain_cmd.cpp ar rcsTD build/opt/mongo/db/stats/libtimer_stats.a build/opt/mongo/db/stats/timer_stats.o Skipping ranlib for thin archive build/opt/mongo/db/stats/libtimer_stats.a g++ -o build/opt/mongo/db/repl/replication_recovery.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_recovery.cpp g++ -o build/opt/mongo/db/session_txn_record_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/session_txn_record_gen.cpp 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/command_can_run_here.h:35, from src/mongo/db/commands/explain_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/command_can_run_here.h:35, from src/mongo/db/commands/explain_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/repl/replication_recovery.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/auth/libauthmongod.a build/opt/mongo/db/auth/authz_manager_external_state_d.o build/opt/mongo/db/auth/authz_session_external_state_d.o 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthmongod.a 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/repl/replication_recovery.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/db/session_txn_record_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/session_txn_record_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/catalog/database_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/database_impl.cpp g++ -o build/opt/mongo/db/index/btree_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/btree_access_method.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/database_impl.h:33, from src/mongo/db/catalog/database_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/database_impl.h:33, from src/mongo/db/catalog/database_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/paths.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/paths.cpp ar rcsTD build/opt/third_party/mozjs-45/libmozjs.a build/opt/third_party/mozjs-45/extract/js/src/builtin/RegExp.o build/opt/third_party/mozjs-45/extract/js/src/frontend/Parser.o build/opt/third_party/mozjs-45/extract/js/src/jsarray.o build/opt/third_party/mozjs-45/extract/js/src/jsatom.o build/opt/third_party/mozjs-45/extract/js/src/jsmath.o build/opt/third_party/mozjs-45/extract/js/src/jsutil.o build/opt/third_party/mozjs-45/extract/js/src/gc/StoreBuffer.o build/opt/third_party/mozjs-45/extract/js/src/mfbt/Unified_cpp_mfbt0.o build/opt/third_party/mozjs-45/extract/js/src/perf/pm_stub.o build/opt/third_party/mozjs-45/extract/js/src/vm/Initialization.o build/opt/third_party/mozjs-45/extract/mfbt/Compression.o build/opt/third_party/mozjs-45/extract/js/src/jit/x86-shared/Disassembler-x86-shared.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src0.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src1.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src10.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src11.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src12.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src13.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src14.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src15.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src16.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src17.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src18.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src19.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src2.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src20.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src21.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src22.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src23.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src24.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src25.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src26.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src27.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src28.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src29.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src3.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src30.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src31.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src32.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src33.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src34.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src35.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src36.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src4.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src5.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src6.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src7.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src8.o build/opt/third_party/mozjs-45/platform/x86_64/linux/build/Unified_cpp_js_src9.o Skipping ranlib for thin archive build/opt/third_party/mozjs-45/libmozjs.a g++ -o build/opt/mongo/db/commands/killcursors_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/killcursors_cmd.cpp g++ -o build/opt/mongo/db/storage/storage_engine_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_engine_metadata.cpp g++ -o build/opt/mongo/db/storage/storage_engine_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_engine_init.cpp gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_reconfig.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_reconfig.c g++ -o build/opt/mongo/db/s/split_vector.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/split_vector.cpp g++ -o build/opt/mongo/db/repl/repl_set_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_commands.cpp g++ -o build/opt/mongo/db/repl/repl_set_request_votes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_request_votes.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/killcursors_cmd.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/killcursors_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/split_vector.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/split_vector.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_request_votes.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_request_votes.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/curop_metrics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/curop_metrics.cpp 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_commands.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_commands.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libstorage_engine_common.a build/opt/mongo/db/storage/storage_engine_init.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_engine_common.a g++ -o build/opt/mongo/db/repl/oplog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog.cpp gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_log.c 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/curop.h:37, from src/mongo/db/curop_metrics.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/curop_metrics.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/working_set_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/working_set_common.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/working_set_common.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/working_set_common.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/oplog.cpp:50: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/exec/stagedebug_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/stagedebug_cmd.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/oplog.cpp:50: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/periodic_runner_job_abort_expired_transactions.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/exec/stagedebug_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/exec/stagedebug_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/collection_cloner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/collection_cloner.cpp gcc -o build/opt/third_party/wiredtiger/src/config/config_upgrade.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_upgrade.c 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/periodic_runner_job_abort_expired_transactions.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ /usr/bin/python buildscripts/idl/idlc.py --include src --base_dir build/opt --target_arch x86_64 --header build/opt/mongo/db/free_mon/free_mon_commands_gen.h --output build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp src/mongo/db/free_mon/free_mon_commands.idl g++ -o build/opt/mongo/db/commands/shutdown_d.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/shutdown_d.cpp g++ -o build/opt/mongo/db/free_mon/free_mon_commands_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/collection_cloner.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/collection_cloner.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/shutdown.h:35, from src/mongo/db/commands/shutdown_d.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/shutdown.h:35, from src/mongo/db/commands/shutdown_d.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/free_mon/free_mon_commands_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config/configsvr_commit_chunk_migration_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_commit_chunk_migration_command.cpp ar rcsTD build/opt/mongo/db/repl/librepl_set_commands.a build/opt/mongo/db/repl/repl_set_commands.o build/opt/mongo/db/repl/repl_set_request_votes.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librepl_set_commands.a g++ -o build/opt/mongo/db/commands/copydb.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/copydb.cpp g++ -o build/opt/mongo/db/commands/parallel_collection_scan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/parallel_collection_scan.cpp 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/s/config/configsvr_commit_chunk_migration_command.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_commit_chunk_migration_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/copydb.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/copydb.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/parallel_collection_scan.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/parallel_collection_scan.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/oplog_applier.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_applier.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/oplog_applier.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/oplog_applier.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/exec/libstagedebug_cmd.a build/opt/mongo/db/exec/stagedebug_cmd.o Skipping ranlib for thin archive build/opt/mongo/db/exec/libstagedebug_cmd.a gcc -o build/opt/third_party/wiredtiger/src/block/block_vrfy.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_vrfy.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_page.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_page.c gcc -o build/opt/third_party/wiredtiger/src/cache/cache_las.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cache/cache_las.c g++ -o build/opt/mongo/db/commands/fsync_locked.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/fsync_locked.cpp ar rcsTD build/opt/mongo/db/commands/libfsync_locked.a build/opt/mongo/db/commands/fsync_locked.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libfsync_locked.a gcc -o build/opt/third_party/wiredtiger/src/support/err.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/err.c g++ -o build/opt/mongo/db/instance.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/instance.cpp ar rcsTD build/opt/mongo/db/libserveronly.a build/opt/mongo/db/instance.o Skipping ranlib for thin archive build/opt/mongo/db/libserveronly.a g++ -o build/opt/mongo/db/repl/scatter_gather_algorithm.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/scatter_gather_algorithm.cpp g++ -o build/opt/mongo/db/repl/apply_ops_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/repl/apply_ops_gen.cpp g++ -o build/opt/mongo/db/initialize_snmp.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/initialize_snmp.cpp gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_yield.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_yield.c gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_merge.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_merge.c g++ -o build/opt/mongo/db/service_entry_point_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/service_entry_point_mongod.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/btree/btree_interface.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/btree/btree_interface.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/touch_pages.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/touch_pages.cpp g++ -o build/opt/mongo/db/repl/repl_set_config_checks.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_config_checks.cpp gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_backup.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_backup.c 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 build/opt/mongo/db/repl/apply_ops_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/repl/apply_ops_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/support/hazard.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hazard.c g++ -o build/opt/mongo/db/free_mon/free_mon_status.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_status.cpp 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/curop.h:37, from src/mongo/db/service_entry_point_mongod.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/service_entry_point_mongod.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_remove_shard_from_zone_command.cpp g++ -o build/opt/mongo/db/repl/oplog_buffer_proxy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_buffer_proxy.cpp g++ -o build/opt/mongo/db/ops/write_ops_retryability.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/write_ops_retryability.cpp ar rcsTD build/opt/mongo/db/repl/liboplog_buffer_proxy.a build/opt/mongo/db/repl/oplog_buffer_proxy.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_buffer_proxy.a g++ -o build/opt/mongo/db/commands/lock_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/lock_info.cpp g++ -o build/opt/mongo/db/index/2d_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/2d_access_method.cpp 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/commands/server_status.h:35, from src/mongo/db/free_mon/free_mon_status.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/free_mon/free_mon_status.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/mmap_v1/libfile_allocator.a build/opt/mongo/db/storage/mmap_v1/file_allocator.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libfile_allocator.a g++ -o build/opt/mongo/db/transaction_history_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/transaction_history_iterator.cpp 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/s/config/configsvr_remove_shard_from_zone_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_remove_shard_from_zone_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/projection_exec.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/projection_exec.cpp 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/commands/lock_info.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/lock_info.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libservice_context_d.a build/opt/mongo/db/service_entry_point_mongod.o Skipping ranlib for thin archive build/opt/mongo/db/libservice_context_d.a g++ -o build/opt/mongo/db/op_observer_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/op_observer_impl.cpp g++ -o build/opt/mongo/db/auth/authz_manager_external_state_local.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/auth/authz_manager_external_state_local.cpp 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/exec/projection_exec.h:35, from src/mongo/db/exec/projection_exec.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/projection_exec.h:35, from src/mongo/db/exec/projection_exec.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/or.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/or.cpp gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_stat.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer_impl.h:33, from src/mongo/db/op_observer_impl.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer_impl.h:33, from src/mongo/db/op_observer_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/s/client/shard_local.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/client/shard_local.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/extent_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/extent_manager.cpp 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/exec/or.h:35, from src/mongo/db/exec/or.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/or.h:35, from src/mongo/db/exec/or.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/extent.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/extent.cpp 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/curop.h:37, from src/mongo/s/client/shard_local.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/s/client/shard_local.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_ds.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_ds.c g++ -o build/opt/mongo/db/repl/rollback_source_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/rollback_source_impl.cpp g++ -o build/opt/mongo/db/ops/insert.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/insert.cpp ar rcsTD build/opt/mongo/db/libinitialize_snmp.a build/opt/mongo/db/initialize_snmp.o Skipping ranlib for thin archive build/opt/mongo/db/libinitialize_snmp.a gcc -o build/opt/third_party/wiredtiger/src/btree/bt_cursor.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_cursor.c ar rcsTD build/opt/mongo/db/storage/mmap_v1/libextent.a build/opt/mongo/db/storage/mmap_v1/extent.o build/opt/mongo/db/storage/mmap_v1/extent_manager.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libextent.a g++ -o build/opt/mongo/db/s/config/configsvr_add_shard_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_add_shard_command.cpp g++ -o build/opt/mongo/db/commands/mr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/mr.cpp ar rcsTD build/opt/mongo/db/commands/libmongod_fcv.a build/opt/mongo/db/commands/feature_compatibility_version.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libmongod_fcv.a g++ -o build/opt/mongo/db/s/balancer/type_migration.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/type_migration.cpp g++ -o build/opt/mongo/db/exec/count.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/count.cpp g++ -o build/opt/mongo/db/server_transactions_metrics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/server_transactions_metrics.cpp ar rcsTD build/opt/mongo/db/repl/librollback_source_impl.a build/opt/mongo/db/repl/rollback_source_impl.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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/count.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_source_impl.a 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/count.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/ensure_sorted.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/ensure_sorted.cpp ar rcsTD build/opt/mongo/s/client/libshard_local.a build/opt/mongo/s/client/shard_local.o Skipping ranlib for thin archive build/opt/mongo/s/client/libshard_local.a 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/s/config/configsvr_add_shard_command.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/system_index.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/system_index.cpp 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/s/config/configsvr_add_shard_command.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/commands/mr.h:39, from src/mongo/db/commands/mr.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/commands/mr.h:39, from src/mongo/db/commands/mr.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/db/server_transactions_metrics.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/server_transactions_metrics.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/migration_destination_manager_legacy_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_destination_manager_legacy_commands.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/system_index.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/system_index.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.cpp g++ -o build/opt/mongo/db/s/flush_database_cache_updates_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/flush_database_cache_updates_command.cpp 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/s/migration_destination_manager_legacy_commands.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/migration_destination_manager_legacy_commands.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/schema/schema_open.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_open.c gcc -o build/opt/third_party/wiredtiger/src/block/block_session.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_session.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/flush_database_cache_updates_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/storage/kv/kv_prefix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/kv/kv_prefix.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/flush_database_cache_updates_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/sync_source_resolver.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/sync_source_resolver.cpp ar rcsTD build/opt/mongo/client/libconnection_pool.a build/opt/mongo/client/connection_pool.o Skipping ranlib for thin archive build/opt/mongo/client/libconnection_pool.a g++ -o build/opt/mongo/db/s/balancer/cluster_statistics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/cluster_statistics.cpp gcc -o build/opt/third_party/wiredtiger/src/block/block_map.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_map.c gcc -o build/opt/third_party/wiredtiger/src/schema/schema_alter.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_alter.c gcc -o build/opt/third_party/wiredtiger/src/block/block_ext.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_ext.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_strtouq.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_strtouq.c 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/sync_source_resolver.h:37, from src/mongo/db/repl/sync_source_resolver.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/sync_source_resolver.h:37, from src/mongo/db/repl/sync_source_resolver.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/conn/api_strerror.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/api_strerror.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_fs.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_fs.c gcc -o build/opt/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_rollback_to_stable.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_open.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_open.c gcc -o build/opt/third_party/wiredtiger/src/btree/col_modify.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/col_modify.c g++ -o build/opt/mongo/db/s/sharding_initialization_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_initialization_mongod.cpp g++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp g++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_zone_operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/sharding_catalog_manager_zone_operations.cpp g++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_collection_operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp g++ -o build/opt/mongo/db/s/config/sharding_catalog_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/sharding_catalog_manager.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/sharding_initialization_mongod.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/sharding_initialization_mongod.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config/initial_split_policy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/initial_split_policy.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/config/sharding_catalog_manager_collection_operations.cpp:48: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/sharding_catalog_manager_collection_operations.cpp:48: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_database_operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp ar rcsTD build/opt/mongo/db/repl/libsync_source_resolver.a build/opt/mongo/db/repl/sync_source_resolver.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libsync_source_resolver.a g++ -o build/opt/mongo/db/s/config/namespace_serializer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/namespace_serializer.cpp g++ -o build/opt/mongo/db/s/config/sharding_catalog_manager_shard_operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp g++ -o build/opt/mongo/db/db.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/db.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/commands/feature_compatibility_version.h:36, from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/commands/feature_compatibility_version.h:36, from src/mongo/db/s/config/sharding_catalog_manager_database_operations.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/copydb_start_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/copydb_start_commands.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:48: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/config/sharding_catalog_manager_shard_operations.cpp:48: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/db.cpp:55: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/db.cpp:55: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/skip.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/skip.cpp g++ -o build/opt/mongo/db/s/config/configsvr_create_database_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_create_database_command.cpp 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/commands/copydb_start_commands.cpp:46: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/copydb_start_commands.cpp:46: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/write_concern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/write_concern.cpp g++ -o build/opt/mongo/db/read_concern.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/read_concern.cpp g++ -o build/opt/mongo/db/catalog/private/record_store_validate_adaptor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/private/record_store_validate_adaptor.cpp 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/s/config/configsvr_create_database_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_create_database_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/read_concern.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/read_concern.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/catalog/private/record_store_validate_adaptor.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/catalog/private/record_store_validate_adaptor.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/chunk_move_write_concern_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/chunk_move_write_concern_options.cpp g++ -o build/opt/mongo/db/mongod_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/mongod_options.cpp g++ -o build/opt/mongo/db/repl/repl_set_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_command.cpp g++ -o build/opt/mongo/db/s/balancer/balancer_policy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/balancer_policy.cpp gcc -o build/opt/third_party/wiredtiger/src/checksum/x86/crc32-x86.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/checksum/x86/crc32-x86.c ar rcsTD build/opt/mongo/db/libsessions_collection_standalone.a build/opt/mongo/db/sessions_collection_standalone.o Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection_standalone.a g++ -o build/opt/mongo/db/s/implicit_create_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/implicit_create_collection.cpp g++ -o build/opt/mongo/db/catalog/drop_indexes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/drop_indexes.cpp 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_command.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/db.h:38, from src/mongo/db/mongod_options.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/implicit_create_collection.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/db.h:38, from src/mongo/db/mongod_options.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/implicit_create_collection.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/s/libsharding_catalog_manager.a build/opt/mongo/db/s/config/initial_split_policy.o build/opt/mongo/db/s/config/namespace_serializer.o build/opt/mongo/db/s/config/sharding_catalog_manager_chunk_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_collection_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_database_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_shard_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager_zone_operations.o build/opt/mongo/db/s/config/sharding_catalog_manager.o Skipping ranlib for thin archive build/opt/mongo/db/s/libsharding_catalog_manager.a g++ -o build/opt/mongo/db/keys_collection_client_direct.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/keys_collection_client_direct.cpp 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/catalog/drop_indexes.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/catalog/drop_indexes.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/block/block_slvg.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_slvg.c g++ -o build/opt/mongo/db/s/config/configsvr_drop_database_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_drop_database_command.cpp ar rcsTD build/opt/mongo/db/librw_concern_d.a build/opt/mongo/db/read_concern.o build/opt/mongo/db/write_concern.o Skipping ranlib for thin archive build/opt/mongo/db/librw_concern_d.a gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_getenv.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_getenv.c gcc -o build/opt/third_party/wiredtiger/src/support/modify.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/modify.c gcc -o build/opt/third_party/wiredtiger/src/config/config_def.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_def.c g++ -o build/opt/mongo/db/storage/bson_collection_catalog_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/bson_collection_catalog_entry.cpp g++ -o build/opt/mongo/db/repl/database_cloner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/database_cloner.cpp ar rcsTD build/opt/mongo/libmongodmain.a build/opt/mongo/db/db.o Skipping ranlib for thin archive build/opt/mongo/libmongodmain.a g++ -o build/opt/mongo/db/exec/index_scan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/index_scan.cpp g++ -o build/opt/mongo/db/free_mon/free_mon_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_commands.cpp 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/s/config/configsvr_drop_database_command.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_drop_database_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/free_mon/free_mon_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_options.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/database_cloner.h:41, from src/mongo/db/repl/database_cloner.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/database_cloner.h:41, from src/mongo/db/repl/database_cloner.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/exec/index_scan.h:37, from src/mongo/db/exec/index_scan.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/index_scan.h:37, from src/mongo/db/exec/index_scan.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config_server_op_observer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config_server_op_observer.cpp 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/free_mon/free_mon_commands.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/free_mon/free_mon_commands.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/s/config_server_op_observer.h:34, from src/mongo/db/s/config_server_op_observer.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/s/config_server_op_observer.h:34, from src/mongo/db/s/config_server_op_observer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libbson_collection_catalog_entry.a build/opt/mongo/db/storage/bson_collection_catalog_entry.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libbson_collection_catalog_entry.a ar rcsTD build/opt/mongo/db/repl/libreplication_recovery.a build/opt/mongo/db/repl/replication_recovery.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplication_recovery.a g++ -o build/opt/mongo/db/storage/storage_file_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_file_util.cpp gcc -o build/opt/third_party/wiredtiger/src/btree/bt_debug.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_debug.c g++ -o build/opt/mongo/db/repl/reporter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/reporter.cpp g++ -o build/opt/mongo/db/exec/limit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/limit.cpp g++ -o build/opt/mongo/db/dbhelpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/dbhelpers.cpp g++ -o build/opt/mongo/db/s/config/configsvr_merge_chunk_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_merge_chunk_command.cpp ar rcsTD build/opt/mongo/db/free_mon/libfree_mon_mongod.a build/opt/mongo/db/free_mon/free_mon_commands.o build/opt/mongo/db/free_mon/free_mon_mongod.o build/opt/mongo/db/free_mon/free_mon_options.o build/opt/mongo/db/free_mon/free_mon_status.o build/opt/mongo/db/free_mon/http_client_curl.o Skipping ranlib for thin archive build/opt/mongo/db/free_mon/libfree_mon_mongod.a gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_worker.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_worker.c gcc -o build/opt/third_party/wiredtiger/src/evict/evict_page.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_page.c g++ -o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/mmap_v1_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_init.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/durop.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/durop.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/data_file_sync.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/data_file_sync.cpp 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/s/config/configsvr_merge_chunk_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_merge_chunk_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/dur_recover.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur_recover.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.h:38, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.cpp:33: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:151:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:160:43: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &e, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: 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] memcpy(this, &rhs, sizeof(*this)); ^ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: 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] memcpy(&rhs, temp, sizeof(*this)); ^ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: 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] memset(this, 0, sizeof(*this)); ^ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/dbhelpers.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/mmap_v1/data_file_sync.h:33, from src/mongo/db/storage/mmap_v1/data_file_sync.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/mmap_v1/data_file_sync.h:33, from src/mongo/db/storage/mmap_v1/data_file_sync.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/aligned_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/aligned_builder.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/mmap_v1_engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/dur_recovery_unit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur_recovery_unit.cpp src/mongo/db/storage/mmap_v1/dur_recover.cpp: In member function 'bool mongo::dur::RecoveryJob::processFileBuffer(mongo::OperationContext*, const void*, unsigned int)': src/mongo/db/storage/mmap_v1/dur_recover.cpp:492:41: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct mongo::dur::JHeader'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(&h, 0, sizeof(h)); ^ In file included from src/mongo/db/storage/mmap_v1/dur_recover.h:40, from src/mongo/db/storage/mmap_v1/dur_recover.cpp:37: src/mongo/db/storage/mmap_v1/dur_journalformat.h:50:8: note: 'struct mongo::dur::JHeader' declared here struct JHeader { ^~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/catalog/hashtab.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/catalog/hashtab.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_details.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp:33: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:151:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:160:43: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &e, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/commit_notifier.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/commit_notifier.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/hashtab.h:36, from src/mongo/db/storage/mmap_v1/catalog/hashtab.cpp:35: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:151:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:160:43: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &e, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/catalog/namespace_details.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/mmap_v1/data_file_sync.h:33, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:46: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/mmap_v1/data_file_sync.h:33, from src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:46: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/dur.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/journal_latency_test_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/journal_latency_test_cmd.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/catalog/index_details.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/catalog/index_details.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/dur_commitjob.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur_commitjob.cpp 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/commands/server_status.h:35, from src/mongo/db/storage/mmap_v1/dur.cpp:85: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/storage/mmap_v1/dur.cpp:85: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/storage/mmap_v1/journal_latency_test_cmd.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/storage/mmap_v1/journal_latency_test_cmd.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ In file included from src/mongo/db/storage/mmap_v1/dur_commitjob.cpp:37: src/mongo/db/storage/mmap_v1/dur_commitjob.h: In instantiation of 'void mongo::dur::Already::clear() [with int Prime = 127]': src/mongo/db/storage/mmap_v1/dur_commitjob.cpp:114:25: required from here src/mongo/db/storage/mmap_v1/dur_commitjob.h:101:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::dur::Already<127>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/mongo/db/storage/mmap_v1/dur_commitjob.h:92:7: note: 'class mongo::dur::Already<127>' declared here class Already { ^~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/repair_database.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/repair_database.cpp In file included from src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp:43: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:151:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:160:43: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &e, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/durable_mapped_file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/durable_mapped_file.cpp In file included from src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp:53: src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::init()': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:151:42: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h: In member function 'void mongo::NamespaceDetails::Extra::copy(mongo::NamespaceDetails*, const mongo::NamespaceDetails::Extra&)': src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:160:43: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::NamespaceDetails::Extra' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &e, sizeof(Extra)); ^ src/mongo/db/storage/mmap_v1/catalog/namespace_details.h:128:11: note: 'class mongo::NamespaceDetails::Extra' declared here class Extra { ^~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/data_file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/data_file.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/repair_database.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/repair_database.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/dur_journal_writer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/dur_journal_writer.cpp ar rcsTD build/opt/mongo/db/storage/devnull/libstorage_devnull.a build/opt/mongo/db/storage/devnull/devnull_init.o Skipping ranlib for thin archive build/opt/mongo/db/storage/devnull/libstorage_devnull.a g++ -o build/opt/mongo/db/matcher/extensions_callback_real.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/extensions_callback_real.cpp g++ -o build/opt/mongo/db/query/stage_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/stage_builder.cpp g++ -o build/opt/mongo/db/s/migration_source_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_source_manager.cpp g++ -o build/opt/mongo/db/repl/data_replicator_external_state_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/data_replicator_external_state_impl.cpp 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_real.h:33, from src/mongo/db/matcher/extensions_callback_real.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/extensions_callback.h:33, from src/mongo/db/matcher/extensions_callback_real.h:33, from src/mongo/db/matcher/extensions_callback_real.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/stage_builder.h:35, from src/mongo/db/query/stage_builder.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/stage_builder.h:35, from src/mongo/db/query/stage_builder.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/pipeline/document_source_cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/document_source_cursor.cpp g++ -o build/opt/mongo/db/s/balancer/migration_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/migration_manager.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/data_replicator_external_state_impl.h:33, from src/mongo/db/repl/data_replicator_external_state_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/data_replicator_external_state_impl.h:33, from src/mongo/db/repl/data_replicator_external_state_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/migration_source_manager.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/migration_source_manager.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/pipeline/document_source_cursor.h:35, from src/mongo/db/pipeline/document_source_cursor.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/pipeline/document_source_cursor.h:35, from src/mongo/db/pipeline/document_source_cursor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/balancer/cluster_statistics_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/cluster_statistics_impl.cpp ar rcsTD build/opt/mongo/db/storage/mmap_v1/libstorage_mmapv1.a build/opt/mongo/db/storage/mmap_v1/aligned_builder.o build/opt/mongo/db/storage/mmap_v1/catalog/hashtab.o build/opt/mongo/db/storage/mmap_v1/catalog/index_details.o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_details.o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.o build/opt/mongo/db/storage/mmap_v1/catalog/namespace_index.o build/opt/mongo/db/storage/mmap_v1/commit_notifier.o build/opt/mongo/db/storage/mmap_v1/data_file.o build/opt/mongo/db/storage/mmap_v1/data_file_sync.o build/opt/mongo/db/storage/mmap_v1/durable_mapped_file.o build/opt/mongo/db/storage/mmap_v1/dur.o build/opt/mongo/db/storage/mmap_v1/durop.o build/opt/mongo/db/storage/mmap_v1/dur_preplogbuffer.o build/opt/mongo/db/storage/mmap_v1/dur_commitjob.o build/opt/mongo/db/storage/mmap_v1/dur_recover.o build/opt/mongo/db/storage/mmap_v1/dur_journal.o build/opt/mongo/db/storage/mmap_v1/dur_journal_writer.o build/opt/mongo/db/storage/mmap_v1/dur_recovery_unit.o build/opt/mongo/db/storage/mmap_v1/journal_latency_test_cmd.o build/opt/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.o build/opt/mongo/db/storage/mmap_v1/mmap_v1_engine.o build/opt/mongo/db/storage/mmap_v1/mmap_v1_extent_manager.o build/opt/mongo/db/storage/mmap_v1/mmap_v1_init.o build/opt/mongo/db/storage/mmap_v1/repair_database.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libstorage_mmapv1.a g++ -o build/opt/mongo/db/s/balancer/balancer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/balancer.cpp ar rcsTD build/opt/mongo/db/repl/libdata_replicator_external_state_impl.a build/opt/mongo/db/repl/data_replicator_external_state_impl.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libdata_replicator_external_state_impl.a g++ -o build/opt/mongo/db/s/balancer/balancer_chunk_selection_policy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/balancer_chunk_selection_policy.cpp g++ -o build/opt/mongo/db/s/balancer/scoped_migration_request.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/balancer/scoped_migration_request.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.cpp g++ -o build/opt/mongo/db/catalog/capped_utils.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/capped_utils.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/catalog/coll_mod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/coll_mod.cpp g++ -o build/opt/mongo/db/catalog/rename_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/rename_collection.cpp g++ -o build/opt/mongo/db/catalog/drop_database.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/drop_database.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/catalog/capped_utils.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/catalog/capped_utils.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/catalog/drop_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/drop_collection.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/catalog/drop_database.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/catalog/drop_database.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/catalog/coll_mod.cpp:47: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/catalog/coll_mod.cpp:47: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/catalog/rename_collection.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/catalog/rename_collection.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/catalog/create_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/create_collection.cpp 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/catalog/drop_collection.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/catalog/drop_collection.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/catalog/create_collection.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/catalog/create_collection.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/bgsync.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/bgsync.cpp ar rcsTD build/opt/mongo/db/s/libbalancer.a build/opt/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.o build/opt/mongo/db/s/balancer/balancer_chunk_selection_policy.o build/opt/mongo/db/s/balancer/balancer_policy.o build/opt/mongo/db/s/balancer/balancer.o build/opt/mongo/db/s/balancer/cluster_statistics_impl.o build/opt/mongo/db/s/balancer/cluster_statistics.o build/opt/mongo/db/s/balancer/migration_manager.o build/opt/mongo/db/s/balancer/scoped_migration_request.o build/opt/mongo/db/s/balancer/type_migration.o Skipping ranlib for thin archive build/opt/mongo/db/s/libbalancer.a g++ -o build/opt/mongo/db/ops/update_result.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/update_result.cpp g++ -o build/opt/mongo/db/s/config/configsvr_control_balancer_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_control_balancer_command.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/bgsync.h:38, from src/mongo/db/repl/bgsync.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/bgsync.h:38, from src/mongo/db/repl/bgsync.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/schema/schema_truncate.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_truncate.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_thread.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_thread.c gcc -o build/opt/third_party/wiredtiger/src/support/generation.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/generation.c gcc -o build/opt/third_party/wiredtiger/src/async/async_api.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/async/async_api.c gcc -o build/opt/third_party/wiredtiger/src/support/huffman.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/huffman.c 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/s/config/configsvr_control_balancer_command.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_control_balancer_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/distinct.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/distinct.cpp g++ -o build/opt/mongo/db/repl/oplogreader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplogreader.cpp g++ -o build/opt/mongo/db/s/sharding_state_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_state_command.cpp 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/s/sharding_state_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/sharding_state_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/stats/server_read_concern_metrics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/server_read_concern_metrics.cpp g++ -o build/opt/mongo/db/repl/rslog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/rslog.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/commands/distinct.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/commands/distinct.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/librslog.a build/opt/mongo/db/repl/rslog.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librslog.a gcc -o build/opt/third_party/wiredtiger/src/config/config.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config.c ar rcsTD build/opt/mongo/db/catalog/libcatalog_helpers.a build/opt/mongo/db/catalog/capped_utils.o build/opt/mongo/db/catalog/coll_mod.o build/opt/mongo/db/catalog/create_collection.o build/opt/mongo/db/catalog/drop_collection.o build/opt/mongo/db/catalog/drop_database.o build/opt/mongo/db/catalog/drop_indexes.o build/opt/mongo/db/catalog/rename_collection.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcatalog_helpers.a g++ -o build/opt/mongo/db/exec/sort.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/sort.cpp g++ -o build/opt/mongo/db/storage/oplog_hack.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/oplog_hack.cpp g++ -o build/opt/mongo/db/s/migration_chunk_cloner_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_chunk_cloner_source.cpp 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/commands/server_status.h:35, from src/mongo/db/stats/server_read_concern_metrics.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/stats/server_read_concern_metrics.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/shard_metadata_util.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/shard_metadata_util.cpp g++ -o build/opt/mongo/db/s/migration_destination_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_destination_manager.cpp ar rcsTD build/opt/mongo/db/storage/liboplog_hack.a build/opt/mongo/db/storage/oplog_hack.o Skipping ranlib for thin archive build/opt/mongo/db/storage/liboplog_hack.a g++ -o build/opt/mongo/db/s/active_move_primaries_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/active_move_primaries_registry.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/sort.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/sort.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/move_primary_source_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/move_primary_source_manager.cpp g++ -o build/opt/mongo/db/s/migration_chunk_cloner_source_legacy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp g++ -o build/opt/mongo/db/s/active_shard_collection_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/active_shard_collection_registry.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/s/database_sharding_state.h:34, from src/mongo/db/s/move_primary_source_manager.h:34, from src/mongo/db/s/move_primary_source_manager.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/s/database_sharding_state.h:34, from src/mongo/db/s/move_primary_source_manager.h:34, from src/mongo/db/s/move_primary_source_manager.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/s/migration_destination_manager.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/s/migration_destination_manager.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/scoped_operation_completion_sharding_actions.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:39, from src/mongo/db/s/migration_chunk_cloner_source_legacy.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/s/migration_chunk_cloner_source_legacy.h:39, from src/mongo/db/s/migration_chunk_cloner_source_legacy.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/active_shard_collection_registry.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/active_shard_collection_registry.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/s/scoped_operation_completion_sharding_actions.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/s/scoped_operation_completion_sharding_actions.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/session_catalog_migration_source.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/session_catalog_migration_source.cpp g++ -o build/opt/mongo/db/s/sharding_statistics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_statistics.cpp g++ -o build/opt/mongo/db/s/namespace_metadata_change_notifications.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/namespace_metadata_change_notifications.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/session_catalog_migration_source.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/session_catalog_migration_source.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/collection_sharding_state_factory_shard.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_sharding_state_factory_shard.cpp g++ -o build/opt/mongo/db/s/shard_server_catalog_cache_loader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/shard_server_catalog_cache_loader.cpp g++ -o build/opt/mongo/db/s/collection_sharding_runtime.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_sharding_runtime.cpp g++ -o build/opt/mongo/db/s/split_chunk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/split_chunk.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/collection_sharding_runtime.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/collection_sharding_runtime.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/active_migrations_registry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/active_migrations_registry.cpp g++ -o build/opt/mongo/db/s/chunk_splitter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/chunk_splitter.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/split_chunk.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/split_chunk.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/shard_identity_rollback_notifier.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/shard_identity_rollback_notifier.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/active_migrations_registry.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/active_migrations_registry.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/read_only_catalog_cache_loader.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/read_only_catalog_cache_loader.cpp g++ -o build/opt/mongo/db/s/collection_range_deleter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/collection_range_deleter.cpp g++ -o build/opt/mongo/db/s/metadata_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/metadata_manager.cpp g++ -o build/opt/mongo/db/s/sharding_config_optime_gossip.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_config_optime_gossip.cpp g++ -o build/opt/mongo/db/s/sharding_state_recovery.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/sharding_state_recovery.cpp g++ -o build/opt/mongo/db/s/shard_filtering_metadata_refresh.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/shard_filtering_metadata_refresh.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/collection_range_deleter.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/collection_range_deleter.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/sharding_state_recovery.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/sharding_state_recovery.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/shard_filtering_metadata_refresh.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/shard_filtering_metadata_refresh.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/query/internal_plans.h:34, from src/mongo/db/s/metadata_manager.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/exec/multi_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/multi_iterator.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/query/internal_plans.h:34, from src/mongo/db/s/metadata_manager.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/eval.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/eval.cpp g++ -o build/opt/mongo/db/commands/fsync.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/fsync.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/multi_iterator.h:36, from src/mongo/db/exec/multi_iterator.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/multi_iterator.h:36, from src/mongo/db/exec/multi_iterator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/btree/bt_ret.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_ret.c g++ -o build/opt/mongo/db/commands/dbcommands_d.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/dbcommands_d.cpp 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/commands/fsync.cpp:47: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/fsync.cpp:47: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/eval.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/eval.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/dbcommands_d.cpp:57: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/dbcommands_d.cpp:57: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/support/crypto.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/crypto.c g++ -o build/opt/mongo/db/commands/top_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/top_command.cpp g++ -o build/opt/mongo/db/storage/index_entry_comparison.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/index_entry_comparison.cpp g++ -o build/opt/mongo/db/query/get_executor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/get_executor.cpp g++ -o build/opt/mongo/db/s/get_database_version_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/get_database_version_command.cpp g++ -o build/opt/mongo/db/repl/rollback_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/rollback_impl.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/ops/delete_request.h:38, from src/mongo/db/query/get_executor.h:31, from src/mongo/db/query/get_executor.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/ops/delete_request.h:38, from src/mongo/db/query/get_executor.h:31, from src/mongo/db/query/get_executor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/s/libsharding_runtime_d.a build/opt/mongo/db/s/active_migrations_registry.o build/opt/mongo/db/s/active_move_primaries_registry.o build/opt/mongo/db/s/active_shard_collection_registry.o build/opt/mongo/db/s/chunk_move_write_concern_options.o build/opt/mongo/db/s/chunk_splitter.o build/opt/mongo/db/s/collection_range_deleter.o build/opt/mongo/db/s/collection_sharding_runtime.o build/opt/mongo/db/s/collection_sharding_state_factory_shard.o build/opt/mongo/db/s/config_server_op_observer.o build/opt/mongo/db/s/implicit_create_collection.o build/opt/mongo/db/s/metadata_manager.o build/opt/mongo/db/s/migration_chunk_cloner_source_legacy.o build/opt/mongo/db/s/migration_chunk_cloner_source.o build/opt/mongo/db/s/migration_destination_manager.o build/opt/mongo/db/s/migration_source_manager.o build/opt/mongo/db/s/migration_util.o build/opt/mongo/db/s/move_primary_source_manager.o build/opt/mongo/db/s/move_timing_helper.o build/opt/mongo/db/s/namespace_metadata_change_notifications.o build/opt/mongo/db/s/read_only_catalog_cache_loader.o build/opt/mongo/db/s/scoped_operation_completion_sharding_actions.o build/opt/mongo/db/s/session_catalog_migration_destination.o build/opt/mongo/db/s/session_catalog_migration_source.o build/opt/mongo/db/s/shard_filtering_metadata_refresh.o build/opt/mongo/db/s/shard_identity_rollback_notifier.o build/opt/mongo/db/s/shard_metadata_util.o build/opt/mongo/db/s/shard_server_catalog_cache_loader.o build/opt/mongo/db/s/shard_server_op_observer.o build/opt/mongo/db/s/sharding_config_optime_gossip.o build/opt/mongo/db/s/sharding_initialization_mongod.o build/opt/mongo/db/s/sharding_state_recovery.o build/opt/mongo/db/s/sharding_statistics.o build/opt/mongo/db/s/split_chunk.o build/opt/mongo/db/s/split_vector.o Skipping ranlib for thin archive build/opt/mongo/db/s/libsharding_runtime_d.a g++ -o build/opt/mongo/db/matcher/expression_text.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_text.cpp ar rcsTD build/opt/mongo/db/repl/libreporter.a build/opt/mongo/db/repl/reporter.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreporter.a g++ -o build/opt/mongo/db/matcher/expression_where.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/matcher/expression_where.cpp 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/commands/top_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/top_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/get_database_version_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/get_database_version_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/repl/rollback_impl.h:34, from src/mongo/db/repl/rollback_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/repl/rollback_impl.h:34, from src/mongo/db/repl/rollback_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_where_base.h:33, from src/mongo/db/matcher/expression_where.h:33, from src/mongo/db/matcher/expression_where.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_where_base.h:33, from src/mongo/db/matcher/expression_where.h:33, from src/mongo/db/matcher/expression_where.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_text_base.h:33, from src/mongo/db/matcher/expression_text.h:36, from src/mongo/db/matcher/expression_text.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/matcher/expression_text_base.h:33, from src/mongo/db/matcher/expression_text.h:36, from src/mongo/db/matcher/expression_text.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/catalog/index_create_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_create_impl.cpp g++ -o build/opt/mongo/db/repl/heartbeat_response_action.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/heartbeat_response_action.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/index_create_impl.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/index_create_impl.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_sleep.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_sleep.c g++ -o build/opt/mongo/scripting/scripting_server.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/scripting_server.cpp ar rcsTD build/opt/mongo/scripting/libscripting_server.a build/opt/mongo/scripting/scripting_server.o Skipping ranlib for thin archive build/opt/mongo/scripting/libscripting_server.a g++ -o build/opt/mongo/db/stats/lock_server_status_section.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/lock_server_status_section.cpp g++ -o build/opt/mongo/db/stats/latency_server_status_section.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/latency_server_status_section.cpp g++ -o build/opt/mongo/db/exec/eof.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/eof.cpp g++ -o build/opt/mongo/db/commands/whats_my_uri_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/whats_my_uri_cmd.cpp 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/commands/server_status.h:35, from src/mongo/db/stats/lock_server_status_section.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/stats/lock_server_status_section.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/test_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/test_commands.cpp 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/commands/whats_my_uri_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/whats_my_uri_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/db/stats/latency_server_status_section.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/stats/latency_server_status_section.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/test_commands.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/test_commands.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/shard_filter.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/shard_filter.cpp g++ -o build/opt/mongo/db/query/plan_ranker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/plan_ranker.cpp 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/exec/filter.h:34, from src/mongo/db/exec/shard_filter.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/filter.h:34, from src/mongo/db/exec/shard_filter.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/librollback_impl.a build/opt/mongo/db/repl/rollback_impl.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_impl.a g++ -o build/opt/mongo/db/storage/storage_repair_observer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_repair_observer.cpp ar rcsTD build/opt/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.o Skipping ranlib for thin archive build/opt/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a gcc -o build/opt/third_party/wiredtiger/src/packing/pack_stream.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/packing/pack_stream.c ar rcsTD build/opt/mongo/db/stats/libserveronly_stats.a build/opt/mongo/db/stats/latency_server_status_section.o build/opt/mongo/db/stats/lock_server_status_section.o build/opt/mongo/db/stats/storage_stats.o Skipping ranlib for thin archive build/opt/mongo/db/stats/libserveronly_stats.a g++ -o build/opt/mongo/db/session_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/session_catalog.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_ranker.h:41, from src/mongo/db/query/plan_ranker.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_ranker.h:41, from src/mongo/db/query/plan_ranker.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libsessions_collection_config_server.a build/opt/mongo/db/sessions_collection_config_server.o Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection_config_server.a g++ -o build/opt/mongo/db/exec/update.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/update.cpp g++ -o build/opt/mongo/db/s/config/configsvr_remove_shard_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_remove_shard_command.cpp g++ -o build/opt/mongo/db/stats/read_concern_stats_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/stats/read_concern_stats_gen.cpp g++ -o build/opt/mongo/db/stats/server_write_concern_metrics.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/stats/server_write_concern_metrics.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/update.h:34, from src/mongo/db/exec/update.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/update.h:34, from src/mongo/db/exec/update.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/session_catalog.h:35, from src/mongo/db/session_catalog.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/single_transaction_stats.h:33, from src/mongo/db/session.h:44, from src/mongo/db/session_catalog.h:35, from src/mongo/db/session_catalog.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/db/stats/read_concern_stats_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/stats/read_concern_stats_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/server_status.h:35, from src/mongo/db/stats/server_write_concern_metrics.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/stats/server_write_concern_metrics.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libstorage_repair_observer.a build/opt/mongo/db/storage/storage_repair_observer.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_repair_observer.a g++ -o build/opt/mongo/db/repl/oplog_buffer_blocking_queue.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_buffer_blocking_queue.cpp 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/s/config/configsvr_remove_shard_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_remove_shard_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/commands/libshell_protocol.a build/opt/mongo/db/commands/test_commands.o build/opt/mongo/db/commands/whats_my_uri_cmd.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libshell_protocol.a gcc -o build/opt/third_party/wiredtiger/src/block/block_write.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_write.c gcc -o build/opt/third_party/wiredtiger/src/meta/meta_turtle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_turtle.c ar rcsTD build/opt/mongo/db/repl/liboplog_buffer_blocking_queue.a build/opt/mongo/db/repl/oplog_buffer_blocking_queue.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_buffer_blocking_queue.a g++ -o build/opt/mongo/db/clientcursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/clientcursor.cpp gcc -o build/opt/third_party/wiredtiger/src/meta/meta_ext.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_ext.c g++ -o build/opt/mongo/db/storage/mmap_v1/mmap_posix.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap_posix.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/mmap.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/clientcursor.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/clientcursor.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libbgsync.a build/opt/mongo/db/repl/bgsync.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libbgsync.a gcc -o build/opt/third_party/wiredtiger/src/packing/pack_api.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/packing/pack_api.c g++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.cpp g++ -o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.cpp gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_join.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_join.c g++ -o build/opt/mongo/db/ops/update.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/update.cpp ar rcsTD build/opt/mongo/db/storage/mmap_v1/libmmap.a build/opt/mongo/db/storage/mmap_v1/mmap.o build/opt/mongo/db/storage/mmap_v1/mmap_posix.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libmmap.a g++ -o build/opt/mongo/db/ops/find_and_modify_result.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/find_and_modify_result.cpp g++ -o build/opt/mongo/db/ops/single_write_result_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/ops/single_write_result_gen.cpp g++ -o build/opt/mongo/db/ops/delete.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/delete.cpp g++ -o build/opt/mongo/db/repl/oplog_interface_remote.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/oplog_interface_remote.cpp 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/curop.h:37, from src/mongo/db/ops/update.h:35, from src/mongo/db/ops/update.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/ops/update.h:35, from src/mongo/db/ops/update.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/btree/key.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/btree/key.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/ops/delete.h:36, from src/mongo/db/ops/delete.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/ops/delete.h:36, from src/mongo/db/ops/delete.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/db/ops/single_write_result_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/ops/single_write_result_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/conn/api_version.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/api_version.c ar rcsTD build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_btree_impl.o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_engine.o build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_recovery_unit.o Skipping ranlib for thin archive build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a g++ -o build/opt/mongo/db/storage/kv/kv_database_catalog_entry.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/kv/kv_database_catalog_entry.cpp gcc -o build/opt/third_party/wiredtiger/src/btree/bt_sync.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_sync.c g++ -o build/opt/mongo/scripting/bson_template_evaluator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/scripting/bson_template_evaluator.cpp g++ -o build/opt/mongo/db/commands/current_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/current_op.cpp ar rcsTD build/opt/mongo/db/repl/liboplog_interface_remote.a build/opt/mongo/db/repl/oplog_interface_remote.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_interface_remote.a g++ -o build/opt/mongo/db/repl/applier_helpers.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/applier_helpers.cpp g++ -o build/opt/mongo/db/exec/subplan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/subplan.cpp 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/commands/current_op_common.h:35, from src/mongo/db/commands/current_op.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/current_op_common.h:35, from src/mongo/db/commands/current_op.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/compress.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/compress.cpp 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/exec/subplan.h:41, from src/mongo/db/exec/subplan.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/stats/libserver_read_concern_write_concern_metrics.a build/opt/mongo/db/stats/server_read_concern_metrics.o build/opt/mongo/db/stats/server_write_concern_metrics.o build/opt/mongo/db/stats/read_concern_stats_gen.o 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/exec/subplan.h:41, from src/mongo/db/exec/subplan.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/stats/libserver_read_concern_write_concern_metrics.a g++ -o build/opt/mongo/db/repl/roll_back_local_operations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/roll_back_local_operations.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/sync_tail.h:40, from src/mongo/db/repl/applier_helpers.h:37, from src/mongo/db/repl/applier_helpers.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/sync_tail.h:40, from src/mongo/db/repl/applier_helpers.h:37, from src/mongo/db/repl/applier_helpers.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/startup_warnings_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/startup_warnings_mongod.cpp ar rcsTD build/opt/mongo/scripting/libbson_template_evaluator.a build/opt/mongo/scripting/bson_template_evaluator.o Skipping ranlib for thin archive build/opt/mongo/scripting/libbson_template_evaluator.a gcc -o build/opt/third_party/wiredtiger/src/log/log_auto.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log_auto.c g++ -o build/opt/mongo/db/s/config/configsvr_enable_sharding_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_enable_sharding_command.cpp g++ -o build/opt/mongo/db/exec/pipeline_proxy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/pipeline_proxy.cpp ar rcsTD build/opt/mongo/db/libwrite_ops.a build/opt/mongo/db/ops/delete.o build/opt/mongo/db/ops/find_and_modify_result.o build/opt/mongo/db/ops/insert.o build/opt/mongo/db/ops/update.o build/opt/mongo/db/ops/write_ops_retryability.o build/opt/mongo/db/ops/single_write_result_gen.o Skipping ranlib for thin archive build/opt/mongo/db/libwrite_ops.a gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_once.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_once.c ar rcsTD build/opt/mongo/db/repl/libcollection_cloner.a build/opt/mongo/db/repl/collection_cloner.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libcollection_cloner.a g++ -o build/opt/mongo/db/catalog/index_create.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_create.cpp g++ -o build/opt/mongo/db/fts/ftsmongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/fts/ftsmongod.cpp gcc -o build/opt/third_party/wiredtiger/src/config/config_check.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_check.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/pipeline_proxy.h:36, from src/mongo/db/exec/pipeline_proxy.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/pipeline_proxy.h:36, from src/mongo/db/exec/pipeline_proxy.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/config/config_ext.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_ext.c g++ -o build/opt/mongo/db/query/find.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/find.cpp 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/s/config/configsvr_enable_sharding_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/libstartup_warnings_mongod.a build/opt/mongo/db/startup_warnings_mongod.o 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libstartup_warnings_mongod.a 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/s/config/configsvr_enable_sharding_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/txn/txn_ckpt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_ckpt.c g++ -o build/opt/mongo/db/repl/replication_coordinator_external_state_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_coordinator_external_state_impl.cpp g++ -o build/opt/mongo/db/commands/geo_near_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/geo_near_cmd.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/index_create.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/index_create.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/text.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/text.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/find.h:35, from src/mongo/db/query/find.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/find.h:35, from src/mongo/db/query/find.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/bgsync.h:38, from src/mongo/db/repl/replication_coordinator_external_state_impl.h:37, from src/mongo/db/repl/replication_coordinator_external_state_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/bgsync.h:38, from src/mongo/db/repl/replication_coordinator_external_state_impl.h:37, from src/mongo/db/repl/replication_coordinator_external_state_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/geo_near_cmd.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/geo_near_cmd.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/exec/fetch.h:37, from src/mongo/db/exec/text.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/fetch.h:37, from src/mongo/db/exec/text.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/index_builder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index_builder.cpp g++ -o build/opt/mongo/db/db_raii.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/db_raii.cpp ar rcsTD build/opt/mongo/db/catalog/libindex_create.a build/opt/mongo/db/catalog/index_create.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libindex_create.a g++ -o build/opt/mongo/db/catalog/collection_info_cache_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_info_cache_impl.cpp gcc -o build/opt/third_party/wiredtiger/src/os_common/os_getopt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_getopt.c gcc -o build/opt/third_party/wiredtiger/src/session/session_api.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_api.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/index_builder.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/index_builder.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection_info_cache_impl.h:33, from src/mongo/db/catalog/collection_info_cache_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection_info_cache_impl.h:33, from src/mongo/db/catalog/collection_info_cache_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/db_raii.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/db_raii.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/conn/conn_capacity.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_capacity.c g++ -o build/opt/mongo/db/s/split_chunk_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/split_chunk_command.cpp g++ -o build/opt/third_party/shim_wiredtiger.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger src/third_party/shim_wiredtiger.cpp ar rcsTD build/opt/third_party/libshim_wiredtiger.a build/opt/third_party/shim_wiredtiger.o Skipping ranlib for thin archive build/opt/third_party/libshim_wiredtiger.a g++ -o build/opt/mongo/db/s/check_sharding_index_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/check_sharding_index_command.cpp 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/s/split_chunk_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/split_chunk_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/rollback_checker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/rollback_checker.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/check_sharding_index_command.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/check_sharding_index_command.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/logfile.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/logfile.cpp ar rcsTD build/opt/mongo/db/concurrency/libdeferred_writer.a build/opt/mongo/db/concurrency/deferred_writer.o Skipping ranlib for thin archive build/opt/mongo/db/concurrency/libdeferred_writer.a g++ -o build/opt/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.cpp gcc -o build/opt/third_party/wiredtiger/src/support/hash_fnv.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hash_fnv.c gcc -o build/opt/third_party/wiredtiger/src/support/rand.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/rand.c g++ -o build/opt/mongo/db/cursor_manager.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/cursor_manager.cpp g++ -o build/opt/mongo/db/storage/kv/kv_database_catalog_entry_base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/kv/kv_database_catalog_entry_base.cpp gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_tree.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_tree.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/migration_chunk_cloner_source_legacy_commands.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/initial_syncer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/initial_syncer.cpp g++ -o build/opt/mongo/db/collection_index_usage_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/collection_index_usage_tracker.cpp ar rcsTD build/opt/mongo/db/storage/mmap_v1/liblogfile.a build/opt/mongo/db/storage/mmap_v1/logfile.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/liblogfile.a g++ -o build/opt/mongo/db/catalog/database_holder_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/database_holder_impl.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:36, from src/mongo/db/cursor_manager.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:36, from src/mongo/db/cursor_manager.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/initial_syncer.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/initial_syncer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/database_holder_impl.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/catalog/database_holder_impl.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libcollection_index_usage_tracker.a build/opt/mongo/db/collection_index_usage_tracker.o Skipping ranlib for thin archive build/opt/mongo/db/libcollection_index_usage_tracker.a g++ -o build/opt/mongo/db/repl/rs_rollback.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/rs_rollback.cpp g++ -o build/opt/mongo/db/exec/distinct_scan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/distinct_scan.cpp ar rcsTD build/opt/mongo/db/repl/libtask_runner.a build/opt/mongo/db/repl/task_runner.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libtask_runner.a gcc -o build/opt/third_party/wiredtiger/src/btree/bt_huffman.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_huffman.c g++ -o build/opt/mongo/db/commands/cpuload.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/cpuload.cpp 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/exec/distinct_scan.h:37, from src/mongo/db/exec/distinct_scan.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/distinct_scan.h:37, from src/mongo/db/exec/distinct_scan.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/ttl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ttl.cpp 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/commands/cpuload.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/cpuload.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/repl/rs_rollback.cpp:49: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/uuid_catalog.h:36, from src/mongo/db/repl/rs_rollback.cpp:49: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/keep_mutations.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/keep_mutations.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/ttl.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/ttl.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/exec/keep_mutations.h:36, from src/mongo/db/exec/keep_mutations.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/keep_mutations.h:36, from src/mongo/db/exec/keep_mutations.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/record_store_v1_simple.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp gcc -o build/opt/third_party/wiredtiger/src/txn/txn_ext.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_ext.c gcc -o build/opt/third_party/wiredtiger/src/support/thread_group.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/thread_group.c g++ -o build/opt/mongo/db/index/s2_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/s2_access_method.cpp g++ -o build/opt/mongo/db/exec/plan_stage.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/plan_stage.cpp g++ -o build/opt/mongo/db/commands/create_indexes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/create_indexes.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_simple.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/plan_cache_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/plan_cache_commands.cpp g++ -o build/opt/mongo/db/repl/repl_set_get_status_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/repl_set_get_status_cmd.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/create_indexes.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/create_indexes.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_table.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_table.c 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_get_status_cmd.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/repl/repl_set_command.h:35, from src/mongo/db/repl/repl_set_get_status_cmd.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libinitial_syncer.a build/opt/mongo/db/repl/initial_syncer.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libinitial_syncer.a gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_metadata.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_metadata.c 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/plan_cache_commands.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/meta/meta_ckpt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_ckpt.c 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/plan_cache_commands.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ gcc -o build/opt/third_party/wiredtiger/src/schema/schema_worker.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_worker.c gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_manager.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_manager.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_log.c gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_work_unit.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_work_unit.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_stat.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_dump.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_dump.c gcc -o build/opt/third_party/wiredtiger/src/block/block_open.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_open.c gcc -o build/opt/third_party/wiredtiger/src/config/config_collapse.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_collapse.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_json.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_json.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_rebalance.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_rebalance.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_errno.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_errno.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_path.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_path.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_handle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_handle.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_stat.c gcc -o build/opt/third_party/wiredtiger/src/support/time.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/time.c gcc -o build/opt/third_party/wiredtiger/src/reconcile/rec_write.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/reconcile/rec_write.c gcc -o build/opt/third_party/wiredtiger/src/log/log_slot.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log_slot.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_random.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_random.c gcc -o build/opt/third_party/wiredtiger/src/support/mtx_rw.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/mtx_rw.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_upgrade.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_upgrade.c gcc -o build/opt/third_party/wiredtiger/src/evict/evict_stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_stat.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_stat.c gcc -o build/opt/third_party/wiredtiger/src/support/hex.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/hex.c gcc -o build/opt/third_party/wiredtiger/src/async/async_worker.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/async/async_worker.c gcc -o build/opt/third_party/wiredtiger/src/btree/row_modify.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/row_modify.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_std.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_std.c ar rcsTD build/opt/mongo/db/repl/librs_rollback.a build/opt/mongo/db/repl/rs_rollback.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librs_rollback.a gcc -o build/opt/third_party/wiredtiger/src/log/log.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/log/log.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_read.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_read.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_dlopen.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_dlopen.c gcc -o build/opt/third_party/wiredtiger/src/meta/meta_apply.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_apply.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_vrfy.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_vrfy.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_ckpt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_ckpt.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_mtx_cond.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c gcc -o build/opt/third_party/wiredtiger/src/block/block_read.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_read.c gcc -o build/opt/third_party/wiredtiger/src/schema/schema_rename.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_rename.c gcc -o build/opt/third_party/wiredtiger/src/os_common/filename.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/filename.c gcc -o build/opt/third_party/wiredtiger/src/block/block_ckpt.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_ckpt.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_pagesize.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_pagesize.c gcc -o build/opt/third_party/wiredtiger/src/checksum/software/checksum.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/checksum/software/checksum.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_io.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_io.c gcc -o build/opt/third_party/wiredtiger/src/support/scratch.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/scratch.c gcc -o build/opt/third_party/wiredtiger/src/reconcile/rec_track.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/reconcile/rec_track.c gcc -o build/opt/third_party/wiredtiger/src/txn/txn_nsnap.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_nsnap.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_fstream_stdio.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fstream_stdio.c gcc -o build/opt/third_party/wiredtiger/src/schema/schema_project.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_project.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_dir.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_dir.c gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_cursor.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_delete.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_delete.c gcc -o build/opt/third_party/wiredtiger/src/schema/schema_drop.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_drop.c Install file: "src/third_party/wiredtiger/src/include/wiredtiger_ext.h" as "build/opt/third_party/wiredtiger/wiredtiger_ext.h" gcc -o build/opt/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.c gcc -o build/opt/third_party/wiredtiger/src/support/stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/stat.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_slvg.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_slvg.c gcc -o build/opt/third_party/wiredtiger/src/session/session_compact.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_compact.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_alloc.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_alloc.c gcc -o build/opt/third_party/wiredtiger/src/support/pow.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/pow.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_cache_pool.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_cache_pool.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_split.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_split.c gcc -o build/opt/third_party/wiredtiger/src/meta/meta_table.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_table.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_abort.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_abort.c gcc -o build/opt/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_fhandle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fhandle.c gcc -o build/opt/third_party/wiredtiger/src/btree/row_srch.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/row_srch.c gcc -o build/opt/third_party/wiredtiger/src/evict/evict_file.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_file.c gcc -o build/opt/third_party/wiredtiger/src/btree/row_key.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/row_key.c gcc -o build/opt/third_party/wiredtiger/src/lsm/lsm_meta.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/lsm/lsm_meta.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_cache.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_cache.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_walk.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_walk.c gcc -o build/opt/third_party/wiredtiger/src/config/config_api.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/config/config_api.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_vrfy_dsk.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_curprev.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_curprev.c gcc -o build/opt/third_party/wiredtiger/src/meta/meta_track.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/meta/meta_track.c gcc -o build/opt/third_party/wiredtiger/src/support/global.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/support/global.c gcc -o build/opt/third_party/wiredtiger/src/btree/col_srch.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/col_srch.c gcc -o build/opt/third_party/wiredtiger/src/os_posix/os_map.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_posix/os_map.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_curnext.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_curnext.c gcc -o build/opt/third_party/wiredtiger/src/conn/api_calc_modify.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/api_calc_modify.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_bulk.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_bulk.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_compact.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_compact.c gcc -o build/opt/third_party/wiredtiger/src/schema/schema_stat.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_stat.c gcc -o build/opt/third_party/wiredtiger/src/txn/txn_timestamp.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_timestamp.c gcc -o build/opt/third_party/wiredtiger/src/txn/txn_recover.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn_recover.c gcc -o build/opt/third_party/wiredtiger/src/schema/schema_create.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/schema/schema_create.c gcc -o build/opt/third_party/wiredtiger/src/evict/evict_lru.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/evict/evict_lru.c gcc -o build/opt/third_party/wiredtiger/src/session/session_dhandle.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_dhandle.c gcc -o build/opt/third_party/wiredtiger/src/session/session_salvage.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/session/session_salvage.c gcc -o build/opt/third_party/wiredtiger/src/os_common/os_fs_inmemory.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/os_common/os_fs_inmemory.c gcc -o build/opt/third_party/wiredtiger/src/block/block_mgr.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/block/block_mgr.c gcc -o build/opt/third_party/wiredtiger/src/cursor/cur_index.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/cursor/cur_index.c gcc -o build/opt/third_party/wiredtiger/src/txn/txn.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/txn/txn.c gcc -o build/opt/third_party/wiredtiger/src/btree/bt_discard.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/btree/bt_discard.c gcc -o build/opt/third_party/wiredtiger/src/conn/conn_sweep.o -c -std=c11 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -DHAVE_FALLOCATE -DHAVE_SYNC_FILE_RANGE -DHAVE_X86INTRIN_H -D_GNU_SOURCE -DHAVE_BUILTIN_EXTENSION_ZLIB -DHAVE_BUILTIN_EXTENSION_SNAPPY -Ibuild/opt/third_party/wiredtiger -Isrc/third_party/wiredtiger -Ibuild/opt/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include -Ibuild/opt/third_party/wiredtiger/build_linux -Isrc/third_party/wiredtiger/build_linux src/third_party/wiredtiger/src/conn/conn_sweep.c ar rcsTD build/opt/mongo/db/storage/libindex_entry_comparison.a build/opt/mongo/db/storage/index_entry_comparison.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libindex_entry_comparison.a g++ -o build/opt/mongo/db/exec/multi_plan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/multi_plan.cpp g++ -o build/opt/mongo/db/query/internal_plans.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/internal_plans.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/btree/btree_ondisk.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/btree/btree_ondisk.cpp g++ -o build/opt/mongo/db/repl/vote_requester.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/vote_requester.cpp g++ -o build/opt/mongo/db/repl/data_replicator_external_state_initial_sync.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp g++ -o build/opt/mongo/db/repl/databases_cloner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/databases_cloner.cpp g++ -o build/opt/mongo/db/catalog/index_catalog_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_catalog_impl.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/query/internal_plans.h:34, from src/mongo/db/query/internal_plans.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/multi_plan.h:34, from src/mongo/db/exec/multi_plan.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/query/internal_plans.h:34, from src/mongo/db/query/internal_plans.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/multi_plan.h:34, from src/mongo/db/exec/multi_plan.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/freshness_checker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/freshness_checker.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/data_replicator_external_state_impl.h:33, from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:33, from src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/data_replicator_external_state_impl.h:33, from src/mongo/db/repl/data_replicator_external_state_initial_sync.h:33, from src/mongo/db/repl/data_replicator_external_state_initial_sync.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/databases_cloner.h:41, from src/mongo/db/repl/databases_cloner.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/databases_cloner.h:41, from src/mongo/db/repl/databases_cloner.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/index_catalog_impl.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/index_catalog_impl.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Using tempfile /usr/src/tmp/tmp4dckIc.lnk for command line: ar rcsTD build/opt/third_party/wiredtiger/libwiredtiger.a build/opt/third_party/wiredtiger/src/async/async_api.o build/opt/third_party/wiredtiger/src/async/async_op.o build/opt/third_party/wiredtiger/src/async/async_worker.o build/opt/third_party/wiredtiger/src/block/block_addr.o build/opt/third_party/wiredtiger/src/block/block_ckpt.o build/opt/third_party/wiredtiger/src/block/block_compact.o build/opt/third_party/wiredtiger/src/block/block_ext.o build/opt/third_party/wiredtiger/src/block/block_map.o build/opt/third_party/wiredtiger/src/block/block_mgr.o build/opt/third_party/wiredtiger/src/block/block_open.o build/opt/third_party/wiredtiger/src/block/block_read.o build/opt/third_party/wiredtiger/src/block/block_session.o build/opt/third_party/wiredtiger/src/block/block_slvg.o build/opt/third_party/wiredtiger/src/block/block_vrfy.o build/opt/third_party/wiredtiger/src/block/block_write.o build/opt/third_party/wiredtiger/src/bloom/bloom.o build/opt/third_party/wiredtiger/src/btree/bt_compact.o build/opt/third_party/wiredtiger/src/btree/bt_curnext.o build/opt/third_party/wiredtiger/src/btree/bt_curprev.o build/opt/third_party/wiredtiger/src/btree/bt_cursor.o build/opt/third_party/wiredtiger/src/btree/bt_debug.o build/opt/third_party/wiredtiger/src/btree/bt_delete.o build/opt/third_party/wiredtiger/src/btree/bt_discard.o build/opt/third_party/wiredtiger/src/btree/bt_handle.o build/opt/third_party/wiredtiger/src/btree/bt_huffman.o build/opt/third_party/wiredtiger/src/btree/bt_io.o build/opt/third_party/wiredtiger/src/btree/bt_misc.o build/opt/third_party/wiredtiger/src/btree/bt_ovfl.o build/opt/third_party/wiredtiger/src/btree/bt_page.o build/opt/third_party/wiredtiger/src/btree/bt_random.o build/opt/third_party/wiredtiger/src/btree/bt_read.o build/opt/third_party/wiredtiger/src/btree/bt_rebalance.o build/opt/third_party/wiredtiger/src/btree/bt_ret.o build/opt/third_party/wiredtiger/src/btree/bt_slvg.o build/opt/third_party/wiredtiger/src/btree/bt_split.o build/opt/third_party/wiredtiger/src/btree/bt_stat.o build/opt/third_party/wiredtiger/src/btree/bt_sync.o build/opt/third_party/wiredtiger/src/btree/bt_upgrade.o build/opt/third_party/wiredtiger/src/btree/bt_vrfy.o build/opt/third_party/wiredtiger/src/btree/bt_vrfy_dsk.o build/opt/third_party/wiredtiger/src/btree/bt_walk.o build/opt/third_party/wiredtiger/src/btree/col_modify.o build/opt/third_party/wiredtiger/src/btree/col_srch.o build/opt/third_party/wiredtiger/src/btree/row_key.o build/opt/third_party/wiredtiger/src/btree/row_modify.o build/opt/third_party/wiredtiger/src/btree/row_srch.o build/opt/third_party/wiredtiger/src/cache/cache_las.o build/opt/third_party/wiredtiger/src/checksum/software/checksum.o build/opt/third_party/wiredtiger/src/checksum/x86/crc32-x86.o build/opt/third_party/wiredtiger/src/config/config.o build/opt/third_party/wiredtiger/src/config/config_api.o build/opt/third_party/wiredtiger/src/config/config_check.o build/opt/third_party/wiredtiger/src/config/config_collapse.o build/opt/third_party/wiredtiger/src/config/config_def.o build/opt/third_party/wiredtiger/src/config/config_ext.o build/opt/third_party/wiredtiger/src/config/config_upgrade.o build/opt/third_party/wiredtiger/src/conn/api_calc_modify.o build/opt/third_party/wiredtiger/src/conn/api_strerror.o build/opt/third_party/wiredtiger/src/conn/api_version.o build/opt/third_party/wiredtiger/src/conn/conn_api.o build/opt/third_party/wiredtiger/src/conn/conn_cache.o build/opt/third_party/wiredtiger/src/conn/conn_cache_pool.o build/opt/third_party/wiredtiger/src/conn/conn_capacity.o build/opt/third_party/wiredtiger/src/conn/conn_ckpt.o build/opt/third_party/wiredtiger/src/conn/conn_dhandle.o build/opt/third_party/wiredtiger/src/conn/conn_handle.o build/opt/third_party/wiredtiger/src/conn/conn_log.o build/opt/third_party/wiredtiger/src/conn/conn_open.o build/opt/third_party/wiredtiger/src/conn/conn_reconfig.o build/opt/third_party/wiredtiger/src/conn/conn_stat.o build/opt/third_party/wiredtiger/src/conn/conn_sweep.o build/opt/third_party/wiredtiger/src/cursor/cur_backup.o build/opt/third_party/wiredtiger/src/cursor/cur_bulk.o build/opt/third_party/wiredtiger/src/cursor/cur_config.o build/opt/third_party/wiredtiger/src/cursor/cur_ds.o build/opt/third_party/wiredtiger/src/cursor/cur_dump.o build/opt/third_party/wiredtiger/src/cursor/cur_file.o build/opt/third_party/wiredtiger/src/cursor/cur_index.o build/opt/third_party/wiredtiger/src/cursor/cur_join.o build/opt/third_party/wiredtiger/src/cursor/cur_json.o build/opt/third_party/wiredtiger/src/cursor/cur_log.o build/opt/third_party/wiredtiger/src/cursor/cur_metadata.o build/opt/third_party/wiredtiger/src/cursor/cur_stat.o build/opt/third_party/wiredtiger/src/cursor/cur_std.o build/opt/third_party/wiredtiger/src/cursor/cur_table.o build/opt/third_party/wiredtiger/src/evict/evict_file.o build/opt/third_party/wiredtiger/src/evict/evict_lru.o build/opt/third_party/wiredtiger/src/evict/evict_page.o build/opt/third_party/wiredtiger/src/evict/evict_stat.o build/opt/third_party/wiredtiger/src/log/log.o build/opt/third_party/wiredtiger/src/log/log_auto.o build/opt/third_party/wiredtiger/src/log/log_slot.o build/opt/third_party/wiredtiger/src/log/log_sys.o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor.o build/opt/third_party/wiredtiger/src/lsm/lsm_cursor_bulk.o build/opt/third_party/wiredtiger/src/lsm/lsm_manager.o build/opt/third_party/wiredtiger/src/lsm/lsm_merge.o build/opt/third_party/wiredtiger/src/lsm/lsm_meta.o build/opt/third_party/wiredtiger/src/lsm/lsm_stat.o build/opt/third_party/wiredtiger/src/lsm/lsm_tree.o build/opt/third_party/wiredtiger/src/lsm/lsm_work_unit.o build/opt/third_party/wiredtiger/src/lsm/lsm_worker.o build/opt/third_party/wiredtiger/src/meta/meta_apply.o build/opt/third_party/wiredtiger/src/meta/meta_ckpt.o build/opt/third_party/wiredtiger/src/meta/meta_ext.o build/opt/third_party/wiredtiger/src/meta/meta_table.o build/opt/third_party/wiredtiger/src/meta/meta_track.o build/opt/third_party/wiredtiger/src/meta/meta_turtle.o build/opt/third_party/wiredtiger/src/optrack/optrack.o build/opt/third_party/wiredtiger/src/os_common/filename.o build/opt/third_party/wiredtiger/src/os_common/os_abort.o build/opt/third_party/wiredtiger/src/os_common/os_alloc.o build/opt/third_party/wiredtiger/src/os_common/os_errno.o build/opt/third_party/wiredtiger/src/os_common/os_fhandle.o build/opt/third_party/wiredtiger/src/os_common/os_fs_inmemory.o build/opt/third_party/wiredtiger/src/os_common/os_fstream.o build/opt/third_party/wiredtiger/src/os_common/os_fstream_stdio.o build/opt/third_party/wiredtiger/src/os_common/os_getopt.o build/opt/third_party/wiredtiger/src/os_common/os_strtouq.o build/opt/third_party/wiredtiger/src/os_posix/os_dir.o build/opt/third_party/wiredtiger/src/os_posix/os_dlopen.o build/opt/third_party/wiredtiger/src/os_posix/os_fallocate.o build/opt/third_party/wiredtiger/src/os_posix/os_fs.o build/opt/third_party/wiredtiger/src/os_posix/os_getenv.o build/opt/third_party/wiredtiger/src/os_posix/os_map.o build/opt/third_party/wiredtiger/src/os_posix/os_mtx_cond.o build/opt/third_party/wiredtiger/src/os_posix/os_once.o build/opt/third_party/wiredtiger/src/os_posix/os_pagesize.o build/opt/third_party/wiredtiger/src/os_posix/os_path.o build/opt/third_party/wiredtiger/src/os_posix/os_priv.o build/opt/third_party/wiredtiger/src/os_posix/os_setvbuf.o build/opt/third_party/wiredtiger/src/os_posix/os_sleep.o build/opt/third_party/wiredtiger/src/os_posix/os_snprintf.o build/opt/third_party/wiredtiger/src/os_posix/os_thread.o build/opt/third_party/wiredtiger/src/os_posix/os_time.o build/opt/third_party/wiredtiger/src/os_posix/os_yield.o build/opt/third_party/wiredtiger/src/packing/pack_api.o build/opt/third_party/wiredtiger/src/packing/pack_impl.o build/opt/third_party/wiredtiger/src/packing/pack_stream.o build/opt/third_party/wiredtiger/src/reconcile/rec_track.o build/opt/third_party/wiredtiger/src/reconcile/rec_write.o build/opt/third_party/wiredtiger/src/schema/schema_alter.o build/opt/third_party/wiredtiger/src/schema/schema_create.o build/opt/third_party/wiredtiger/src/schema/schema_drop.o build/opt/third_party/wiredtiger/src/schema/schema_list.o build/opt/third_party/wiredtiger/src/schema/schema_open.o build/opt/third_party/wiredtiger/src/schema/schema_plan.o build/opt/third_party/wiredtiger/src/schema/schema_project.o build/opt/third_party/wiredtiger/src/schema/schema_rename.o build/opt/third_party/wiredtiger/src/schema/schema_stat.o build/opt/third_party/wiredtiger/src/schema/schema_truncate.o build/opt/third_party/wiredtiger/src/schema/schema_util.o build/opt/third_party/wiredtiger/src/schema/schema_worker.o build/opt/third_party/wiredtiger/src/session/session_api.o build/opt/third_party/wiredtiger/src/session/session_compact.o build/opt/third_party/wiredtiger/src/session/session_dhandle.o build/opt/third_party/wiredtiger/src/session/session_salvage.o build/opt/third_party/wiredtiger/src/support/cond_auto.o build/opt/third_party/wiredtiger/src/support/crypto.o build/opt/third_party/wiredtiger/src/support/err.o build/opt/third_party/wiredtiger/src/support/generation.o build/opt/third_party/wiredtiger/src/support/global.o build/opt/third_party/wiredtiger/src/support/hash_city.o build/opt/third_party/wiredtiger/src/support/hash_fnv.o build/opt/third_party/wiredtiger/src/support/hazard.o build/opt/third_party/wiredtiger/src/support/hex.o build/opt/third_party/wiredtiger/src/support/huffman.o build/opt/third_party/wiredtiger/src/support/modify.o build/opt/third_party/wiredtiger/src/support/mtx_rw.o build/opt/third_party/wiredtiger/src/support/pow.o build/opt/third_party/wiredtiger/src/support/rand.o build/opt/third_party/wiredtiger/src/support/scratch.o build/opt/third_party/wiredtiger/src/support/stat.o build/opt/third_party/wiredtiger/src/support/thread_group.o build/opt/third_party/wiredtiger/src/support/time.o build/opt/third_party/wiredtiger/src/txn/txn.o build/opt/third_party/wiredtiger/src/txn/txn_ckpt.o build/opt/third_party/wiredtiger/src/txn/txn_ext.o build/opt/third_party/wiredtiger/src/txn/txn_log.o build/opt/third_party/wiredtiger/src/txn/txn_nsnap.o build/opt/third_party/wiredtiger/src/txn/txn_recover.o build/opt/third_party/wiredtiger/src/txn/txn_rollback_to_stable.o build/opt/third_party/wiredtiger/src/txn/txn_timestamp.o build/opt/third_party/wiredtiger/ext/compressors/zlib/zlib_compress.o build/opt/third_party/wiredtiger/ext/compressors/snappy/snappy_compress.o ar @/usr/src/tmp/tmp4dckIc.lnk Skipping ranlib for thin archive build/opt/third_party/wiredtiger/libwiredtiger.a g++ -o build/opt/mongo/db/exec/and_sorted.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/and_sorted.cpp g++ -o build/opt/mongo/db/s/unset_sharding_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/unset_sharding_command.cpp 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/exec/and_sorted.h:38, from src/mongo/db/exec/and_sorted.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/and_sorted.h:38, from src/mongo/db/exec/and_sorted.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/clone.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/clone.cpp 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/s/unset_sharding_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/unset_sharding_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/index_rebuilder.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index_rebuilder.cpp ar rcsTD build/opt/mongo/db/repl/libdata_replicator_external_state_initial_sync.a build/opt/mongo/db/repl/data_replicator_external_state_initial_sync.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libdata_replicator_external_state_initial_sync.a g++ -o build/opt/mongo/db/ops/update_lifecycle_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/update_lifecycle_impl.cpp 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/commands/clone.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/clone.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/ops/update_lifecycle_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/ops/update_lifecycle_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/group.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/group.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index_rebuilder.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/s/config/configsvr_commit_move_primary_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_commit_move_primary_command.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index_rebuilder.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/views/durable_view_catalog.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/views/durable_view_catalog.cpp g++ -o build/opt/mongo/db/exec/queued_data_stage.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/queued_data_stage.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/group.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/group.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/views/durable_view_catalog.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/views/durable_view_catalog.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/config/configsvr_commit_move_primary_command.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_commit_move_primary_command.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/liboplog_buffer_collection.a build/opt/mongo/db/repl/oplog_buffer_collection.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_buffer_collection.a g++ -o build/opt/mongo/db/storage/mmap_v1/btree/btree_logic.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/btree/btree_logic.cpp g++ -o build/opt/mongo/db/s/config/configsvr_shard_collection_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_shard_collection_command.cpp g++ -o build/opt/mongo/db/exec/sort_key_generator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/sort_key_generator.cpp ar rcsTD build/opt/mongo/db/liblogical_session_cache_factory_mongod.a build/opt/mongo/db/logical_session_cache_factory_mongod.o Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_cache_factory_mongod.a g++ -o build/opt/mongo/db/catalog/collection_compact.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_compact.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection_impl.h:34, from src/mongo/db/catalog/collection_compact.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/collection_impl.h:34, from src/mongo/db/catalog/collection_compact.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/sort_key_generator.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/sort_key_generator.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libprefetch.a build/opt/mongo/db/prefetch.o Skipping ranlib for thin archive build/opt/mongo/db/libprefetch.a g++ -o build/opt/mongo/db/exec/cached_plan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/cached_plan.cpp g++ -o build/opt/mongo/db/ftdc/ftdc_mongod.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ftdc/ftdc_mongod.cpp 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/s/config/configsvr_shard_collection_command.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_shard_collection_command.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/exec/cached_plan.h:39, from src/mongo/db/exec/cached_plan.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/cached_plan.h:39, from src/mongo/db/exec/cached_plan.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/get_last_error.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/get_last_error.cpp 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/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_mongod.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/ftdc/ftdc_server.h:36, from src/mongo/db/ftdc/ftdc_mongod.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/views/libviews_mongod.a build/opt/mongo/db/views/durable_view_catalog.o Skipping ranlib for thin archive build/opt/mongo/db/views/libviews_mongod.a g++ -o build/opt/mongo/db/commands/rename_collection_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/rename_collection_cmd.cpp 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/commands/get_last_error.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/get_last_error.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/kill_op.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/kill_op.cpp g++ -o build/opt/mongo/db/commands/getmore_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/getmore_cmd.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/rename_collection_cmd.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/rename_collection_cmd.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/write_commands/write_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/write_commands/write_commands.cpp ar rcsTD build/opt/mongo/db/ftdc/libftdc_mongod.a build/opt/mongo/db/ftdc/ftdc_commands.o build/opt/mongo/db/ftdc/ftdc_mongod.o Skipping ranlib for thin archive build/opt/mongo/db/ftdc/libftdc_mongod.a g++ -o build/opt/mongo/db/commands/list_databases.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/list_databases.cpp 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/commands/kill_op.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/kill_op.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/getmore_cmd.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/getmore_cmd.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/list_indexes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/list_indexes.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/list_databases.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/list_databases.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/write_commands/write_commands.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/write_commands/write_commands.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/drop_indexes.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/drop_indexes.cpp g++ -o build/opt/mongo/db/commands/find_and_modify.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/find_and_modify.cpp g++ -o build/opt/mongo/db/commands/dbcommands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/dbcommands.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/commands/list_indexes.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/commands/list_indexes.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/drop_indexes.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/drop_indexes.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/repair_cursor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/repair_cursor.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/find_and_modify.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/find_and_modify.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/dbcommands.cpp:57: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/dbcommands.cpp:57: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/repair_cursor.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/repair_cursor.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/index_filter_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/index_filter_commands.cpp g++ -o build/opt/mongo/db/commands/count_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/count_cmd.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/index_filter_commands.cpp:43: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/index_filter_commands.cpp:43: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/check_quorum_for_config_change.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/check_quorum_for_config_change.cpp g++ -o build/opt/mongo/db/s/config/configsvr_add_shard_to_zone_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_add_shard_to_zone_command.cpp 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/commands/count_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/count_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/abstract_async_component.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/abstract_async_component.cpp g++ -o build/opt/mongo/db/index/fts_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/fts_access_method.cpp 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/s/config/configsvr_add_shard_to_zone_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_add_shard_to_zone_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/exec/libworking_set.a build/opt/mongo/db/exec/working_set.o Skipping ranlib for thin archive build/opt/mongo/db/exec/libworking_set.a ar rcsTD build/opt/mongo/db/storage/mmap_v1/libpaths.a build/opt/mongo/db/storage/mmap_v1/paths.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libpaths.a g++ -o build/opt/mongo/db/free_mon/free_mon_processor.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_processor.cpp ar rcsTD build/opt/mongo/db/repl/libabstract_async_component.a build/opt/mongo/db/repl/abstract_async_component.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libabstract_async_component.a g++ -o build/opt/mongo/db/service_entry_point_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/service_entry_point_common.cpp g++ -o build/opt/mongo/db/repl/collection_bulk_loader_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/collection_bulk_loader_impl.cpp ar rcsTD build/opt/mongo/db/storage/libstorage_engine_metadata.a build/opt/mongo/db/storage/storage_engine_metadata.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_engine_metadata.a g++ -o build/opt/mongo/db/catalog/collection_info_cache.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/collection_info_cache.cpp g++ -o build/opt/mongo/db/index/haystack_access_method.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index/haystack_access_method.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection_info_cache.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection_info_cache.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/collection_bulk_loader_impl.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/collection_bulk_loader_impl.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/service_entry_point_common.h:34, from src/mongo/db/service_entry_point_common.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/service_entry_point_common.h:34, from src/mongo/db/service_entry_point_common.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/elect_cmd_runner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/elect_cmd_runner.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index/haystack_access_method_internal.h:36, from src/mongo/db/index/haystack_access_method.cpp:45: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index/haystack_access_method_internal.h:36, from src/mongo/db/index/haystack_access_method.cpp:45: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libintrospect.a build/opt/mongo/db/introspect.o Skipping ranlib for thin archive build/opt/mongo/db/libintrospect.a g++ -o build/opt/mongo/db/commands/touch.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/touch.cpp ar rcsTD build/opt/mongo/db/commands/libstandalone.a build/opt/mongo/db/commands/count_cmd.o build/opt/mongo/db/commands/create_indexes.o build/opt/mongo/db/commands/current_op.o build/opt/mongo/db/commands/dbcommands.o build/opt/mongo/db/commands/distinct.o build/opt/mongo/db/commands/drop_indexes.o build/opt/mongo/db/commands/explain_cmd.o build/opt/mongo/db/commands/find_and_modify.o build/opt/mongo/db/commands/find_cmd.o build/opt/mongo/db/commands/geo_near_cmd.o build/opt/mongo/db/commands/get_last_error.o build/opt/mongo/db/commands/getmore_cmd.o build/opt/mongo/db/commands/index_filter_commands.o build/opt/mongo/db/commands/kill_op.o build/opt/mongo/db/commands/killcursors_cmd.o build/opt/mongo/db/commands/lock_info.o build/opt/mongo/db/commands/list_collections.o build/opt/mongo/db/commands/list_databases.o build/opt/mongo/db/commands/list_indexes.o build/opt/mongo/db/commands/pipeline_command.o build/opt/mongo/db/commands/plan_cache_commands.o build/opt/mongo/db/commands/rename_collection_cmd.o build/opt/mongo/db/commands/repair_cursor.o build/opt/mongo/db/commands/run_aggregate.o build/opt/mongo/db/commands/sleep_command.o build/opt/mongo/db/commands/validate.o build/opt/mongo/db/commands/write_commands/write_commands.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libstandalone.a ar rcsTD build/opt/mongo/db/storage/kv/libkv_database_catalog_entry_core.a build/opt/mongo/db/storage/kv/kv_database_catalog_entry_base.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_database_catalog_entry_core.a g++ -o build/opt/mongo/db/s/move_primary_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/move_primary_command.cpp ar rcsTD build/opt/mongo/db/catalog/libcollection_info_cache.a build/opt/mongo/db/catalog/collection_info_cache.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcollection_info_cache.a g++ -o build/opt/mongo/db/s/merge_chunks_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/merge_chunks_command.cpp g++ -o build/opt/mongo/db/repl/sync_source_feedback.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/sync_source_feedback.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/touch.cpp:44: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/touch.cpp:44: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/move_primary_command.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/exec/collection_scan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/collection_scan.cpp 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/s/move_primary_command.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/bgsync.h:38, from src/mongo/db/repl/sync_source_feedback.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/data_replicator_external_state.h:36, from src/mongo/db/repl/bgsync.h:38, from src/mongo/db/repl/sync_source_feedback.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/merge_chunks_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/merge_chunks_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/exec/collection_scan.h:37, from src/mongo/db/exec/collection_scan.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/exec/collection_scan.h:37, from src/mongo/db/exec/collection_scan.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/index/libindex_access_methods.a build/opt/mongo/db/index/2d_access_method.o build/opt/mongo/db/index/btree_access_method.o build/opt/mongo/db/index/fts_access_method.o build/opt/mongo/db/index/hash_access_method.o build/opt/mongo/db/index/haystack_access_method.o build/opt/mongo/db/index/s2_access_method.o Skipping ranlib for thin archive build/opt/mongo/db/index/libindex_access_methods.a g++ -o build/opt/mongo/db/s/config/configsvr_split_chunk_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_split_chunk_command.cpp ar rcsTD build/opt/mongo/db/repl/libstorage_interface_impl.a build/opt/mongo/db/repl/storage_interface_impl.o build/opt/mongo/db/repl/collection_bulk_loader_impl.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libstorage_interface_impl.a g++ -o build/opt/mongo/db/exec/idhack.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/idhack.cpp 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/s/config/configsvr_split_chunk_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_split_chunk_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/idhack.h:35, from src/mongo/db/exec/idhack.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/idhack.h:35, from src/mongo/db/exec/idhack.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/kv/libkv_prefix.a build/opt/mongo/db/storage/kv/kv_prefix.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_prefix.a g++ -o build/opt/mongo/db/storage/kv/kv_storage_engine.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/kv/kv_storage_engine.cpp g++ -o build/opt/mongo/db/exec/scoped_timer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/scoped_timer.cpp ar rcsTD build/opt/mongo/db/repl/libroll_back_local_operations.a build/opt/mongo/db/repl/roll_back_local_operations.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libroll_back_local_operations.a g++ -o build/opt/mongo/db/repl/scatter_gather_runner.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/scatter_gather_runner.cpp g++ -o build/opt/mongo/db/storage/mmap_v1/mmap_v1_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/mmap_v1_options.cpp ar rcsTD build/opt/mongo/db/libcloner.a build/opt/mongo/db/cloner.o Skipping ranlib for thin archive build/opt/mongo/db/libcloner.a g++ -o build/opt/mongo/db/exec/text_or.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/text_or.cpp ar rcsTD build/opt/mongo/db/libop_observer_impl.a build/opt/mongo/db/op_observer_impl.o Skipping ranlib for thin archive build/opt/mongo/db/libop_observer_impl.a g++ -o build/opt/mongo/db/storage/mmap_v1/record_store_v1_base.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/text_or.h:35, from src/mongo/db/exec/text_or.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/text_or.h:35, from src/mongo/db/exec/text_or.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/storage/mmap_v1/record_store_v1_capped.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/mmap_v1/record_store_v1_capped.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/storage/mmap_v1/record_store_v1_base.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/apply_ops.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/apply_ops.cpp g++ -o build/opt/mongo/db/commands/do_txn_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/do_txn_cmd.cpp g++ -o build/opt/mongo/db/catalog/index_key_validate.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_key_validate.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/apply_ops.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/apply_ops.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/cleanup_orphaned_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/cleanup_orphaned_cmd.cpp 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/matcher/expression_parser.h:37, from src/mongo/db/catalog/index_key_validate.cpp:46: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_parser.h:37, from src/mongo/db/catalog/index_key_validate.cpp:46: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/commands/do_txn_cmd.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/bson/util/bson_check.h:35, from src/mongo/db/commands/do_txn_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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/dbhash.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/dbhash.cpp ar rcsTD build/opt/mongo/db/storage/kv/libkv_storage_engine.a build/opt/mongo/db/storage/kv/kv_storage_engine.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_storage_engine.a g++ -o build/opt/mongo/db/repl/member_data.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/member_data.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/cleanup_orphaned_cmd.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/cleanup_orphaned_cmd.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/dbhash.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/dbhash.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/topology_coordinator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/topology_coordinator.cpp ar rcsTD build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a build/opt/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_init.o Skipping ranlib for thin archive build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a g++ -o build/opt/mongo/db/retryable_writes_stats.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/retryable_writes_stats.cpp 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/commands/server_status.h:35, from src/mongo/db/retryable_writes_stats.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/server_status.h:35, from src/mongo/db/retryable_writes_stats.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/matcher/libexpressions_mongod_only.a build/opt/mongo/db/matcher/extensions_callback_real.o build/opt/mongo/db/matcher/expression_text.o build/opt/mongo/db/matcher/expression_where.o Skipping ranlib for thin archive build/opt/mongo/db/matcher/libexpressions_mongod_only.a ar rcsTD build/opt/mongo/db/storage/mmap_v1/librecord_store_v1.a build/opt/mongo/db/storage/mmap_v1/record_store_v1_base.o build/opt/mongo/db/storage/mmap_v1/record_store_v1_capped.o build/opt/mongo/db/storage/mmap_v1/record_store_v1_capped_iterator.o build/opt/mongo/db/storage/mmap_v1/record_store_v1_repair_iterator.o build/opt/mongo/db/storage/mmap_v1/record_store_v1_simple.o build/opt/mongo/db/storage/mmap_v1/record_store_v1_simple_iterator.o build/opt/mongo/db/storage/mmap_v1/touch_pages.o ar rcsTD build/opt/mongo/db/storage/mmap_v1/libmmap_v1_options.a build/opt/mongo/db/storage/mmap_v1/mmap_v1_options.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/librecord_store_v1.a Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libmmap_v1_options.a g++ -o build/opt/mongo/db/ops/parsed_delete.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/ops/parsed_delete.cpp ar rcsTD build/opt/mongo/db/repl/libscatter_gather.a build/opt/mongo/db/repl/scatter_gather_algorithm.o build/opt/mongo/db/repl/scatter_gather_runner.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libscatter_gather.a ar rcsTD build/opt/mongo/db/repl/libdatabase_cloner.a build/opt/mongo/db/repl/database_cloner.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libdatabase_cloner.a g++ -o build/opt/mongo/db/catalog/health_log_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/catalog/health_log_gen.cpp g++ -o build/opt/mongo/db/commands/compact.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/compact.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/ops/parsed_delete.h:35, from src/mongo/db/ops/parsed_delete.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/ops/parsed_delete.h:35, from src/mongo/db/ops/parsed_delete.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/db/catalog/health_log_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/catalog/health_log_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/collection_to_capped.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/collection_to_capped.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/compact.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/compact.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/clone_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/clone_collection.cpp g++ -o build/opt/mongo/db/commands/oplog_note.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/oplog_note.cpp 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/commands/collection_to_capped.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/collection_to_capped.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/commands/oplog_note.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/oplog_note.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/clone_collection.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/clone_collection.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/dbcheck.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/dbcheck.cpp g++ -o build/opt/mongo/db/commands/group_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/group_cmd.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/dbcheck.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog/database.h:40, from src/mongo/db/commands/dbcheck.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/invalidate_view_catalog_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/invalidate_view_catalog_command.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/group_cmd.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/commands/group_cmd.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/commands/user_management_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/commands/user_management_commands.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/invalidate_view_catalog_command.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/commands/invalidate_view_catalog_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libtopology_coordinator.a build/opt/mongo/db/repl/heartbeat_response_action.o build/opt/mongo/db/repl/member_data.o build/opt/mongo/db/repl/topology_coordinator.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libtopology_coordinator.a g++ -o build/opt/mongo/db/s/shardsvr_shard_collection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/shardsvr_shard_collection.cpp g++ -o build/opt/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/clone_collection_options_from_primary_shard_cmd.cpp g++ -o build/opt/mongo/db/s/move_chunk_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/move_chunk_command.cpp g++ -o build/opt/mongo/db/s/clone_catalog_data_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/clone_catalog_data_command.cpp 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/commands/user_management_commands.cpp:63: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/commands/user_management_commands.cpp:63: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/clone_collection_options_from_primary_shard_cmd.cpp:36: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/clone_collection_options_from_primary_shard_cmd.cpp:36: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/move_chunk_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/move_chunk_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/shardsvr_shard_collection.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/shardsvr_shard_collection.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/clone_catalog_data_command.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/clone_catalog_data_command.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config/configsvr_move_chunk_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_move_chunk_command.cpp g++ -o build/opt/mongo/db/s/set_shard_version_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/set_shard_version_command.cpp g++ -o build/opt/mongo/db/s/config/configsvr_update_zone_key_range_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_update_zone_key_range_command.cpp g++ -o build/opt/mongo/db/s/flush_routing_table_cache_updates_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/flush_routing_table_cache_updates_command.cpp 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/s/config/configsvr_move_chunk_command.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_move_chunk_command.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/s/config/configsvr_move_primary_command.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/config/configsvr_move_primary_command.cpp g++ -o build/opt/mongo/db/repl/sync_tail.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/sync_tail.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/set_shard_version_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/set_shard_version_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:40: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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/s/config/configsvr_update_zone_key_range_command.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/s/flush_routing_table_cache_updates_command.cpp:40: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ 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/s/config/configsvr_update_zone_key_range_command.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/s/config/configsvr_move_primary_command.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/s/config/configsvr_move_primary_command.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/sync_tail.h:40, from src/mongo/db/repl/sync_tail.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/oplog_applier.h:45, from src/mongo/db/repl/sync_tail.h:40, from src/mongo/db/repl/sync_tail.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/replication_info.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_info.cpp ar rcsTD build/opt/mongo/db/commands/libmongod.a build/opt/mongo/db/commands/apply_ops_cmd.o build/opt/mongo/db/commands/clone.o build/opt/mongo/db/commands/clone_collection.o build/opt/mongo/db/commands/collection_to_capped.o build/opt/mongo/db/commands/compact.o build/opt/mongo/db/commands/copydb.o build/opt/mongo/db/commands/copydb_start_commands.o build/opt/mongo/db/commands/cpuload.o build/opt/mongo/db/commands/dbcheck.o build/opt/mongo/db/commands/dbcommands_d.o build/opt/mongo/db/commands/dbhash.o build/opt/mongo/db/commands/do_txn_cmd.o build/opt/mongo/db/commands/driverHelpers.o build/opt/mongo/db/commands/eval.o build/opt/mongo/db/commands/group_cmd.o build/opt/mongo/db/commands/haystack.o build/opt/mongo/db/commands/invalidate_view_catalog_command.o build/opt/mongo/db/commands/mr.o build/opt/mongo/db/commands/oplog_application_checks.o build/opt/mongo/db/commands/oplog_note.o build/opt/mongo/db/commands/parallel_collection_scan.o build/opt/mongo/db/commands/resize_oplog.o build/opt/mongo/db/commands/restart_catalog_command.o build/opt/mongo/db/commands/set_feature_compatibility_version_command.o build/opt/mongo/db/commands/shutdown_d.o build/opt/mongo/db/commands/snapshot_management.o build/opt/mongo/db/commands/top_command.o build/opt/mongo/db/commands/touch.o build/opt/mongo/db/commands/txn_cmds.o build/opt/mongo/db/commands/user_management_commands.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libmongod.a g++ -o build/opt/mongo/db/mongod_options_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/mongod_options_init.cpp g++ -o build/opt/mongo/db/repl/do_txn.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/do_txn.cpp g++ -o build/opt/mongo/util/elapsed_tracker.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/elapsed_tracker.cpp ar rcsTD build/opt/mongo/util/libelapsed_tracker.a build/opt/mongo/util/elapsed_tracker.o Skipping ranlib for thin archive build/opt/mongo/util/libelapsed_tracker.a g++ -o build/opt/mongo/db/storage/storage_engine_lock_file.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/storage/storage_engine_lock_file.cpp 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/repl/replication_info.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/auth/sasl_mechanism_registry.h:39, from src/mongo/db/repl/replication_info.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/projection.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/projection.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/do_txn.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/do_txn.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/exec/projection_exec.h:35, from src/mongo/db/exec/projection.h:35, from src/mongo/db/exec/projection.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/libmongod_options_init.a build/opt/mongo/db/mongod_options_init.o 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/exec/projection_exec.h:35, from src/mongo/db/exec/projection.h:35, from src/mongo/db/exec/projection.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/libmongod_options_init.a ar rcsTD build/opt/mongo/db/libservice_entry_point_common.a build/opt/mongo/db/service_entry_point_common.o Skipping ranlib for thin archive build/opt/mongo/db/libservice_entry_point_common.a g++ -o build/opt/mongo/db/s/op_observer_sharding_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/s/op_observer_sharding_impl.cpp ar rcsTD build/opt/mongo/db/commands/libmongod_fsync.a build/opt/mongo/db/commands/fsync.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libmongod_fsync.a ar rcsTD build/opt/mongo/db/libmongod_options.a build/opt/mongo/db/mongod_options.o Skipping ranlib for thin archive build/opt/mongo/db/libmongod_options.a g++ -o build/opt/mongo/db/repl/replication_coordinator_impl_heartbeat.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp g++ -o build/opt/mongo/db/repl/replication_consistency_markers_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_consistency_markers_impl.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer_impl.h:33, from src/mongo/db/s/op_observer_sharding_impl.h:33, from src/mongo/db/s/op_observer_sharding_impl.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/op_observer.h:37, from src/mongo/db/op_observer_impl.h:33, from src/mongo/db/s/op_observer_sharding_impl.h:33, from src/mongo/db/s/op_observer_sharding_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:50: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp:50: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/repl/replication_consistency_markers_impl.cpp:39: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/concurrency/write_conflict_exception.h:38, from src/mongo/db/repl/replication_consistency_markers_impl.cpp:39: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/s/libcommands_db_s.a build/opt/mongo/db/s/check_sharding_index_command.o build/opt/mongo/db/s/cleanup_orphaned_cmd.o build/opt/mongo/db/s/clone_catalog_data_command.o build/opt/mongo/db/s/clone_collection_options_from_primary_shard_cmd.o build/opt/mongo/db/s/config/configsvr_add_shard_command.o build/opt/mongo/db/s/config/configsvr_add_shard_to_zone_command.o build/opt/mongo/db/s/config/configsvr_commit_chunk_migration_command.o build/opt/mongo/db/s/config/configsvr_commit_move_primary_command.o build/opt/mongo/db/s/config/configsvr_control_balancer_command.o build/opt/mongo/db/s/config/configsvr_create_collection_command.o build/opt/mongo/db/s/config/configsvr_create_database_command.o build/opt/mongo/db/s/config/configsvr_drop_collection_command.o build/opt/mongo/db/s/config/configsvr_drop_database_command.o build/opt/mongo/db/s/config/configsvr_enable_sharding_command.o build/opt/mongo/db/s/config/configsvr_merge_chunk_command.o build/opt/mongo/db/s/config/configsvr_move_chunk_command.o build/opt/mongo/db/s/config/configsvr_move_primary_command.o build/opt/mongo/db/s/config/configsvr_remove_shard_command.o build/opt/mongo/db/s/config/configsvr_remove_shard_from_zone_command.o build/opt/mongo/db/s/config/configsvr_shard_collection_command.o build/opt/mongo/db/s/config/configsvr_split_chunk_command.o build/opt/mongo/db/s/config/configsvr_update_zone_key_range_command.o build/opt/mongo/db/s/flush_database_cache_updates_command.o build/opt/mongo/db/s/flush_routing_table_cache_updates_command.o build/opt/mongo/db/s/get_database_version_command.o build/opt/mongo/db/s/get_shard_version_command.o build/opt/mongo/db/s/merge_chunks_command.o build/opt/mongo/db/s/migration_chunk_cloner_source_legacy_commands.o build/opt/mongo/db/s/migration_destination_manager_legacy_commands.o build/opt/mongo/db/s/move_chunk_command.o build/opt/mongo/db/s/move_primary_command.o build/opt/mongo/db/s/set_shard_version_command.o build/opt/mongo/db/s/shardsvr_shard_collection.o build/opt/mongo/db/s/sharding_server_status.o build/opt/mongo/db/s/sharding_state_command.o build/opt/mongo/db/s/split_chunk_command.o build/opt/mongo/db/s/split_vector_command.o build/opt/mongo/db/s/unset_sharding_command.o Skipping ranlib for thin archive build/opt/mongo/db/s/libcommands_db_s.a g++ -o build/opt/mongo/db/exec/delete.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/delete.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/delete.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/delete.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/repl/drop_pending_collection_reaper.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/drop_pending_collection_reaper.cpp ar rcsTD build/opt/mongo/db/s/libop_observer_sharding_impl.a build/opt/mongo/db/s/op_observer_sharding_impl.o Skipping ranlib for thin archive build/opt/mongo/db/s/libop_observer_sharding_impl.a g++ -o build/opt/mongo/db/free_mon/free_mon_queue.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_queue.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/drop_pending_collection_reaper.cpp:42: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/repl/storage_interface.h:42, from src/mongo/db/repl/drop_pending_collection_reaper.cpp:42: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/index_legacy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/index_legacy.cpp g++ -o build/opt/mongo/db/exec/near.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/near.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index_legacy.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/index_legacy.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/liboplog.a build/opt/mongo/db/repl/apply_ops.o build/opt/mongo/db/repl/do_txn.o build/opt/mongo/db/repl/oplog.o build/opt/mongo/db/repl/apply_ops_gen.o ar rcsTD build/opt/mongo/db/repl/libmultiapplier.a build/opt/mongo/db/repl/multiapplier.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog.a Skipping ranlib for thin archive build/opt/mongo/db/repl/libmultiapplier.a g++ -o build/opt/mongo/db/exec/merge_sort.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/merge_sort.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/near.h:39, from src/mongo/db/exec/near.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ g++ -o build/opt/mongo/db/exec/oplogstart.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/oplogstart.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/near.h:39, from src/mongo/db/exec/near.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a build/opt/mongo/db/repl/replication_consistency_markers_impl.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a g++ -o build/opt/mongo/db/exec/change_stream_proxy.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/change_stream_proxy.cpp 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/matcher/expression_leaf.h:36, from src/mongo/db/exec/collection_scan.h:37, from src/mongo/db/exec/oplogstart.h:36, from src/mongo/db/exec/oplogstart.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/matcher/expression_leaf.h:36, from src/mongo/db/exec/collection_scan.h:37, from src/mongo/db/exec/oplogstart.h:36, from src/mongo/db/exec/oplogstart.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/query/query_yield.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/query_yield.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/pipeline_proxy.h:36, from src/mongo/db/exec/change_stream_proxy.h:32, from src/mongo/db/exec/change_stream_proxy.cpp:32: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/pipeline_proxy.h:36, from src/mongo/db/exec/change_stream_proxy.h:32, from src/mongo/db/exec/change_stream_proxy.cpp:32: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/write_stage_common.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/write_stage_common.cpp g++ -o build/opt/mongo/db/query/explain.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/query/explain.cpp 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/curop.h:37, from src/mongo/db/query/query_yield.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/curop.h:37, from src/mongo/db/query/query_yield.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/text_match.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/text_match.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/write_stage_common.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/write_stage_common.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query/explain.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query/explain.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/geo_near.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/geo_near.cpp g++ -o build/opt/mongo/db/exec/count_scan.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/count_scan.cpp g++ -o build/opt/mongo/db/pipeline/pipeline_d.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/pipeline/pipeline_d.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/near.h:39, from src/mongo/db/exec/geo_near.h:33, from src/mongo/db/exec/geo_near.cpp:34: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/near.h:39, from src/mongo/db/exec/geo_near.h:33, from src/mongo/db/exec/geo_near.cpp:34: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/exec/index_iterator.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/exec/index_iterator.cpp 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/exec/count_scan.h:37, from src/mongo/db/exec/count_scan.cpp:31: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/exec/count_scan.h:37, from src/mongo/db/exec/count_scan.cpp:31: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/mongo_process_interface.h:44, from src/mongo/db/pipeline/mongo_process_common.h:36, from src/mongo/db/pipeline/pipeline_d.h:40, from src/mongo/db/pipeline/pipeline_d.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/mongo_process_interface.h:44, from src/mongo/db/pipeline/mongo_process_common.h:36, from src/mongo/db/pipeline/pipeline_d.h:40, from src/mongo/db/pipeline/pipeline_d.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/librollback_checker.a build/opt/mongo/db/repl/rollback_checker.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_checker.a g++ -o build/opt/mongo/db/free_mon/free_mon_storage.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_storage.cpp ar rcsTD build/opt/mongo/db/repl/libreplication_info.a build/opt/mongo/db/repl/replication_info.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplication_info.a ar rcsTD build/opt/mongo/db/libindex_d.a build/opt/mongo/db/index_builder.o build/opt/mongo/db/index_legacy.o build/opt/mongo/db/index_rebuilder.o Skipping ranlib for thin archive build/opt/mongo/db/libindex_d.a ar rcsTD build/opt/mongo/db/repl/librepl_set_status_commands.a build/opt/mongo/db/repl/repl_set_command.o build/opt/mongo/db/repl/repl_set_get_status_cmd.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librepl_set_status_commands.a g++ -o build/opt/mongo/db/dbmain.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/dbmain.cpp ar rcsTD build/opt/mongo/db/libttl_d.a build/opt/mongo/db/ttl.o Skipping ranlib for thin archive build/opt/mongo/db/libttl_d.a ar rcsTD build/opt/mongo/db/storage/kv/libkv_engine.a build/opt/mongo/db/storage/kv/kv_database_catalog_entry.o ar rcsTD build/opt/mongo/db/libservice_liaison_mongod.a build/opt/mongo/db/service_liaison_mongod.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_engine.a Skipping ranlib for thin archive build/opt/mongo/db/libservice_liaison_mongod.a g++ -o build/opt/mongo/db/free_mon/free_mon_protocol_gen.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp ar rcsTD build/opt/mongo/db/storage/libstorage_engine_lock_file.a build/opt/mongo/db/storage/storage_engine_lock_file.o build/opt/mongo/db/storage/storage_engine_lock_file_posix.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_engine_lock_file.a g++ -o build/opt/mongo/db/catalog/index_catalog_entry_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/catalog/index_catalog_entry_impl.cpp 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/index_iterator.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/exec/index_iterator.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/catalog/index_catalog_entry_impl.h:41, from src/mongo/db/catalog/index_catalog_entry_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/catalog/index_catalog_entry_impl.h:41, from src/mongo/db/catalog/index_catalog_entry_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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 build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp:16: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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 build/opt/mongo/db/free_mon/free_mon_protocol_gen.cpp:16: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/free_mon/free_mon_storage.cpp:37: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/plan_cache.h:37, from src/mongo/db/catalog/collection_info_cache.h:35, from src/mongo/db/catalog/collection.h:43, from src/mongo/db/catalog_raii.h:34, from src/mongo/db/db_raii.h:35, from src/mongo/db/free_mon/free_mon_storage.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libdrop_pending_collection_reaper.a build/opt/mongo/db/repl/drop_pending_collection_reaper.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libdrop_pending_collection_reaper.a ar rcsTD build/opt/mongo/db/libsystem_index.a build/opt/mongo/db/system_index.o Skipping ranlib for thin archive build/opt/mongo/db/libsystem_index.a g++ -o build/opt/mongo/db/background.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/background.cpp g++ -o build/opt/mongo/db/free_mon/free_mon_controller.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/free_mon/free_mon_controller.cpp g++ -o build/opt/mongo/db/command_can_run_here.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/command_can_run_here.cpp g++ -o build/opt/mongo/db/repl/noop_writer.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/noop_writer.cpp 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/command_can_run_here.h:35, from src/mongo/db/command_can_run_here.cpp:33: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/command_can_run_here.h:35, from src/mongo/db/command_can_run_here.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/repl/noop_writer.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/repl/noop_writer.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ g++ -o build/opt/mongo/db/kill_sessions_local.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/kill_sessions_local.cpp ar rcsTD build/opt/mongo/db/catalog/libindex_key_validate.a build/opt/mongo/db/catalog/index_key_validate.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libindex_key_validate.a ar rcsTD build/opt/mongo/db/repl/liboplogreader.a build/opt/mongo/db/repl/oplogreader.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplogreader.a ar rcsTD build/opt/mongo/db/catalog/libhealth_log.a build/opt/mongo/db/catalog/health_log.o build/opt/mongo/db/catalog/health_log_gen.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libhealth_log.a ar rcsTD build/opt/mongo/db/repl/libdatabases_cloner.a build/opt/mongo/db/repl/databases_cloner.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libdatabases_cloner.a g++ -o build/opt/mongo/db/repl/replication_coordinator_impl.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_coordinator_impl.cpp g++ -o build/opt/mongo/db/repl/replication_coordinator_impl_elect.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/s2 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/db/repl/replication_coordinator_impl_elect.cpp ar rcsTD build/opt/mongo/db/catalog/libcatalog_impl.a build/opt/mongo/db/catalog/catalog_control.o build/opt/mongo/db/catalog/collection_compact.o build/opt/mongo/db/catalog/collection_impl.o build/opt/mongo/db/catalog/collection_info_cache_impl.o build/opt/mongo/db/catalog/database_holder_impl.o build/opt/mongo/db/catalog/database_impl.o build/opt/mongo/db/catalog/index_catalog_entry_impl.o build/opt/mongo/db/catalog/index_catalog_impl.o build/opt/mongo/db/catalog/index_consistency.o build/opt/mongo/db/catalog/index_create_impl.o build/opt/mongo/db/catalog/private/record_store_validate_adaptor.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcatalog_impl.a ar rcsTD build/opt/mongo/db/storage/libjournal_listener.a build/opt/mongo/db/storage/journal_listener.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libjournal_listener.a ar rcsTD build/opt/mongo/db/libbackground.a build/opt/mongo/db/background.o Skipping ranlib for thin archive build/opt/mongo/db/libbackground.a ar rcsTD build/opt/mongo/db/exec/libscoped_timer.a build/opt/mongo/db/exec/scoped_timer.o Skipping ranlib for thin archive build/opt/mongo/db/exec/libscoped_timer.a ar rcsTD build/opt/mongo/db/libkeys_collection_client_direct.a build/opt/mongo/db/keys_collection_client_direct.o Skipping ranlib for thin archive build/opt/mongo/db/libkeys_collection_client_direct.a ar rcsTD build/opt/mongo/db/repl/liboplog_application.a build/opt/mongo/db/repl/applier_helpers.o build/opt/mongo/db/repl/oplog_applier.o build/opt/mongo/db/repl/session_update_tracker.o build/opt/mongo/db/repl/sync_tail.o Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_application.a ar rcsTD build/opt/mongo/db/storage/libstorage_file_util.a build/opt/mongo/db/storage/storage_file_util.o Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_file_util.a ar rcsTD build/opt/mongo/db/concurrency/libwrite_conflict_exception.a build/opt/mongo/db/concurrency/write_conflict_exception.o Skipping ranlib for thin archive build/opt/mongo/db/concurrency/libwrite_conflict_exception.a ar rcsTD build/opt/mongo/db/librepair_database_and_check_version.a build/opt/mongo/db/repair_database_and_check_version.o Skipping ranlib for thin archive build/opt/mongo/db/librepair_database_and_check_version.a ar rcsTD build/opt/mongo/db/libdb_raii.a build/opt/mongo/db/db_raii.o Skipping ranlib for thin archive build/opt/mongo/db/libdb_raii.a ar rcsTD build/opt/mongo/db/libperiodic_runner_job_abort_expired_transactions.a build/opt/mongo/db/periodic_runner_job_abort_expired_transactions.o Skipping ranlib for thin archive build/opt/mongo/db/libperiodic_runner_job_abort_expired_transactions.a ar rcsTD build/opt/mongo/db/libop_observer.a build/opt/mongo/db/op_observer.o Skipping ranlib for thin archive build/opt/mongo/db/libop_observer.a ar rcsTD build/opt/mongo/db/storage/mmap_v1/libcompress.a build/opt/mongo/db/storage/mmap_v1/compress.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libcompress.a ar rcsTD build/opt/mongo/db/libdbhelpers.a build/opt/mongo/db/dbhelpers.o Skipping ranlib for thin archive build/opt/mongo/db/libdbhelpers.a ar rcsTD build/opt/mongo/db/commands/liblist_collections_filter.a build/opt/mongo/db/commands/list_collections_filter.o Skipping ranlib for thin archive build/opt/mongo/db/commands/liblist_collections_filter.a ar rcsTD build/opt/mongo/db/storage/mmap_v1/libbtree.a build/opt/mongo/db/storage/mmap_v1/btree/btree_logic.o build/opt/mongo/db/storage/mmap_v1/btree/btree_interface.o build/opt/mongo/db/storage/mmap_v1/btree/btree_ondisk.o build/opt/mongo/db/storage/mmap_v1/btree/key.o Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/libbtree.a ar rcsTD build/opt/mongo/db/auth/libauth_impl_internal_local.a build/opt/mongo/db/auth/authz_manager_external_state_local.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libauth_impl_internal_local.a ar rcsTD build/opt/mongo/db/libcatalog_raii.a build/opt/mongo/db/catalog_raii.o build/opt/mongo/db/retryable_writes_stats.o build/opt/mongo/db/server_transactions_metrics.o build/opt/mongo/db/session.o build/opt/mongo/db/session_catalog.o build/opt/mongo/db/single_transaction_stats.o build/opt/mongo/db/transaction_history_iterator.o build/opt/mongo/db/session_txn_record_gen.o build/opt/mongo/db/transactions_stats_gen.o Skipping ranlib for thin archive build/opt/mongo/db/libcatalog_raii.a ar rcsTD build/opt/mongo/db/free_mon/libfree_mon.a build/opt/mongo/db/free_mon/free_mon_processor.o build/opt/mongo/db/free_mon/free_mon_queue.o build/opt/mongo/db/free_mon/free_mon_op_observer.o build/opt/mongo/db/free_mon/free_mon_storage.o build/opt/mongo/db/free_mon/free_mon_controller.o build/opt/mongo/db/free_mon/free_mon_protocol_gen.o build/opt/mongo/db/free_mon/free_mon_commands_gen.o build/opt/mongo/db/free_mon/free_mon_storage_gen.o Skipping ranlib for thin archive build/opt/mongo/db/free_mon/libfree_mon.a ar rcsTD build/opt/mongo/db/fts/libftsmongod.a build/opt/mongo/db/fts/ftsmongod.o ar rcsTD build/opt/mongo/db/libcurop_metrics.a build/opt/mongo/db/curop_metrics.o Skipping ranlib for thin archive build/opt/mongo/db/fts/libftsmongod.a Skipping ranlib for thin archive build/opt/mongo/db/libcurop_metrics.a g++ -o build/opt/mongo/shell/linenoise.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/linenoise.cpp g++ -o build/opt/mongo/shell/mk_wcwidth.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/mk_wcwidth.cpp g++ -o build/opt/mongo/shell/shell_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/shell_options.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:36, from src/mongo/db/kill_sessions_local.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/cursor_manager.h:36, from src/mongo/db/kill_sessions_local.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl.cpp:35: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl.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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl_elect.cpp:38: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/client/fetcher.h:43, from src/mongo/db/repl/collection_cloner.h:41, from src/mongo/db/repl/initial_syncer.h:44, from src/mongo/db/repl/replication_coordinator_impl.h:40, from src/mongo/db/repl/replication_coordinator_impl_elect.cpp:38: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libcommand_can_run_here.a build/opt/mongo/db/command_can_run_here.o Skipping ranlib for thin archive build/opt/mongo/db/libcommand_can_run_here.a g++ -o build/opt/mongo/shell/shell_utils.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/shell_utils.cpp ar rcsTD build/opt/mongo/db/libquery_exec.a build/opt/mongo/db/clientcursor.o build/opt/mongo/db/cursor_manager.o build/opt/mongo/db/exec/and_hash.o build/opt/mongo/db/exec/and_sorted.o build/opt/mongo/db/exec/cached_plan.o build/opt/mongo/db/exec/change_stream_proxy.o build/opt/mongo/db/exec/collection_scan.o build/opt/mongo/db/exec/count.o build/opt/mongo/db/exec/count_scan.o build/opt/mongo/db/exec/delete.o build/opt/mongo/db/exec/distinct_scan.o build/opt/mongo/db/exec/ensure_sorted.o build/opt/mongo/db/exec/eof.o build/opt/mongo/db/exec/fetch.o build/opt/mongo/db/exec/geo_near.o build/opt/mongo/db/exec/group.o build/opt/mongo/db/exec/idhack.o build/opt/mongo/db/exec/index_iterator.o build/opt/mongo/db/exec/index_scan.o build/opt/mongo/db/exec/keep_mutations.o build/opt/mongo/db/exec/limit.o build/opt/mongo/db/exec/merge_sort.o build/opt/mongo/db/exec/multi_iterator.o build/opt/mongo/db/exec/multi_plan.o build/opt/mongo/db/exec/near.o build/opt/mongo/db/exec/oplogstart.o build/opt/mongo/db/exec/or.o build/opt/mongo/db/exec/pipeline_proxy.o build/opt/mongo/db/exec/plan_stage.o build/opt/mongo/db/exec/projection.o build/opt/mongo/db/exec/projection_exec.o build/opt/mongo/db/exec/queued_data_stage.o build/opt/mongo/db/exec/shard_filter.o build/opt/mongo/db/exec/skip.o build/opt/mongo/db/exec/sort.o build/opt/mongo/db/exec/sort_key_generator.o build/opt/mongo/db/exec/subplan.o build/opt/mongo/db/exec/text.o build/opt/mongo/db/exec/text_match.o build/opt/mongo/db/exec/text_or.o build/opt/mongo/db/exec/update.o build/opt/mongo/db/exec/working_set_common.o build/opt/mongo/db/exec/write_stage_common.o build/opt/mongo/db/ops/parsed_delete.o build/opt/mongo/db/ops/parsed_update.o build/opt/mongo/db/ops/update_lifecycle_impl.o build/opt/mongo/db/ops/update_result.o build/opt/mongo/db/query/explain.o build/opt/mongo/db/query/find.o build/opt/mongo/db/pipeline/document_source_cursor.o build/opt/mongo/db/pipeline/pipeline_d.o build/opt/mongo/db/query/get_executor.o build/opt/mongo/db/query/internal_plans.o build/opt/mongo/db/query/plan_executor.o build/opt/mongo/db/query/plan_ranker.o build/opt/mongo/db/query/plan_yield_policy.o build/opt/mongo/db/query/query_yield.o build/opt/mongo/db/query/stage_builder.o Skipping ranlib for thin archive build/opt/mongo/db/libquery_exec.a g++ -o build/opt/mongo/shell/shell_utils_extended.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/shell_utils_extended.cpp g++ -o build/opt/mongo/shell/shell_utils_launcher.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/shell_utils_launcher.cpp ar rcsTD build/opt/mongo/db/repl/libserveronly_repl.a build/opt/mongo/db/repl/noop_writer.o build/opt/mongo/db/repl/replication_coordinator_external_state_impl.o build/opt/mongo/db/repl/sync_source_feedback.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libserveronly_repl.a /usr/bin/python site_scons/site_tools/jstoh.py build/opt/mongo/shell/mongo-server.cpp src/mongo/shell/servers.js src/mongo/shell/shardingtest.js src/mongo/shell/servers_misc.js src/mongo/shell/replsettest.js src/mongo/shell/bridge.js g++ -o build/opt/mongo/shell/mongo-server.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc build/opt/mongo/shell/mongo-server.cpp ar rcsTD build/opt/mongo/db/libkill_sessions_local.a build/opt/mongo/db/kill_sessions_local.o Skipping ranlib for thin archive build/opt/mongo/db/libkill_sessions_local.a g++ -o build/opt/mongo/shell/dbshell.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/dbshell.cpp g++ -o build/opt/mongo/shell/shell_options_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/shell_options_init.cpp g++ -o build/opt/mongo/shell/bench.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/bench.cpp g++ -o build/opt/mongo/util/password.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/util/password.cpp g++ -o build/opt/mongo/shell/mongodbcr.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/shell/mongodbcr.cpp g++ -o build/opt/mongo/tools/bridge.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/tools/bridge.cpp 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/shell/bench.cpp:41: 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here 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/query_solution.h:38, from src/mongo/db/query/plan_executor.h:39, from src/mongo/db/clientcursor.h:40, from src/mongo/db/query/cursor_response.h:38, from src/mongo/shell/bench.cpp:41: 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] memset(_hashTab, -1, hashTabBytes()); ^ src/mongo/db/pipeline/document_internal.h:47:7: note: 'class mongo::Position' declared here class Position { ^~~~~~~~ ar rcsTD build/opt/mongo/util/libpassword.a build/opt/mongo/util/password.o Skipping ranlib for thin archive build/opt/mongo/util/libpassword.a g++ -o build/opt/mongo/tools/bridge_commands.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/tools/bridge_commands.cpp g++ -o build/opt/mongo/tools/mongobridge_options_init.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/tools/mongobridge_options_init.cpp ar rcsTD build/opt/mongo/libshell_core.a build/opt/mongo/shell/linenoise.o build/opt/mongo/shell/mk_wcwidth.o build/opt/mongo/shell/mongo-server.o build/opt/mongo/shell/shell_options.o build/opt/mongo/shell/shell_utils.o build/opt/mongo/shell/shell_utils_extended.o build/opt/mongo/shell/shell_utils_launcher.o Skipping ranlib for thin archive build/opt/mongo/libshell_core.a g++ -o build/opt/mongo/tools/mongobridge_options.o -c -Woverloaded-virtual -Wno-maybe-uninitialized -std=c++14 -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre -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-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/tools/mongobridge_options.cpp Using tempfile /usr/src/tmp/tmpVhELbU.lnk for command line: g++ -o build/opt/mongo/tools/mongobridge -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/opt/mongo/tools/bridge.o build/opt/mongo/tools/bridge_commands.o build/opt/mongo/tools/mongobridge_options.o build/opt/mongo/tools/mongobridge_options_init.o -Wl,--start-group -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/opt/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_program_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_iostreams.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_filesystem.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_system.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_allocator.a -Wl,--no-whole-archive build/opt/mongo/util/libdebugger.a -Wl,--end-group -lz -lsnappy -lyaml-cpp -lpcre -lpcrecpp -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/usr/src/tmp/tmpVhELbU.lnk ar rcsTD build/opt/mongo/db/repl/librepl_coordinator_impl.a build/opt/mongo/db/repl/check_quorum_for_config_change.o build/opt/mongo/db/repl/elect_cmd_runner.o build/opt/mongo/db/repl/freshness_checker.o build/opt/mongo/db/repl/repl_set_config_checks.o build/opt/mongo/db/repl/replication_coordinator_impl.o build/opt/mongo/db/repl/replication_coordinator_impl_elect.o build/opt/mongo/db/repl/replication_coordinator_impl_elect_v1.o build/opt/mongo/db/repl/replication_coordinator_impl_heartbeat.o build/opt/mongo/db/repl/vote_requester.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librepl_coordinator_impl.a Using tempfile /usr/src/tmp/tmpmfyyRf.lnk for command line: g++ -o build/opt/mongo/mongod -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/opt/mongo/db/dbmain.o -Wl,--start-group -Wl,--whole-archive build/opt/mongo/libmongodmain.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libtcmalloc_set_parameter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libmongod_options_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libstorage_interface_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_set_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_set_status_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_context_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_entry_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_entry_point_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserveronly.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_wiredtiger.a -Wl,--no-whole-archive build/opt/third_party/wiredtiger/libwiredtiger.a -Wl,--whole-archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_init_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/ephemeral_for_test/libstorage_ephemeral_for_test_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libindex_entry_comparison.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/devnull/libstorage_devnull.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/kv/libkv_engine.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/kv/libkv_storage_engine.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/kv/libkv_database_catalog_entry_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/kv/libkv_engine_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libbson_collection_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/devnull/libstorage_devnull_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/ephemeral_for_test/libephemeral_for_test_record_store.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libop_observer_sharding_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libcommands_db_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libshared_cluster_commands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libserveronly_repl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_recovery.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_consistency_markers_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_coordinator_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libtopology_coordinator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libscatter_gather.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreporter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libdata_replicator_external_state_initial_sync.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libbgsync.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libsync_source_resolver.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librs_rollback.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librslog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_source_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libroll_back_local_operations.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_interface_remote.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_interface_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libdata_replicator_external_state_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_buffer_proxy.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_buffer_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_application.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libsharding_runtime_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_initialization.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libreplset_dist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache_factory_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libshard_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libmigration_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libop_observer_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplogreader.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libinitial_syncer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_checker.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_fetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libabstract_oplog_fetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_buffer_blocking_queue.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libmultiapplier.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libdatabases_cloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libdatabase_cloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libcollection_cloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libtask_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libabstract_async_component.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libconnection_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libttl_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libstartup_warnings_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libstartup_warnings_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libprefetch.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libftsmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/librepair_database_and_check_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libperiodic_runner_job_abort_expired_transactions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongodandmongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsecurity_key.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongod_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache_factory_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtransaction_reaper.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_standalone.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_config_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libcluster_write_op.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libstore_possible_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_cursor_cleanup_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_client_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/librouter_exec_stage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/commands/libcluster_commands_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection_rs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libremote_command_targeter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_client_direct.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/librs_local_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libinitialize_snmp.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/free_mon/libfree_mon_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/free_mon/libfree_mon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ftdc/libftdc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libsharding_catalog_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libtype_shard_identity.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcloner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/exec/libstagedebug_cmd.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libstandalone.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ops/libwrite_ops_exec.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/librw_concern_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libtimer_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommand_can_run_here.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libwrite_commands_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/liblist_databases_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/liblist_collections_filter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libcurrent_op_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libshell_protocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libprofile_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libmongod_fsync.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libstorage_mmapv1.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/librecord_access_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/liblogfile.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libmmap.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libfile_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libcompress.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libjournal_listener.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/kv/libkv_prefix.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libfsync_locked.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libmongod_fcv.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkill_sessions_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libkill_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcatalog_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libviews_mongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libmmap_v1_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_engine_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_engine_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libpaths.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_engine_lock_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libbalancer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libdrop_pending_collection_reaper.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libttl_collection_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsystem_index.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/librepair_database.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/librepair_database_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_repair_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_file_util.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libserver_read_concern_write_concern_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libdbcheck.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libop_observer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libindex_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libindex_access_methods.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcollection_index_usage_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_key_validate.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libhealth_log.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/concurrency/libdeferred_writer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcatalog_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_create.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthmongod.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbhelpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwrite_ops.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libintrospect.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libquery_exec.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libelapsed_tracker.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/liboplog_hack.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libserveronly_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libinit_timezone_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libexpressions_mongod_only.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting_server.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_mozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/mozjs-45/libmozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libbson_template_evaluator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcursor_server_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libbackground.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/exec/libworking_set.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/exec/libscoped_timer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection_info_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdb_raii.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcatalog_raii.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libviews.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libresolved_view.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libpipeline.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libasync_results_merger.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libasync_requests_sender.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libsharding_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libfetcher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libdist_lock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libparsed_aggregation_projection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libgranularity_rounder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_sources_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaccumulator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libkey_generator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libbase_fts.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_stemmer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/unicode/libunicode.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libtop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libfill_locker_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboplog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbdirectclient.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop_metrics.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop_failpoint_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libindex_access_method.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libbtree.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/librecord_store_v1.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/mmap_v1/libextent.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libencryption_hooks.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcurop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprogress_meter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/concurrency/libwrite_conflict_exception.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_catalog_entry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthservercommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libservers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libntservice.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_legacy_api.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcluster_last_error_info.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblasterror.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcoreshard.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libthread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libgrid.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/query/libcluster_cursor_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libgeneric_cursor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/client/libshard_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libremote_command_retry_scheduler.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_metadata_hook.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libisself.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libfeature_compatibility_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libcore.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/logger/libparse_log_component_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/s/libsharding_api_d.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libsharding_routing_table.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libkey_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/librange_arithmetic.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/concurrency/liblock_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libticketholder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsessions_collection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/write_ops/libbatch_write_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/ops/libwrite_ops_parsers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_liaison.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_cache.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkill_sessions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsecurity_file.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsaslauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_impl_internal_local.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_impl_internal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/liblite_parsed_document_source.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdocument_validation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_document_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/librole_graph_update.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate_driver.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/update/libupdate_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libupdate_index_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_planner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libindex_bounds.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_timelib.a -Wl,--no-whole-archive build/opt/third_party/timelib-2018.01alpha1/libtimelib.a -Wl,--whole-archive build/opt/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libexpression_params.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libsasl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/librole_graph.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthorization_manager_global.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/opt/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_program_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_iostreams.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_filesystem.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_system.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_allocator.a -Wl,--no-whole-archive build/opt/mongo/util/libdebugger.a -Wl,--end-group -lcurl -lstemmer -lz -lsnappy -lsasl2 -lyaml-cpp -lpcre -lpcrecpp -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/usr/src/tmp/tmpmfyyRf.lnk Install file: "build/opt/mongo/tools/mongobridge" as "mongobridge" ar rcsTD build/opt/mongo/shell/libbenchrun.a build/opt/mongo/shell/bench.o Skipping ranlib for thin archive build/opt/mongo/shell/libbenchrun.a Using tempfile /usr/src/tmp/tmp0QD1CN.lnk for command line: g++ -o build/opt/mongo/mongo -pthread -Wl,-z,now -rdynamic -fstack-protector-strong -fuse-ld=gold -Wl,--build-id -Wl,--hash-style=gnu -Wl,-z,noexecstack -Wl,--warn-execstack -Wl,-z,relro -pie build/opt/mongo/shell/dbshell.o build/opt/mongo/shell/mongodbcr.o build/opt/mongo/shell/shell_options_init.o -Wl,--start-group -Wl,--whole-archive build/opt/mongo/util/libpassword.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libshell_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libversion_impl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsignal_handlers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblog_process_details.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplica_set_messages.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_coordinator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libreplication_process.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libstorage_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librollback_idl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_servers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/cmdline_utils/libcmdline_utils.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/shell/libbenchrun.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_mozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/mozjs-45/libmozjs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libscripting_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/shell/libmongojs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/scripting/libbson_template_evaluator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/liblinenoise_utf8.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libmongohasher.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id_helpers.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_key_validate.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libexpressions.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_knobs.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsummation.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libexpression_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_factory_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/collation/libcollator_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libaggregation_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libexplain_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdependencies.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/pipeline/libdocument_value.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libintrusive_counter.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/datetime/libdate_time_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_timelib.a -Wl,--no-whole-archive build/opt/third_party/timelib-2018.01alpha1/libtimelib.a -Wl,--whole-archive build/opt/mongo/db/pipeline/libfield_path.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/matcher/libpath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeoparser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/geo/libgeometry.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/libs2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/math/libmath.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/util/coding/libcoding.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/strings/libstrings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/s2/base/libbase_s2.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/fts/libfts_query_noop.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/index/libindex_descriptor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libindex_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/views/libresolved_view.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_network.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libthread_pool_task_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_thread_pool.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_factory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface_tl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libservice_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsystem_error.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libasync_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libmessage_compressor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_zlib.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_snappy.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libnetwork_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libtask_executor_interface.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_executor.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libegress_tag_closer_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libconnection_pool_stats.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclientdriver_minimal.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_asio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/asio-master/libasio.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_types.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libssl_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/options_parser/liboptions_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_yaml.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libsocket.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libbackground_job.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/stats/libcounters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommands.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libaudit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libtest_commands_enabled.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/commands/libserver_status_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/librpc.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libprotocol.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/bson/libdotted_path_support.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/liblegacy_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libcommon_s.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libobject_check.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_reply.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libcommand_request_response.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/query/libquery_request.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/libread_concern_args.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libuuid_catalog.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase_holder.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libdatabase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/catalog/libcollection.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libnamespace_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwire_version.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libdbmessage.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libinternal_user_auth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libconnection_string.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libdns_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libclient_query.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libauthentication.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libsasl_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libmd5.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libicu_init.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_icu.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/icu4c-57.1/source/libicu_data.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libcommand_status.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/executor/libremote_command.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libmetadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libclient_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/libis_mongos.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/liboptime.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time_validator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libsigned_logical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_manager.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_client_sharded.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/s/catalog/libsharding_catalog_client.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_clock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libglobal_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/repl/librepl_settings.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libkeys_collection_document.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libtime_proof_service.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_time.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthprivilege.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommon.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libwrite_concern_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libindex_names.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libaddress_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauthentication_restriction.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/mutable/libmutable_bson.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsafe_num.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/rpc/libaudit_metadata.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libuser_name.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/auth/libauth_rolename.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/client/libread_preference.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libservice_context.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/net/libnetwork.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libwinutil.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libperiodic_runner.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libfail_point.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libclock_sources.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/concurrency/libspin_lock.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/transport/libtransport_layer_common.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libwrite_unit_of_work.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/storage/libstorage_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/liblogical_session_id.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/idl/libidl_parser.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libcommand_generic_argument.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_parameters.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha_block_openssl.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha1_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/crypto/libsha256_block.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_compare_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/base/libsecure_allocator.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libsecure_zero_memory.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libprocessinfo.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/db/libserver_options_core.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/bson/util/libbson_extract.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/libbase.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/murmurhash3/libmurmurhash3.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_pcrecpp.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_intel_decimal128.a -Wl,--no-whole-archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a -Wl,--whole-archive build/opt/third_party/libshim_boost.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_program_options.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_iostreams.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_filesystem.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/boost-1.60.0/libboost_system.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/mongo/util/libquick_exit.a -Wl,--no-whole-archive -Wl,--whole-archive build/opt/third_party/libshim_allocator.a -Wl,--no-whole-archive build/opt/mongo/util/libdebugger.a -Wl,--end-group -lz -lsnappy -lyaml-cpp -lsasl2 -lpcre -lpcrecpp -ltcmalloc -lm -lresolv -lcrypto -lssl -lcrypto -ldl -lrt -ldl g++ @/usr/src/tmp/tmp0QD1CN.lnk Install file: "build/opt/mongo/mongo" as "mongo" Install file: "build/opt/mongo/mongod" as "mongod" scons: done building targets. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78114 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/mongo-buildroot + : + /bin/rm -rf -- /usr/src/tmp/mongo-buildroot + cd mongo-4.0.7 ++ pkg-config --cflags libpcrecpp + scons install -j 8 --use-system-tcmalloc --use-system-pcre --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-yaml --prefix=/usr/src/tmp/mongo-buildroot/usr --nostrip --use-sasl-client --wiredtiger=on --ssl --disable-warnings-as-errors MONGO_VERSION=4.0.7-alt1 'CCFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/pcre' scons: Reading SConscript files ... scons version: 3.0.1 python version: 2 7 16 'final' 0 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 "g++" is GCC... (cached) yes Checking if C compiler "gcc" is GCC... (cached) yes Detected a x86_64 processor Checking if target OS linux is supported by the toolchain... (cached) yes Checking if C compiler is GCC 5.3.0 or newer...(cached) yes Checking if C++ compiler is GCC 5.3.0 or newer...(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 -Wredundant-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 -Wno-exceptions... (cached) no Checking -Wnon-virtual-dtor for false positives... (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++14... (cached) yes Checking if C compiler supports -std=c11... (cached) yes WARNING: System versions of C++ libraries must be compiled with C++14 support Checking for C++14... (cached) yes Checking for memset_s... (cached) no Checking for C function strnlen()... (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 -fuse-ld=gold... (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 for glibc with non-broken _FORTIFY_SOURCE...(cached) yes Checking if C compiler supports -fno-builtin-memcmp... (cached) yes Checking for storage class thread_local (cached) yes Checking for C++14 std::enable_if_t support...(cached) yes Checking for C++14 std::make_unique support... (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 Using SSL Provider: openssl Checking for curl_global_init(0) in C library curl... (cached) yes Checking for C library pcre... (cached) yes Checking for C library pcrecpp... (cached) yes Checking for C library snappy... (cached) yes Checking for C library z... (cached) yes Checking for C library stemmer... (cached) yes Checking for C library yaml-cpp... (cached) yes 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) yes Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... (cached) yes Checking for C library tcmalloc... (cached) yes 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 64 for concurrency types... (cached) yes Checking for mongoc_get_major_version() in C library mongoc-1.0... (cached) no *** Run 'pip2 install --user regex' to speed up error code checking Checking for C function fallocate()... (cached) yes Checking for C function sync_file_range()... (cached) yes Checking for C header file x86intrin.h... (cached) yes Checking for C header file arm_neon.h... (cached) no scons: done reading SConscript files. scons: Building targets ... Install file: "build/opt/mongo/mongos" as "/usr/src/tmp/mongo-buildroot/usr/bin/mongos" Install file: "build/opt/mongo/mongo" as "/usr/src/tmp/mongo-buildroot/usr/bin/mongo" chmod 755 /usr/src/tmp/mongo-buildroot/usr/bin/mongos chmod 755 /usr/src/tmp/mongo-buildroot/usr/bin/mongo Install file: "build/opt/mongo/mongod" as "/usr/src/tmp/mongo-buildroot/usr/bin/mongod" Creating 'src/mongo/installer/compass/install_compass' chmod 755 src/mongo/installer/compass/install_compass chmod 755 /usr/src/tmp/mongo-buildroot/usr/bin/mongod Install file: "src/mongo/installer/compass/install_compass" as "/usr/src/tmp/mongo-buildroot/usr/bin/install_compass" chmod 755 /usr/src/tmp/mongo-buildroot/usr/bin/install_compass scons: done building targets. + mkdir -p /usr/src/tmp/mongo-buildroot/var/log/mongo + mkdir -p /usr/src/tmp/mongo-buildroot/var/run/mongo + mkdir -p /usr/src/tmp/mongo-buildroot/var/lib/mongo + mkdir -p /usr/src/tmp/mongo-buildroot/usr/share/man/man1 + cp debian/bsondump.1 debian/mongo.1 debian/mongod.1 debian/mongodump.1 debian/mongoexport.1 debian/mongofiles.1 debian/mongoimport.1 debian/mongorestore.1 debian/mongos.1 debian/mongostat.1 debian/mongotop.1 /usr/src/tmp/mongo-buildroot/usr/share/man/man1/ + install -p -D -m 644 mongod.logrotate /usr/src/tmp/mongo-buildroot/etc/logrotate.d/mongod + install -p -D -m 755 mongod.init.alt /usr/src/tmp/mongo-buildroot/etc/rc.d/init.d/mongod + install -p -D -m 644 mongod.conf /usr/src/tmp/mongo-buildroot/etc/mongo/mongod.conf + install -p -D -m 644 mongod.sysconf /usr/src/tmp/mongo-buildroot/etc/sysconfig/mongod + install -p -D -m 644 mongod.service /usr/src/tmp/mongo-buildroot/lib/systemd/system/mongod.service + install -p -D -m 644 mongod.tmpfile /usr/src/tmp/mongo-buildroot/lib/tmpfiles.d/mongod.conf + install -p -D -m 644 mongos.logrotate /usr/src/tmp/mongo-buildroot/etc/logrotate.d/mongos + install -p -D -m 755 mongos.init.alt /usr/src/tmp/mongo-buildroot/etc/rc.d/init.d/mongos + install -p -D -m 644 mongos.conf /usr/src/tmp/mongo-buildroot/etc/mongo/mongos.conf + install -p -D -m 644 mongod.sysconf /usr/src/tmp/mongo-buildroot/etc/sysconfig/mongos + install -p -D -m 644 mongos.service /usr/src/tmp/mongo-buildroot/lib/systemd/system/mongos.service + install -p -D -m 644 mongod.tmpfile /usr/src/tmp/mongo-buildroot/lib/tmpfiles.d/mongos.conf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/mongo-buildroot (auto) Verifying and fixing files in /usr/src/tmp/mongo-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/mongo-buildroot/ (default) Compressing files in /usr/src/tmp/mongo-buildroot (auto) Adjusting library links in /usr/src/tmp/mongo-buildroot ./lib: ./var/lib: Verifying ELF objects in /usr/src/tmp/mongo-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) section [ 4] '.dynsym': symbol 21670: unique symbol not of object type section [ 4] '.dynsym': symbol 35845: unique symbol not of object type section [ 4] '.dynsym': symbol 42657: unique symbol not of object type verify-elf: WARNING: ./usr/bin/mongod: eu-elflint failed section [ 4] '.dynsym': symbol 6835: unique symbol not of object type section [ 4] '.dynsym': symbol 24449: unique symbol not of object type section [ 4] '.dynsym': symbol 35359: unique symbol not of object type verify-elf: WARNING: ./usr/bin/mongo: eu-elflint failed section [ 4] '.dynsym': symbol 5059: unique symbol not of object type section [ 4] '.dynsym': symbol 17428: unique symbol not of object type section [ 4] '.dynsym': symbol 25095: unique symbol not of object type verify-elf: WARNING: ./usr/bin/mongos: eu-elflint failed Hardlinking identical .pyc and .pyo files Processing files: mongo-4.0.7-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.49800 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mongo-4.0.7 + DOCDIR=/usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-4.0.7 + export DOCDIR + rm -rf /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-4.0.7 + /bin/mkdir -p /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-4.0.7 + cp -prL README LICENSE-Community.txt /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-4.0.7 + chmod -R go-w /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-4.0.7 + chmod -R a+rX /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-4.0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UpSE4Z find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.o6PDw3 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcrypto.so.1.1()(64bit) >= set:qjvV2KGIxL1N6kD58hogiJaeePqCyCZ3LDwRkt6vhn5RBzV9ekHaRf73LZnBmcdGSZmZKXK5rCZA0kZ2yqXFiD3sHJjolYfbUTuL23JrT1BQExUhmLw0tZhO3gnjdA4xabcouX8uaMqG00ExO1KOBHYUzjZDS8QZDosh0wqAjwCarwNYJNfE1F2N2T87H0oJqvNXZbQ31zSeh7, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libdl.so.2(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libpcrecpp.so.3()(64bit) >= set:khx6QPiwXPcSylYoU79O2, libpthread.so.0(GLIBC_2.12)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libpthread.so.0(GLIBC_2.3.3)(64bit), libresolv.so.2(GLIBC_2.2.5)(64bit), libresolv.so.2(GLIBC_2.9)(64bit), librt.so.1(GLIBC_2.2.5)(64bit), libsasl2.so.3()(64bit) >= set:lhKAh7QLm9CX2KJkvgupF6kxR7I14, libsnappy.so.1()(64bit) >= set:jg6v1Z7NFkWI3, libssl.so.1.1()(64bit) >= set:mgBOynPVa4g7cFfrbBkpOvCBOZbkPZeDyvQkrYm6iAGpmvi9Yd28STvYZHpqNuLbyIuj3Ztu3VgqKEIWGLzZ3Scv04yWZJ0uLsef, libssl.so.1.1(OPENSSL_1_1_0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.3)(64bit), libstdc++.so.6(CXXABI_1.3.5)(64bit), libstdc++.so.6(CXXABI_1.3.7)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.19)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libtcmalloc.so.4()(64bit) >= set:niIZLmwI3ppme2vg5sw3JPmT6G2EcfiOpedt14opf5I9WjSth2S2, libyaml-cpp.so.0.6()(64bit) >= set:njvIMDp1Wob8wlZ98Smec6fKpxIq0I1CC5f2uzxrVuI3, libz.so.1()(64bit) >= set:kgdWzpN53ovlyZGsmEZ8wauXf1, libz.so.1(ZLIB_1.2.0)(64bit), rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.49Boxf Creating mongo-debuginfo package Processing files: mongo-server-mongod-4.0.7-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.11097 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mongo-4.0.7 + DOCDIR=/usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongod-4.0.7 + export DOCDIR + rm -rf /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongod-4.0.7 + /bin/mkdir -p /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongod-4.0.7 + cp -prL README LICENSE-Community.txt /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongod-4.0.7 + chmod -R go-w /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongod-4.0.7 + chmod -R a+rX /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongod-4.0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.H3bB7y find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BDAgdW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i7ufUw Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GtZ76a Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ackeQS Provides: mongo-server Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcrypto.so.1.1()(64bit) >= set:qjvV2KGIxL1N6kD58hogiJaeePqCyCZ3LDwRkt6vhn5RBzV9ekHaRf73LZnBmcdGSZmZKXK5rCZA0kZ2yqXFiD3sHJjolYfbUTuL23JrT1BQExUhmLw0tZhO3gnjdA4xabcouX8uaMqG00ExO1KOBHYUzjZDS8QZDosh0wqAjwCarwNYJNfE1F2N2T87H0oJqvNXZbQ31zSeh7, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libcurl.so.4()(64bit) >= set:kgZtdjewuBSOM3YXjuKGePG5ZmMh21, libdl.so.2(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.4)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libpcrecpp.so.3()(64bit) >= set:kg2dwDB0mVkPOzJIy73ZAyI, libpthread.so.0(GLIBC_2.12)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libpthread.so.0(GLIBC_2.3.3)(64bit), libresolv.so.2(GLIBC_2.2.5)(64bit), libresolv.so.2(GLIBC_2.9)(64bit), librt.so.1(GLIBC_2.2.5)(64bit), libsasl2.so.3()(64bit) >= set:lhKAh7QLm9CX2KJkvgupF6kxR7I14, libsnappy.so.1()(64bit) >= set:jfZAjFZp71mEfSIEwbteUxls, libssl.so.1.1()(64bit) >= set:mgBOynPVa4g7cFfrbBkpOvCBOZbkPZeDyvQkrYm6iAGpmvi9Yd28STvYZHpqNuLbyIuj3Ztu3VgqKEIWGLzZ3Scv04yWZJ0uLsef, libssl.so.1.1(OPENSSL_1_1_0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.3)(64bit), libstdc++.so.6(CXXABI_1.3.5)(64bit), libstdc++.so.6(CXXABI_1.3.7)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.19)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libstemmer.so.0()(64bit) >= set:kh9TZr4xSWhyz0, libtcmalloc.so.4()(64bit) >= set:niIZLmwI3ppmeiYhX51x3sEtSWSgl0l17UZ0iePFFbw0bX31zV7jQDIXau89zi0, libyaml-cpp.so.0.6()(64bit) >= set:njvIMDp1Wob8wlZ98Smec6fKpxIq0I1CC5f2uzxrVuI3, libz.so.1()(64bit) >= set:kgdWzZnUmqN0SnBULOpxSzwauXf1, libz.so.1(ZLIB_1.2.0)(64bit), rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Obsoletes: mongo-server Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QFFx5D Creating mongo-server-mongod-debuginfo package Processing files: mongo-server-mongos-4.0.7-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.11071 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mongo-4.0.7 + DOCDIR=/usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongos-4.0.7 + export DOCDIR + rm -rf /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongos-4.0.7 + /bin/mkdir -p /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongos-4.0.7 + cp -prL README LICENSE-Community.txt /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongos-4.0.7 + chmod -R go-w /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongos-4.0.7 + chmod -R a+rX /usr/src/tmp/mongo-buildroot/usr/share/doc/mongo-server-mongos-4.0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oxfdgz find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WL2kWx find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ifk7aF Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.niiCVP Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0dPYb4 Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.6)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcrypto.so.1.1()(64bit) >= set:qjvV2KGIxL1N6kD58hogiJaeePqCyCZ3LDwRkt6vhn5RBzV9ekHaRf73LZnBmcdGSZmZKXK5rCZA0kZ2yqXFiD3sHJjolYfbUTuL23JrT1BQExUhmLw0tZhO3gnjdA4xabcouX8uaMqG00ExO1KOBHYUzjZDS8QZDosh0wqAjwCarwNYJNfE1F2N2T87H0oJqvNXZbQ31zSeh7, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libdl.so.2(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libpcrecpp.so.3()(64bit) >= set:kg2dwDB0mVkPOzJIy73ZAyI, libpthread.so.0(GLIBC_2.12)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libpthread.so.0(GLIBC_2.3.3)(64bit), libresolv.so.2(GLIBC_2.2.5)(64bit), libresolv.so.2(GLIBC_2.9)(64bit), librt.so.1(GLIBC_2.2.5)(64bit), libsasl2.so.3()(64bit) >= set:lhKAh7QLm9CX2KJkvgupF6kxR7I14, libsnappy.so.1()(64bit) >= set:jgZAjFZoZrUkatS1, libssl.so.1.1()(64bit) >= set:mgBOynPVa4g7cFfrbBkpOvCBOZbkPZeDyvQkrYm6iAGpmvi9Yd28STvYZHpqNuLbyIuj3Ztu3VgqKEIWGLzZ3Scv04yWZJ0uLsef, libssl.so.1.1(OPENSSL_1_1_0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.3)(64bit), libstdc++.so.6(CXXABI_1.3.5)(64bit), libstdc++.so.6(CXXABI_1.3.7)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.19)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libstemmer.so.0()(64bit) >= set:kh9TZr4xSWhyz0, libtcmalloc.so.4()(64bit) >= set:niUZEr8bPOhyfqL88sw3JPmT6G2EaU0L7AsCjjn01mSj1ryZkOKj6B0, libyaml-cpp.so.0.6()(64bit) >= set:njvIMDp1Wob8wlZ98Smec6fKpxIq0I1CC5f2uzxrVuI3, libz.so.1()(64bit) >= set:kgdWzpN53ovlyZGsmEZ8wauXf1, libz.so.1(ZLIB_1.2.0)(64bit), rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mcFHYl Creating mongo-server-mongos-debuginfo package Processing files: mongo-debuginfo-4.0.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sdn7OP find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gx1o7q find-requires: running scripts (debuginfo) Requires: mongo = 4.0.7-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libdl.so.2), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libpcrecpp.so.3), debug64(libpthread.so.0), debug64(libresolv.so.2), debug64(librt.so.1), debug64(libsasl2.so.3), debug64(libsnappy.so.1), debug64(libssl.so.1.1), debug64(libstdc++.so.6), debug64(libtcmalloc.so.4), debug64(libyaml-cpp.so.0.6), debug64(libz.so.1) Processing files: mongo-server-mongod-debuginfo-4.0.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QO9xkr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UHQp0E find-requires: running scripts (debuginfo) Requires: mongo-server-mongod = 4.0.7-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libcurl.so.4), debug64(libdl.so.2), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libpcrecpp.so.3), debug64(libpthread.so.0), debug64(libresolv.so.2), debug64(librt.so.1), debug64(libsasl2.so.3), debug64(libsnappy.so.1), debug64(libssl.so.1.1), debug64(libstdc++.so.6), debug64(libstemmer.so.0), debug64(libtcmalloc.so.4), debug64(libyaml-cpp.so.0.6), debug64(libz.so.1) Processing files: mongo-server-mongos-debuginfo-4.0.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ibBkGd find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KGJNOT find-requires: running scripts (debuginfo) Requires: mongo-server-mongos = 4.0.7-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libdl.so.2), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libpcrecpp.so.3), debug64(libpthread.so.0), debug64(libresolv.so.2), debug64(librt.so.1), debug64(libsasl2.so.3), debug64(libsnappy.so.1), debug64(libssl.so.1.1), debug64(libstdc++.so.6), debug64(libstemmer.so.0), debug64(libtcmalloc.so.4), debug64(libyaml-cpp.so.0.6), debug64(libz.so.1) Adding to mongo-debuginfo a strict dependency on mongo Adding to mongo-server-mongod-debuginfo a strict dependency on mongo-server-mongod Adding to mongo-server-mongos-debuginfo a strict dependency on mongo-server-mongos Wrote: /usr/src/RPM/RPMS/x86_64/mongo-4.0.7-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongod-4.0.7-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongos-4.0.7-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mongo-debuginfo-4.0.7-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongod-debuginfo-4.0.7-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongos-debuginfo-4.0.7-alt1.x86_64.rpm 18450.09user 1162.76system 53:00.07elapsed 616%CPU (0avgtext+0avgdata 5276572maxresident)k 0inputs+0outputs (0major+204972632minor)pagefaults 0swaps 18477.56user 1174.56system 53:37.69elapsed 610%CPU (0avgtext+0avgdata 5276572maxresident)k 128592inputs+0outputs (0major+205522061minor)pagefaults 0swaps