<86>Oct 31 03:59:26 userdel[3725631]: delete user 'rooter' <86>Oct 31 03:59:26 userdel[3725631]: removed group 'rooter' owned by 'rooter' <86>Oct 31 03:59:26 groupadd[3725662]: group added to /etc/group: name=rooter, GID=903 <86>Oct 31 03:59:26 groupadd[3725662]: group added to /etc/gshadow: name=rooter <86>Oct 31 03:59:26 groupadd[3725662]: new group: name=rooter, GID=903 <86>Oct 31 03:59:26 useradd[3725687]: new user: name=rooter, UID=903, GID=903, home=/root, shell=/bin/bash <86>Oct 31 03:59:26 userdel[3725713]: delete user 'builder' <86>Oct 31 03:59:26 userdel[3725713]: removed group 'builder' owned by 'builder' <86>Oct 31 03:59:26 userdel[3725713]: removed shadow group 'builder' owned by 'builder' <86>Oct 31 03:59:26 groupadd[3725743]: group added to /etc/group: name=builder, GID=904 <86>Oct 31 03:59:26 groupadd[3725743]: group added to /etc/gshadow: name=builder <86>Oct 31 03:59:26 groupadd[3725743]: new group: name=builder, GID=904 <86>Oct 31 03:59:26 useradd[3725767]: new user: name=builder, UID=904, GID=904, home=/usr/src, shell=/bin/bash <13>Oct 31 03:59:31 rpmi: libboost_system1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libopenblas-0.3.9-alt2 p9+274919.40.2.1 1624305203 installed <13>Oct 31 03:59:31 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696275 installed <13>Oct 31 03:59:31 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Oct 31 03:59:31 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Oct 31 03:59:31 rpmi: libboost_atomic1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_contract1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_random1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_chrono1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_timer1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_filesystem1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_thread1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:31 rpmi: libboost_type_erasure1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:33 rpmi: valgrind-3.15.0-alt1 sisyphus+227330.200.1.2 1555620866 installed <13>Oct 31 03:59:33 rpmi: libyaml2-0.2.2-alt1 sisyphus+229134.100.1.1 1557342720 installed <13>Oct 31 03:59:33 rpmi: libyaml-cpp0-0.6.2-alt2 sisyphus+222677.100.1.1 1550991970 installed <13>Oct 31 03:59:33 rpmi: libstemmer-0-alt1.svn585 1428058058 installed <13>Oct 31 03:59:33 rpmi: libsnappy-1.1.7-alt1 sisyphus+227320.100.1.3 1555618688 installed <13>Oct 31 03:59:33 rpmi: libpcrecpp3-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 31 03:59:33 rpmi: libpcre16-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 31 03:59:33 rpmi: pcretest-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 31 03:59:33 rpmi: libpcre-devel-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 31 03:59:33 rpmi: libunwind-1.1-alt3 sisyphus+222321.100.1.1 1550757592 installed <13>Oct 31 03:59:33 rpmi: libgperftools-2.6.3-alt1 1521472871 installed <13>Oct 31 03:59:33 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Oct 31 03:59:33 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Oct 31 03:59:33 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Oct 31 03:59:33 rpmi: libsystemd-1:246.16-alt2 p9+287049.100.2.1 1634920961 installed <13>Oct 31 03:59:33 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Oct 31 03:59:33 rpmi: libpcap0.8-2:1.9.1-alt2 p9+263886.100.3.1 1609171732 installed <13>Oct 31 03:59:33 rpmi: publicsuffix-list-dafsa-20210929-alt1 p9+286163.100.1.1 1634055330 installed <13>Oct 31 03:59:33 rpmi: libpsl-0.21.1-alt1 p9+255207.100.1.1 1595355041 installed <13>Oct 31 03:59:33 rpmi: libnghttp2-1.41.0-alt1 p9+256449.100.1.1 1597829543 installed <13>Oct 31 03:59:33 rpmi: openldap-common-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>Oct 31 03:59:33 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Oct 31 03:59:33 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Oct 31 03:59:33 rpmi: libboost_program_options1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:33 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Oct 31 03:59:34 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 31 03:59:34 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 31 03:59:34 rpmi: libboost_context1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:34 rpmi: libboost_fiber1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:34 rpmi: libboost_stacktrace1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:34 rpmi: libnumpy-py3-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Oct 31 03:59:34 rpmi: libboost_python1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:34 rpmi: libnumpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Oct 31 03:59:34 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>Oct 31 03:59:34 rpmi: libquadmath0-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 31 03:59:34 rpmi: libgfortran5-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 31 03:59:34 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>Oct 31 03:59:34 rpmi: libboost_test1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:34 rpmi: libboost_serialization1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:34 rpmi: libboost_iostreams1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:35 rpmi: libicu65-1:6.5.1-alt2 p9+270410.100.1.1 1619007054 installed <13>Oct 31 03:59:35 rpmi: libboost_regex1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:35 rpmi: libboost_graph1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:35 rpmi: libboost_date_time1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:35 rpmi: libboost_container1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:35 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed <13>Oct 31 03:59:35 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:35 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 31 03:59:35 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Oct 31 03:59:35 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Oct 31 03:59:35 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Oct 31 03:59:35 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 31 03:59:35 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Oct 31 03:59:35 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 31 03:59:35 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 31 03:59:35 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Oct 31 03:59:35 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Oct 31 03:59:35 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 31 03:59:35 rpmi: libcrypto1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 31 03:59:35 rpmi: libssl1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 31 03:59:35 rpmi: libpython3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 31 03:59:35 rpmi: python3-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 31 03:59:36 rpmi: python3-base-3.7.11-alt1 p9+273501.10.37.1 1629720188 installed <13>Oct 31 03:59:36 rpmi: python3-module-numpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Oct 31 03:59:36 rpmi: libboost_python3-1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:36 rpmi: libboost_numpy3-1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:36 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Oct 31 03:59:36 groupadd[3789601]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 31 03:59:36 groupadd[3789601]: group added to /etc/gshadow: name=_keytab <86>Oct 31 03:59:36 groupadd[3789601]: new group: name=_keytab, GID=499 <13>Oct 31 03:59:36 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489159 installed <86>Oct 31 03:59:36 groupadd[3789865]: group added to /etc/group: name=sasl, GID=498 <86>Oct 31 03:59:36 groupadd[3789865]: group added to /etc/gshadow: name=sasl <86>Oct 31 03:59:36 groupadd[3789865]: new group: name=sasl, GID=498 <13>Oct 31 03:59:36 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Oct 31 03:59:36 rpmi: libldap-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>Oct 31 03:59:36 rpmi: libcurl-7.79.0-alt2 p9+285689.100.2.1 1632758193 installed <13>Oct 31 03:59:36 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Oct 31 03:59:36 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Oct 31 03:59:36 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-strict-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:36 rpmi: python-module-numpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835768 installed <13>Oct 31 03:59:36 rpmi: libboost_numpy1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:37 rpmi: boost-devel-headers-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:37 rpmi: boost-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:37 rpmi: python-module-bson-3.6.0-alt1.1 sisyphus+225625.14500.91.1 1555292613 installed <13>Oct 31 03:59:37 rpmi: python-module-pymongo-3.6.0-alt1.1 sisyphus+225625.14500.91.1 1555292613 installed <13>Oct 31 03:59:37 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 31 03:59:37 rpmi: python-modules-json-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:37 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Oct 31 03:59:37 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Oct 31 03:59:37 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Oct 31 03:59:37 rpmi: scons-3.0.1-alt1 1518686948 installed <13>Oct 31 03:59:37 rpmi: boost-filesystem-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:37 rpmi: boost-program_options-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Oct 31 03:59:37 rpmi: python-module-Cheetah-3.1.0-alt1.1 sisyphus+225625.35500.91.1 1555331353 installed <13>Oct 31 03:59:37 rpmi: python-module-typing-3.6.6-alt2 sisyphus+220108.100.1.1 1548749697 installed <13>Oct 31 03:59:37 rpmi: python-module-yaml-5.4.1-alt0.p9 p9+267990.100.1.1 1616060841 installed <13>Oct 31 03:59:37 rpmi: libcurl-devel-7.79.0-alt2 p9+285689.100.2.1 1632758193 installed <13>Oct 31 03:59:37 rpmi: libsasl2-devel-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Oct 31 03:59:37 rpmi: libssl-devel-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 31 03:59:37 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Oct 31 03:59:37 rpmi: libpcap-devel-2:1.9.1-alt2 p9+263886.100.3.1 1609171732 installed <13>Oct 31 03:59:37 rpmi: libsystemd-devel-1:246.16-alt2 p9+287049.100.2.1 1634920961 installed <13>Oct 31 03:59:37 rpmi: libgperftools-devel-2.6.3-alt1 1521472871 installed <13>Oct 31 03:59:37 rpmi: libpcrecpp-devel-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 31 03:59:37 rpmi: libsnappy-devel-1.1.7-alt1 sisyphus+227320.100.1.3 1555618688 installed <13>Oct 31 03:59:37 rpmi: libstemmer-devel-0-alt1.svn585 1428058058 installed <13>Oct 31 03:59:37 rpmi: libyaml-cpp-devel-0.6.2-alt2 sisyphus+222677.100.1.1 1550991970 installed <13>Oct 31 03:59:37 rpmi: valgrind-devel-3.15.0-alt1 sisyphus+227330.200.1.2 1555620866 installed <13>Oct 31 03:59:37 rpmi: libreadline-devel-7.0.3-alt3 sisyphus+222164.300.1.1 1550686325 installed <13>Oct 31 03:59:37 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 (w1.gzdio) 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.37168 + 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.37168 + 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 16 --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 ... 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 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/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/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 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 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 /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 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 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 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 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_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 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/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 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 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 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/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 /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/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/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/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 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/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/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 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/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/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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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 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 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/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/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 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 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 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 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/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/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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ 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/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 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 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/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 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/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 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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/util/libprocessinfo.a build/opt/mongo/util/processinfo.o build/opt/mongo/util/processinfo_linux.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/util/libprocessinfo.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/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/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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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 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 ar rcsTD build/opt/mongo/db/repl/libstorage_interface.a build/opt/mongo/db/repl/storage_interface.o 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 Skipping ranlib for thin archive build/opt/mongo/db/repl/libstorage_interface.a 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 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/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 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/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/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/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/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 /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 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 ar rcsTD build/opt/mongo/db/libwrite_concern_options.a build/opt/mongo/db/write_concern_options.o 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/catalog/libuuid_catalog.a /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/commands/end_sessions_gen.h --output build/opt/mongo/db/commands/end_sessions_gen.cpp src/mongo/db/commands/end_sessions.idl Skipping ranlib for thin archive build/opt/mongo/db/libserver_options_core.a Skipping ranlib for thin archive build/opt/mongo/db/libwrite_concern_options.a 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 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/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 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 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/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/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 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 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/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 ar rcsTD build/opt/third_party/libshim_boost.a build/opt/third_party/shim_boost.o 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 Skipping ranlib for thin archive build/opt/third_party/libshim_boost.a 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 ar rcsTD build/opt/mongo/db/liblogical_time.a build/opt/mongo/db/logical_time.o build/opt/mongo/db/operation_time_tracker.o 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/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 Skipping ranlib for thin archive build/opt/mongo/db/liblogical_time.a 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 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/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 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 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 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/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/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/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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ /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 ar rcsTD build/opt/mongo/executor/libnetwork_interface_factory.a build/opt/mongo/executor/network_interface_factory.o 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 Skipping ranlib for thin archive build/opt/mongo/executor/libnetwork_interface_factory.a 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 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/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/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/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/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 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 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/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/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/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/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 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 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 /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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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/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 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 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/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/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 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/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 /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/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 ^~~~~~~~ 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/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 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 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/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 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/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 ar rcsTD build/opt/mongo/rpc/liblegacy_reply.a build/opt/mongo/rpc/legacy_reply.o build/opt/mongo/rpc/legacy_reply_builder.o 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 Skipping ranlib for thin archive build/opt/mongo/rpc/liblegacy_reply.a 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/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/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/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 ^~~~~~~~ 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 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/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 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 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 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 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 ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ /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/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 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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/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/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 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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 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 ^~~~~~~~ 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 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 ^~~~~~~~ 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 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 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/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 ^~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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 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 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/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~ 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 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 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/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/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 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 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/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/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 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 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/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/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 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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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/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/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/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/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/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/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 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/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 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 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 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 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 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/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 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 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 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 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/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 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/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/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_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 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 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/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_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_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/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/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 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/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/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/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 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/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 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 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/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 Skipping ranlib for thin archive build/opt/third_party/boost-1.60.0/libboost_program_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_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 { ^~~~~~~~ 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 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 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/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 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 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 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/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 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 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 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 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/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 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 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/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 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/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/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 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 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 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/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 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/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 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 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/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 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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/auth/libuser_name.a build/opt/mongo/db/auth/user_name.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/auth/libuser_name.a 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 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 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_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/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/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/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 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 ^~~~~~~~ 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 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 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) ^~~~~~~ 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 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 ^~~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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/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 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 { ^~~~~~~~ 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/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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/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/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/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 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 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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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 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/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/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/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/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 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/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 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/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 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/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ /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 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/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 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/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 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/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/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/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 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/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/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/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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ 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 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 /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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 /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 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/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 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/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 ar rcsTD build/opt/third_party/murmurhash3/libmurmurhash3.a build/opt/third_party/murmurhash3/MurmurHash3.o 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 Skipping ranlib for thin archive build/opt/third_party/murmurhash3/libmurmurhash3.a 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/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/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 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 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 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/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 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/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 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 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 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 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 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_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/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/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 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) ^~~~~~~ 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/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 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/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 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 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/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/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 ar rcsTD build/opt/mongo/scripting/libbson_template_evaluator.a build/opt/mongo/scripting/bson_template_evaluator.o 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 Skipping ranlib for thin archive build/opt/mongo/scripting/libbson_template_evaluator.a 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 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/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 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 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/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/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/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/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/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/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/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 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/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/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 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/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/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/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 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/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 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/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/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/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/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 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 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 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/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 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/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 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/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 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 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 /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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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_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 { ^~~~~~~~ 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 In file included from src/mongo/db/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 { ^~~~~~~~ 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 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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 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 ^~~~~~~~ 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 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/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 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/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 ar rcsTD build/opt/mongo/executor/libnetwork_interface.a build/opt/mongo/executor/network_interface.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/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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/executor/libnetwork_interface.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/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/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 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 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 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 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 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 ^~~~~~~~~~~~~~~~ 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 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 /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/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 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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/client/libclientdriver_network.a 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/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 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 { ^~~~~~~ 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/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/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 /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 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/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 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 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 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/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 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 Skipping ranlib for thin archive build/opt/third_party/s2/strings/libstrings.a 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 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/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 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 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/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/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 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 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/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 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 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/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 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 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 ^~~~~~~~ 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 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 ^~~~~~~~ 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/third_party/libshim_snappy.a build/opt/third_party/shim_snappy.o Skipping ranlib for thin archive build/opt/third_party/libshim_snappy.a 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 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 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 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 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 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/libsigned_logical_time.a build/opt/mongo/db/signed_logical_time.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libsigned_logical_time.a 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 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/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/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 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/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 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/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 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/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/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 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 ar rcsTD build/opt/mongo/crypto/libsha_block_openssl.a build/opt/mongo/crypto/sha_block_openssl.o Skipping ranlib for thin archive build/opt/mongo/crypto/libsha_block_openssl.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 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 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 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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/util/libfail_point.a 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/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/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/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 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 ^~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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 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/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/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 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/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 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/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/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 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 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 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 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 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/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 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 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 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 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/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 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 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/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/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/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 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 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/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/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 { ^~~~~~~~~~~~ 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/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 In file included from src/mongo/db/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 { ^~~~~~~~ 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 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/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/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 ar rcsTD build/opt/mongo/util/libmd5.a build/opt/mongo/util/md5.o build/opt/mongo/util/password_digest.o 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/util/libmd5.a Skipping ranlib for thin archive build/opt/mongo/transport/libtransport_layer_manager.a /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/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 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 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/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/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/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 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 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 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/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 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 ^~~~~~~~ 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 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/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 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/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 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 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 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 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 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/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 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 ^~~~~~~~ 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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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/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 ^~~~~~~~~~~~~~ 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libserver_options_servers.a build/opt/mongo/db/server_options_server_helpers.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libserver_options_servers.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/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 { ^~~~~~~~ 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 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 ar rcsTD build/opt/mongo/db/libkeys_collection_document.a build/opt/mongo/db/keys_collection_document.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libkeys_collection_document.a 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 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 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)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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 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 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 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 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 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 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 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 ^~~~~~~~ ar rcsTD build/opt/mongo/util/libbackground_job.a build/opt/mongo/util/background.o 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 Skipping ranlib for thin archive build/opt/mongo/util/libbackground_job.a 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 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/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/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 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/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/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 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 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/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 ^~~~~~~~ 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 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 ^~~~~~~~~ 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 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 ^~~~~~~~~~~~~~~~ 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 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 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 ^~~~~~~~~~~~~~ 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 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/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/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 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/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 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 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 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 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 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 ^~~~~~~~ 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 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 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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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 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/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 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 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/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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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 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/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/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 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 ar rcsTD build/opt/mongo/db/repl/libread_concern_args.a build/opt/mongo/db/repl/read_concern_args.o 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 Skipping ranlib for thin archive build/opt/mongo/db/repl/libread_concern_args.a 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 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 { ^~~~~~~~~~~~ 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 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 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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/liboptime.a 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/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 In file included from src/mongo/db/pipeline/value.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/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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~~~~~ 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 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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/query/collation/libcollator_factory_interface.a build/opt/mongo/db/query/collation/collator_factory_interface.o 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 Skipping ranlib for thin archive build/opt/mongo/db/query/collation/libcollator_factory_interface.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/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 { ^~~~~~~~~~~~ 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 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/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/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 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 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 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/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 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/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 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/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 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/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/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 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/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 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/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/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 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/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/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/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 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 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_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 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/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_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/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/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 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/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/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 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/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/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 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 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/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 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/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/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/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_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/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/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 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 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 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/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 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/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_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/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/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 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/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/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/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/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 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/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/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_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/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/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/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/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_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/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/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 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/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/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 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/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/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 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/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 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/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/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/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/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 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/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 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/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 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/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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libdocument_value.a 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 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/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 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/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/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_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 ar rcsTD build/opt/mongo/idl/libidl_parser.a build/opt/mongo/idl/idl_parser.o 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 Skipping ranlib for thin archive build/opt/mongo/idl/libidl_parser.a 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/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/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/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/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/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_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/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/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 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 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/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/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/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/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/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/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_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_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 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 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/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/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/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/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 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 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/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/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/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/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_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/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/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 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_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/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_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 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/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/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/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_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/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 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/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 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/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/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 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/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/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 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 /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/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/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 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/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/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_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/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/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 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/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/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 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/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/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 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/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 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 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 Using tempfile /usr/src/tmp/tmpcaELR7.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/tmpcaELR7.lnk Skipping ranlib for thin archive build/opt/third_party/IntelRDFPMathLib20U1/libintel_decimal128.a 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/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/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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/libindex_names.a build/opt/mongo/db/index_names.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 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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libindex_names.a 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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 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 ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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 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 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 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 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 ^~~~~~~~ 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/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 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 ^~~~~~~~ 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/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 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 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/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 ^~~~~~~~~ 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 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/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 /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) ^~~~~~~ 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 ^~~~~~~~~~~~~~ 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) ^~~~~~~ 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 src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 /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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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/util/libsignal_handlers.a build/opt/mongo/util/signal_handlers.o build/opt/mongo/util/signal_win32.o 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 ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/util/libsignal_handlers.a 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) ^~~~~~~ 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/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) ^~~~~~~ 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 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/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/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) ^~~~~~~ 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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/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 /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) ^~~~~~~ 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/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/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) ^~~~~~~ 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 /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/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 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/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/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 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 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 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/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 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 ar rcsTD build/opt/mongo/db/index/libindex_descriptor.a build/opt/mongo/db/index/index_descriptor.o 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 Skipping ranlib for thin archive build/opt/mongo/db/index/libindex_descriptor.a 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 Skipping ranlib for thin archive build/opt/third_party/s2/libs2.a 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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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/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/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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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 { ^~~~~~~~ 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/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 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 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/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/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 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 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/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_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/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/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 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 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 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 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/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/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 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/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/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 ar rcsTD build/opt/mongo/db/stats/libcounters.a build/opt/mongo/db/stats/counters.o Skipping ranlib for thin archive build/opt/mongo/db/stats/libcounters.a 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 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 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 ^~~~~~~~ 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/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/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/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 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 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 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/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/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 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/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/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 ar rcsTD build/opt/mongo/db/commands/libserver_status.a build/opt/mongo/db/commands/server_status.o 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 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 Skipping ranlib for thin archive build/opt/mongo/db/commands/libserver_status.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/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 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 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 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 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 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/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 ar rcsTD build/opt/third_party/asio-master/libasio.a build/opt/third_party/asio-master/asio/src/asio.o 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 Skipping ranlib for thin archive build/opt/third_party/asio-master/libasio.a 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/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/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 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 ^~~~~~~~ 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 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 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/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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~ 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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~ 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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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 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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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/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 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/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/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 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 ^~~~~~~~ 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/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/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/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 ^~~~~~~~~~~~~~ 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_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 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/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 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 ^~~~~~~~ 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 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 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/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 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 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 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/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 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 ^~~~~~~~~~~~~~ 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 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/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/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/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/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/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/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/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/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/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/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/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/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 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/auth/libaddress_restriction.a 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 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 ^~~~~~~~~~ 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 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 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 ^~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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/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/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 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 ^~~~~~~~~~~~~~ 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 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/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 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 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/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 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 ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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 ar rcsTD build/opt/mongo/shell/libbenchrun.a build/opt/mongo/shell/bench.o 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 Skipping ranlib for thin archive build/opt/mongo/shell/libbenchrun.a 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/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/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/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/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 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 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/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 Skipping ranlib for thin archive build/opt/mongo/db/catalog/libdatabase.a 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 Using tempfile /usr/src/tmp/tmpeXKFsh.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.og++ -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 ar @/usr/src/tmp/tmpeXKFsh.lnk 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/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/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 Skipping ranlib for thin archive build/opt/third_party/icu4c-57.1/source/libicu_common.a /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/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/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/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/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 ar rcsTD build/opt/mongo/util/libpassword.a build/opt/mongo/util/password.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/util/libpassword.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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 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 { ^~~~~~~~ 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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/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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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/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/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/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 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/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/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/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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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_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/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/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 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 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/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_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 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 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 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 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/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/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/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_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 { ^~~~~~~~ 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 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_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/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/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/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/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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/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/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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/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 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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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/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 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 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/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/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/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/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/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 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 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/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/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/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 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/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 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 ^~~~~~~~ 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/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 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/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/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/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 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 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 ar rcsTD build/opt/mongo/db/libaudit.a build/opt/mongo/db/audit.o Skipping ranlib for thin archive build/opt/mongo/db/libaudit.a 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 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/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/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 ^~~~~~~~~~~~~~ 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 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/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/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/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 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 ^~~~~~~~ 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 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 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/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 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 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 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/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/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 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/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/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 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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/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 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 ^~~~~~~~~~~~~~ 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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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 ar rcsTD build/opt/mongo/util/libperiodic_runner.a build/opt/mongo/util/periodic_runner.o 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 ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/util/libperiodic_runner.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 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 ^~~~~~~~ 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 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/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/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 /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 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 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 Skipping ranlib for thin archive build/opt/third_party/boost-1.60.0/libboost_filesystem.a 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 ^~~~~~~~~~~~~~~ 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 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/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/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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~~ 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 { ^~~~~~~~~~~ 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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~~ 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/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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/matcher/libexpressions.a 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/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/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/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 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 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/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/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/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 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 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/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/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 ar rcsTD build/opt/mongo/base/libsystem_error.a build/opt/mongo/base/system_error.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 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/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 Skipping ranlib for thin archive build/opt/mongo/base/libsystem_error.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/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 Creating 'build/opt/mongo/util/version_constants.h' 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/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/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 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/util/libsecure_zero_memory.a 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 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 /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/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/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/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/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/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 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/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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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/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 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 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/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 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 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 ^~~~~~~~ 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 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 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 Skipping ranlib for thin archive build/opt/mongo/scripting/libscripting.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/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/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/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/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/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 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 ^~~~~~~~ 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/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 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/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/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/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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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/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/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 In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 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 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/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 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 ^~~~~~~~~~~~~~ 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 /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 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/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 /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/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 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 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/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 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/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 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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ /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/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/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ 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 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/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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 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 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 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 ^~~~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/libbase.a 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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/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 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 ^~~~~~~~ ar rcsTD build/opt/mongo/db/libserver_options.a build/opt/mongo/db/server_options_helpers.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libserver_options.a 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 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/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 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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/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/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/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 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 ^~~~~~~~ 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/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/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 ar rcsTD build/opt/mongo/db/fts/libfts_query_noop.a build/opt/mongo/db/fts/fts_query_noop.o 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 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 ^~~~~~~~~~ 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 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)); ~~~~~~^~~~~~~~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/fts/libfts_query_noop.a 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 ^~~~~~~~~ ar rcsTD build/opt/third_party/s2/util/math/libmath.a build/opt/third_party/s2/util/math/mathutil.o 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 ^~~~~~~ Skipping ranlib for thin archive build/opt/third_party/s2/util/math/libmath.a 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 ^~~~~~~~~~~~~~ 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 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 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 ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 ^~~~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 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_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 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/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 ^~~~~~~~ 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/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 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/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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~~ 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 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 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 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 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/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/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/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/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/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/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/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/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 ^~~~~~~~ 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/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 ^~~~~~~~~~~~~~ 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 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/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/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_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 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 ^~~~~~~~ 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/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/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/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/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/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/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/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/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/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/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/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 ^~~~~~~~ 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 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_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/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/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/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/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/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/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/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/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/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/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/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 ^~~~~~~~~~~~~~ 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/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 ^~~~~~~~ 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/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/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/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/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/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/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/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/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/third_party/mozjs-45/extract/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/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 ^~~~~~~~ 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/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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~ 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 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/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 ^~~~~~~~~~~~~~ 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/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/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 ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/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/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/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/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 ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/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/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/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 ^~~~~~~~~ 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/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/extract/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/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/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 ^~~~~~~~~~~~~~ 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/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 ^~~~~~~~~~~~~~ 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/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 ^~~~~~~~~ In file included from src/third_party/mozjs-45/extract/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/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; ^ 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/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/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/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 ^~~~~~~~ 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 ^~~~~~~~~~~~~~ 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 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/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 ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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 ^~~~~~~~~~~~~~ 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/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 ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/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/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 ^~~~~~~~ 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/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 In file included from src/third_party/mozjs-45/extract/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/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/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/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/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/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/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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~ In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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/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 ^~~~~~~~ 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/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 ^~~~~~~~ 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/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/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/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 ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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 { ^~~~~~~~~~~~~ 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: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/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 ^~~~~~~~ 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/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 In file included from src/third_party/mozjs-45/extract/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/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/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 ^~~~~~~~~~~~~~ In file included from src/third_party/mozjs-45/extract/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 ^~~~~~~~~~~~~~ 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 ^~~~~~~~~~~~~~ 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 ^~~~~~~~~~~~~~ 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 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 ^~~~~~~~~~~~~~ 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/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 ar rcsTD build/opt/mongo/db/matcher/libpath.a build/opt/mongo/db/matcher/path.o build/opt/mongo/db/matcher/path_internal.o 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 Skipping ranlib for thin archive build/opt/mongo/db/matcher/libpath.a 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/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 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/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/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/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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/util/libclock_sources.a 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 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 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/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/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 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/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/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/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/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/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 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 Skipping ranlib for thin archive build/opt/mongo/rpc/libprotocol.a 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/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/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/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/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 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 Skipping ranlib for thin archive build/opt/mongo/db/query/libcommand_request_response.a 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/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 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 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 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 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/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 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/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 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/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/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/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 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 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 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 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)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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/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 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/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 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 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 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/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/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/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/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/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 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 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 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/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 Skipping ranlib for thin archive build/opt/mongo/util/net/libsocket.a 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/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/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/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/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/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/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/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/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/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/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/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/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 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/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/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/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/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 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 ar rcsTD build/opt/mongo/rpc/liblegacy_request.a build/opt/mongo/rpc/legacy_request.o build/opt/mongo/rpc/legacy_request_builder.o 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 Skipping ranlib for thin archive build/opt/mongo/rpc/liblegacy_request.a 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/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/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/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/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/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/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/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 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/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/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/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 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/catalog/libindex_catalog.a build/opt/mongo/db/catalog/index_catalog.o 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/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 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/mongo/db/catalog/libindex_catalog.a Skipping ranlib for thin archive build/opt/third_party/libshim_intel_decimal128.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 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 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 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 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/libversion_impl.a build/opt/mongo/util/version_impl.o 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 Skipping ranlib for thin archive build/opt/mongo/util/libversion_impl.a ar rcsTD build/opt/third_party/libshim_icu.a build/opt/third_party/shim_icu.o 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/third_party/libshim_icu.a ar rcsTD build/opt/mongo/util/net/libssl_types.a build/opt/mongo/util/net/ssl_types.o Using tempfile /usr/src/tmp/tmpmSG70K.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/tmpmSG70K.lnk Skipping ranlib for thin archive build/opt/mongo/util/net/libssl_types.a Skipping ranlib for thin archive build/opt/mongo/executor/libthread_pool_task_executor.a ar rcsTD build/opt/mongo/db/liblog_process_details.a build/opt/mongo/db/log_process_details.o 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 ar rcsTD build/opt/mongo/rpc/libaudit_metadata.a build/opt/mongo/rpc/metadata/audit_metadata.o Skipping ranlib for thin archive build/opt/mongo/db/liblog_process_details.a Skipping ranlib for thin archive build/opt/third_party/icu4c-57.1/source/libicu_i18n.a Skipping ranlib for thin archive build/opt/mongo/rpc/libaudit_metadata.a 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 ar rcsTD build/opt/mongo/db/query/libquery_knobs.a build/opt/mongo/db/query/query_knobs.o 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/executor/libegress_tag_closer_manager.a build/opt/mongo/executor/egress_tag_closer_manager.o Skipping ranlib for thin archive build/opt/mongo/db/query/libquery_knobs.a 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 Skipping ranlib for thin archive build/opt/mongo/executor/libegress_tag_closer_manager.a 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 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/db/catalog/libcollection.a build/opt/mongo/db/catalog/collection.o Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcollection.a 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 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 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 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 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/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/commands/libserver_status_core.a build/opt/mongo/db/commands/server_status_internal.o build/opt/mongo/db/commands/server_status_metric.o ar rcsTD build/opt/mongo/crypto/libsha256_block.a build/opt/mongo/crypto/sha256_block.o Skipping ranlib for thin archive build/opt/mongo/db/commands/libserver_status_core.a Skipping ranlib for thin archive build/opt/mongo/crypto/libsha256_block.a 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 ar rcsTD build/opt/mongo/util/libsecure_compare_memory.a build/opt/mongo/util/secure_compare_memory.o 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 ar rcsTD build/opt/mongo/db/liblogical_clock.a build/opt/mongo/db/logical_clock.o Skipping ranlib for thin archive build/opt/mongo/util/libsecure_compare_memory.a Skipping ranlib for thin archive build/opt/mongo/db/liblogical_clock.a ar rcsTD build/opt/mongo/db/pipeline/libdependencies.a build/opt/mongo/db/pipeline/dependencies.o 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/pipeline/libdependencies.a Skipping ranlib for thin archive build/opt/mongo/db/query/datetime/libdate_time_support.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/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/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 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 ar rcsTD build/opt/mongo/db/libtime_proof_service.a build/opt/mongo/db/time_proof_service.o Skipping ranlib for thin archive build/opt/mongo/rpc/libcommand_status.a Skipping ranlib for thin archive build/opt/mongo/db/libtime_proof_service.a 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 Creating 'build/opt/third_party/wiredtiger/wiredtiger.h' /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 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 ar rcsTD build/opt/mongo/rpc/librpc.a build/opt/mongo/rpc/factory.o ar rcsTD build/opt/mongo/rpc/libcommand_request.a build/opt/mongo/rpc/command_request.o build/opt/mongo/rpc/command_request_builder.o 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 Skipping ranlib for thin archive build/opt/mongo/rpc/librpc.a Skipping ranlib for thin archive build/opt/mongo/rpc/libcommand_request.a 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/plan_cache.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 { ^~~~~~~~ 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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/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 { ^~~~~~~~ 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 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/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 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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/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/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/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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_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/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/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 { ^~~~~~~~~~~~ /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 /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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libsystem_index.a build/opt/mongo/db/system_index.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libsystem_index.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 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/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/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 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/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 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/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/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ /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 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 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/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 /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 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 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 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/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 { ^~~~~~~~ /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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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/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 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 /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 ar rcsTD build/opt/mongo/transport/libtransport_layer.a build/opt/mongo/transport/transport_layer_asio.o Skipping ranlib for thin archive build/opt/mongo/transport/libtransport_layer.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/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 { ^~~~~~~~ Using tempfile /usr/src/tmp/tmpZPzShz.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/tmpZPzShz.lnk ar rcsTD build/opt/mongo/db/repl/libcollection_cloner.a build/opt/mongo/db/repl/collection_cloner.o 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 Skipping ranlib for thin archive build/opt/mongo/db/repl/libcollection_cloner.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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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/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/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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_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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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/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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 Install file: "build/opt/mongo/mongo" as "mongo" 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 Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_entry.a 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ /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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 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 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 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 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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 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/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 /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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/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 { ^~~~~~~~ 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 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 ar rcsTD build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a build/opt/mongo/s/catalog/dist_lock_catalog.o 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 Skipping ranlib for thin archive build/opt/mongo/s/catalog/libdist_lock_catalog_interface.a ar rcsTD build/opt/mongo/db/libsessions_collection_standalone.a build/opt/mongo/db/sessions_collection_standalone.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libsessions_collection_standalone.a 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/libstartup_warnings_mongod.a build/opt/mongo/db/startup_warnings_mongod.o Skipping ranlib for thin archive build/opt/mongo/db/libstartup_warnings_mongod.a 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 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/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 /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/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/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/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 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/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 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 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_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/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 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 /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/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 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 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 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/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/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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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/db/repl/librepl_set_commands.a Skipping ranlib for thin archive build/opt/mongo/s/libcluster_last_error_info.a 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 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 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 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 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 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 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/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 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/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/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/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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ /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 /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 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 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/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/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/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/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 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 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/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 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 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 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/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ /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/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/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: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ 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:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-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/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/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/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 ar rcsTD build/opt/mongo/db/storage/libkey_string.a build/opt/mongo/db/storage/key_string.o 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 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/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 Skipping ranlib for thin archive build/opt/mongo/db/storage/libkey_string.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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libstorage_file_util.a build/opt/mongo/db/storage/storage_file_util.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_file_util.a 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/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 /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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 { ^~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 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 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/plan_cache.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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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_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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 ar rcsTD build/opt/mongo/db/libop_observer_impl.a build/opt/mongo/db/op_observer_impl.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libop_observer_impl.a 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/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/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 { ^~~~~~~~ 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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/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/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/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/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/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 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/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/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 Skipping ranlib for thin archive build/opt/mongo/s/write_ops/libbatch_write_types.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/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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/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/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 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 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/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/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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/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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 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 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/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/plan_cache.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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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 { ^~~~~~~~ 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 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/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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/ftdc/libftdc_mongod.a 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/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/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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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)); ^ Install file: "src/third_party/wiredtiger/src/include/wiredtiger_ext.h" as "build/opt/third_party/wiredtiger/wiredtiger_ext.h" src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-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/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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/s/libsharding_catalog_manager.a 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 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 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/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 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/plan_cache.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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 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/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 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 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/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/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 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 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/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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/plan_cache.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/storage/mmap_v1/librecord_store_v1.a src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-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/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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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/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/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/storage/libencryption_hooks.a build/opt/mongo/db/storage/encryption_hooks.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/plan_cache.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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/storage/libencryption_hooks.a 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 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 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/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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 ar rcsTD build/opt/mongo/libmongod_options_init.a build/opt/mongo/db/mongod_options_init.o Skipping ranlib for thin archive build/opt/mongo/libmongod_options_init.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 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 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/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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/views/libviews_mongod.a build/opt/mongo/db/views/durable_view_catalog.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/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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/views/libviews_mongod.a src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/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/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/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 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 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/plan_cache.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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/libtransaction_reaper.a build/opt/mongo/db/transaction_reaper.o 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 ar rcsTD build/opt/mongo/db/libbackground.a build/opt/mongo/db/background.o Skipping ranlib for thin archive build/opt/mongo/db/libtransaction_reaper.a 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 Skipping ranlib for thin archive build/opt/mongo/db/libbackground.a 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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/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/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 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 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 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 /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 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 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 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/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/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/commands/libserver_status_servers.a build/opt/mongo/db/commands/server_status_servers.o 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 Skipping ranlib for thin archive build/opt/mongo/db/commands/libserver_status_servers.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/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 { ^~~~~~~~ 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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/libservice_liaison_mongod.a 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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/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/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/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/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 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/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 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/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/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 { ^~~~~~~~ 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~ 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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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 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 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/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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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/plan_cache.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/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 In file included from src/mongo/db/pipeline/value.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/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 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/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/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 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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_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 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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/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/plan_cache.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/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 { ^~~~~~~~ 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 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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ ar rcsTD build/opt/mongo/s/query/libstore_possible_cursor.a build/opt/mongo/s/query/store_possible_cursor.o 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 Skipping ranlib for thin archive build/opt/mongo/s/query/libstore_possible_cursor.a 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~~~~~ 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 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 { ^~~~~~~~ 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 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 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 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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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/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/librepair_database_and_check_version.a build/opt/mongo/db/repair_database_and_check_version.o 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/librepair_database_and_check_version.a Skipping ranlib for thin archive build/opt/mongo/db/storage/libbson_collection_catalog_entry.a 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/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 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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger.a 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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 { ^~~~~~~~ /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/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 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/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 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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~ 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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/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/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/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 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 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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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_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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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_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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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_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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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/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_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 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 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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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_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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/matcher/expression.h:42, from src/mongo/db/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/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_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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.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/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 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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_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/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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/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 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 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 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 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 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/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)); ^ 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 src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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 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/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/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 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 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 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/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/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 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/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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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)); ^ Skipping ranlib for thin archive build/opt/mongo/db/storage/wiredtiger/libstorage_wiredtiger_customization_hooks.a src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ 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/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/query/collation/libcollator_icu.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 In file included from src/mongo/db/pipeline/value.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/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 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/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 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/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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~~~~~ 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 { ^~~~~~~~ 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 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 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 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 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/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 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 ar rcsTD build/opt/mongo/db/auth/libsecurity_key.a build/opt/mongo/db/auth/security_key.o 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/auth/libsecurity_key.a 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 Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libgranularity_rounder.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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from 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)); ^ In file included from src/mongo/db/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 { ^~~~~~~~ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from 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 { ^~~~~~~~ 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/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 { ^~~~~~~~ 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 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/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/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 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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 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/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 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/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 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_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 ar rcsTD build/opt/mongo/db/catalog/libcollection_info_cache.a build/opt/mongo/db/catalog/collection_info_cache.o 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 Skipping ranlib for thin archive build/opt/mongo/db/catalog/libcollection_info_cache.a 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 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/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/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/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/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 { ^~~~~~~~ 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 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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 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 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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 { ^~~~~~~~ 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 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 ar rcsTD build/opt/mongo/db/libcursor_server_params.a build/opt/mongo/db/cursor_server_params.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libcursor_server_params.a 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/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/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 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 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 ar rcsTD build/opt/mongo/s/client/libshard_local.a build/opt/mongo/s/client/shard_local.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/s/client/libshard_local.a 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~~~~~ /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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: 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/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/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 { ^~~~~~~~ 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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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_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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 ar rcsTD build/opt/mongo/db/libintrospect.a build/opt/mongo/db/introspect.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libintrospect.a 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 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 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/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/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 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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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/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 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/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 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/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 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class 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 { ^~~~~~~~ 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 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/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/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 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 Skipping ranlib for thin archive build/opt/mongo/s/libsharding_routing_table.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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-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/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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/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/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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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 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 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/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/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 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/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 { ^~~~~~~~ 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 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/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 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 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 Skipping ranlib for thin archive build/opt/mongo/client/libremote_command_targeter.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 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 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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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 Skipping ranlib for thin archive build/opt/mongo/s/commands/libshared_cluster_commands.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/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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/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/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 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 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/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 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/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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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/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/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 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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/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/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 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 ar rcsTD build/opt/mongo/db/libkill_sessions_local.a build/opt/mongo/db/kill_sessions_local.o 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 Skipping ranlib for thin archive build/opt/mongo/db/libkill_sessions_local.a 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 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 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 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/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/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/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/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/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/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 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 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/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/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 ar rcsTD build/opt/mongo/db/auth/libsecurity_file.a build/opt/mongo/db/auth/security_file.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/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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/auth/libsecurity_file.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/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/s/libgrid.a Skipping ranlib for thin archive build/opt/mongo/db/liblogical_session_cache.a 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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/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/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/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/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 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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/plan_cache.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/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/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 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 ar rcsTD build/opt/mongo/s/catalog/libsharding_catalog_client_impl.a build/opt/mongo/s/catalog/sharding_catalog_client_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/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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/s/catalog/libsharding_catalog_client_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/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 { ^~~~~~~~ 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 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 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/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 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 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/index/libkey_generator.a 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 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/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 { ^~~~~~~~ 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/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/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 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/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/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/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 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 In file included from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~~~~~ 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/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 { ^~~~~~~~ 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 ar rcsTD build/opt/mongo/db/repl/liboplog_interface_remote.a build/opt/mongo/db/repl/oplog_interface_remote.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/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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog_interface_remote.a src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~ 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 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/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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 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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/fts/libftsmongod.a build/opt/mongo/db/fts/ftsmongod.o Skipping ranlib for thin archive build/opt/mongo/db/fts/libftsmongod.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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 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 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/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 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 ar rcsTD build/opt/mongo/db/query/datetime/libinit_timezone_data.a build/opt/mongo/db/query/datetime/init_timezone_data.o 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 Skipping ranlib for thin archive build/opt/mongo/db/query/datetime/libinit_timezone_data.a 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.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/dependencies.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/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 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/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/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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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 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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 /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 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 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 /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 /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 /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 ar rcsTD build/opt/mongo/db/update/libupdate_driver.a build/opt/mongo/db/update/update_driver.o 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 Skipping ranlib for thin archive build/opt/mongo/db/update/libupdate_driver.a 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/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 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 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 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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/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 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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ 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 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 Skipping ranlib for thin archive build/opt/mongo/db/query/libquery_planner.a ar rcsTD build/opt/mongo/db/repl/libdatabase_cloner.a build/opt/mongo/db/repl/database_cloner.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/libdatabase_cloner.a 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 ar rcsTD build/opt/mongo/db/repl/libbgsync.a build/opt/mongo/db/repl/bgsync.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/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/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 Skipping ranlib for thin archive build/opt/mongo/db/repl/libbgsync.a 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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/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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 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/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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~~~~~ 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/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 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 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 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/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 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/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 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/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 { ^~~~~~~~ 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/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/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 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 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 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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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/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 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/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/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ ar rcsTD build/opt/mongo/db/libinitialize_snmp.a build/opt/mongo/db/initialize_snmp.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libinitialize_snmp.a 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 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/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 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 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 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/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/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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/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/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 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 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 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.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 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/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 { ^~~~~~~~ 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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/libstorage_interface_impl.a 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/stats/libserver_read_concern_write_concern_metrics.a 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 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/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 Skipping ranlib for thin archive build/opt/mongo/db/index/libindex_access_methods.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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 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/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/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 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 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/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/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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/commands/libfeature_compatibility_parsers.a src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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/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/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/libtopology_coordinator.a 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/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 { ^~~~~~~~ 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libaccumulator.a 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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~~~~~ 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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.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/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 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 In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~~~~~ 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/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/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 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/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/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 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 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 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 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/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 ar rcsTD build/opt/mongo/db/storage/mmap_v1/libpaths.a build/opt/mongo/db/storage/mmap_v1/paths.o 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/storage/mmap_v1/libpaths.a 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/db/libttl_collection_cache.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/s/libsharding_legacy_api.a 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/storage/mmap_v1/libbtree.a Skipping ranlib for thin archive build/opt/mongo/db/repl/libinitial_syncer.a 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/auth/libsasl_options.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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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_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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/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/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ 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::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/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 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 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 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 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 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 ar rcsTD build/opt/mongo/db/auth/libuser_document_parser.a build/opt/mongo/db/auth/user_document_parser.o Skipping ranlib for thin archive build/opt/mongo/db/auth/libuser_document_parser.a 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 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 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/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/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/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 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 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/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/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 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/util/libprocparser.a build/opt/mongo/util/procparser.o Skipping ranlib for thin archive build/opt/mongo/util/libprocparser.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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/libkill_sessions.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/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 { ^~~~~~~~ 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 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 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 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 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/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/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/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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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/plan_cache.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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ ar rcsTD build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a build/opt/mongo/db/repl/replication_consistency_markers_impl.o 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 Skipping ranlib for thin archive build/opt/mongo/db/repl/libreplication_consistency_markers_impl.a 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 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 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/commands/libmongod.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/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 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 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_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 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/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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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/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/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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ 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/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/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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ 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 src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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/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/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/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 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/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/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 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 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 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/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 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/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 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/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 ar rcsTD build/opt/mongo/db/repl/libsync_source_resolver.a build/opt/mongo/db/repl/sync_source_resolver.o 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/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 Skipping ranlib for thin archive build/opt/mongo/db/repl/libsync_source_resolver.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 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 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 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 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 Using tempfile /usr/src/tmp/tmpdb_i8F.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/tmpdb_i8F.lnk Skipping ranlib for thin archive build/opt/third_party/wiredtiger/libwiredtiger.a 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from 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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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/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/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/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/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 { ^~~~~~~~ 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 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 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/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 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 ar rcsTD build/opt/mongo/db/repl/librollback_source_impl.a build/opt/mongo/db/repl/rollback_source_impl.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_database_catalog_entry_core.a ar rcsTD build/opt/mongo/util/concurrency/libticketholder.a build/opt/mongo/util/concurrency/ticketholder.o Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_source_impl.a Skipping ranlib for thin archive build/opt/mongo/util/concurrency/libticketholder.a 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/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 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 ar rcsTD build/opt/mongo/db/repl/librollback_checker.a build/opt/mongo/db/repl/rollback_checker.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/repl/librollback_checker.a 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 ar rcsTD build/opt/mongo/db/repl/liboplog_buffer_blocking_queue.a build/opt/mongo/db/repl/oplog_buffer_blocking_queue.o 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/liboplog_buffer_blocking_queue.a 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/repl/libdata_replicator_external_state_impl.a Skipping ranlib for thin archive build/opt/mongo/db/auth/libauthservercommon.a 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 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 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/commands/libkill_common.a Skipping ranlib for thin archive build/opt/mongo/db/repl/libroll_back_local_operations.a 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ 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 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 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 Skipping ranlib for thin archive build/opt/mongo/db/repl/liboplog.a 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 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 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/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 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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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/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 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 ar rcsTD build/opt/mongo/db/storage/kv/libkv_engine.a build/opt/mongo/db/storage/kv/kv_database_catalog_entry.o Skipping ranlib for thin archive build/opt/mongo/db/storage/kv/libkv_engine.a 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/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 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/repl/libmultiapplier.a build/opt/mongo/db/repl/multiapplier.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libmultiapplier.a 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 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 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/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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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/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 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 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 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 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/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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~~~~~ 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 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 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/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 src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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/libcurop_metrics.a 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 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/s/libtype_shard_identity.a build/opt/mongo/db/s/add_shard_cmd_gen.o build/opt/mongo/db/s/type_shard_identity.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/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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/s/libtype_shard_identity.a src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-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/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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/query/canonical_query.h:37, from src/mongo/db/query/plan_cache.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 { ^~~~~~~~ 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 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 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/libmongodmain.a build/opt/mongo/db/db.o Skipping ranlib for thin archive build/opt/mongo/libmongodmain.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/repl/libisself.a build/opt/mongo/db/repl/isself.o Skipping ranlib for thin archive build/opt/mongo/db/repl/libisself.a 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/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 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 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/libmmap_v1_options.a 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 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 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 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 ar rcsTD build/opt/mongo/db/commands/libmongod_fsync.a build/opt/mongo/db/commands/fsync.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_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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/commands/libmongod_fsync.a 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 ar rcsTD build/opt/mongo/db/pipeline/libaggregation.a build/opt/mongo/db/pipeline/aggregation.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_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 { ^~~~~~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/db/pipeline/libaggregation.a ar rcsTD build/opt/mongo/s/client/libshard_interface.a build/opt/mongo/s/client/shard.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/plan_cache.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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/s/client/libshard_interface.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_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/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 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 ar rcsTD build/opt/mongo/db/storage/libstorage_repair_observer.a build/opt/mongo/db/storage/storage_repair_observer.o 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/storage/wiredtiger/libstorage_wiredtiger_core.a Skipping ranlib for thin archive build/opt/mongo/db/storage/libstorage_repair_observer.a Skipping ranlib for thin archive build/opt/mongo/db/free_mon/libfree_mon.a 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 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/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/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_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 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/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 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/s/libcommands_db_s.a Skipping ranlib for thin archive build/opt/mongo/db/commands/liblist_databases_command.a 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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)); ^ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'mongo::ValueStorage& mongo::ValueStorage::operator=(mongo::ValueStorage&&)': src/mongo/db/pipeline/value_internal.h:205:42: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::swap(mongo::ValueStorage&)': src/mongo/db/pipeline/value_internal.h:214:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this, &rhs, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h:215:41: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(&rhs, temp, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(this, 0, sizeof(*this)); ^ src/mongo/db/pipeline/value_internal.h:80:7: note: 'class mongo::ValueStorage' declared here class ValueStorage { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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_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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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/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 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/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 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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~~~~~ 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 In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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_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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ /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 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 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/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 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 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/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from 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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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/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/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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/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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~ Using tempfile /usr/src/tmp/tmpSB7N7t.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/tmpSB7N7t.lnk 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_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/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/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 { ^~~~~~~~ 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/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/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 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 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/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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_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 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 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 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 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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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_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_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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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_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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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/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/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 { ^~~~~~~~ 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_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/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 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 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_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 { ^~~~~~~~~~~~ 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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ src/mongo/db/pipeline/value_internal.h: In member function 'void mongo::ValueStorage::zero()': src/mongo/db/pipeline/value_internal.h:302:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class mongo::ValueStorage' with no trivial copy-assignment; use assignment or value-initialization instead [-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_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 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 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 ar rcsTD build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a build/opt/mongo/s/write_ops/batch_downconvert.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/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 { ^~~~~~~~ Skipping ranlib for thin archive build/opt/mongo/s/write_ops/libcluster_write_op_conversion.a 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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_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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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_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/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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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 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 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_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 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 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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_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 { ^~~~~~~~ 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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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_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_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 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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/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 { ^~~~~~~~~~~~ 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_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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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 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/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 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 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 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_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/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 In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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 { ^~~~~~~~ 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/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~~~~~ In file included from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/db/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 { ^~~~~~~~ In file included from src/mongo/db/pipeline/value.h:35, from src/mongo/db/pipeline/document_internal.h:39, from src/mongo/db/pipeline/document.h:33, from src/mongo/db/pipeline/dependencies.h:37, from src/mongo/db/matcher/expression.h:42, from src/mongo/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/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 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 Install file: "build/opt/mongo/mongod" as "mongod" Using tempfile /usr/src/tmp/tmpG3wOh2.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/tmpG3wOh2.lnk Install file: "build/opt/mongo/tools/mongobridge" as "mongobridge" 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 Using tempfile /usr/src/tmp/tmpB3LPiV.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/tmpB3LPiV.lnk Install file: "build/opt/mongo/mongos" as "mongos" scons: done building targets. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.93466 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd mongo-4.0.7 ++ pkg-config --cflags libpcrecpp + scons install -j 16 --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/mongod" as "/usr/src/tmp/mongo-buildroot/usr/bin/mongod" Install file: "build/opt/mongo/mongo" as "/usr/src/tmp/mongo-buildroot/usr/bin/mongo" Install file: "build/opt/mongo/mongos" as "/usr/src/tmp/mongo-buildroot/usr/bin/mongos" Creating 'src/mongo/installer/compass/install_compass' chmod 755 src/mongo/installer/compass/install_compass 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 chmod 755 /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/mongod 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,gnuconfig) 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 5059 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_14strand_service11strand_implEhE7contextEE6value_E): unique symbol not of object type section [ 4] '.dynsym': symbol 17428 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_14thread_contextENS0_16thread_info_baseEE7contextEE6value_E): unique symbol not of object type section [ 4] '.dynsym': symbol 25095 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_23strand_executor_service11strand_implEhE7contextEE6value_E): unique symbol not of object type verify-elf: WARNING: ./usr/bin/mongos: eu-elflint failed section [ 4] '.dynsym': symbol 6835 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_14strand_service11strand_implEhE7contextEE6value_E): unique symbol not of object type section [ 4] '.dynsym': symbol 24449 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_14thread_contextENS0_16thread_info_baseEE7contextEE6value_E): unique symbol not of object type section [ 4] '.dynsym': symbol 35359 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_23strand_executor_service11strand_implEhE7contextEE6value_E): unique symbol not of object type verify-elf: WARNING: ./usr/bin/mongo: eu-elflint failed section [ 4] '.dynsym': symbol 21670 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_14strand_service11strand_implEhE7contextEE6value_E): unique symbol not of object type section [ 4] '.dynsym': symbol 35845 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_23strand_executor_service11strand_implEhE7contextEE6value_E): unique symbol not of object type section [ 4] '.dynsym': symbol 42657 (_ZN4asio6detail15keyword_tss_ptrINS0_10call_stackINS0_14thread_contextENS0_16thread_info_baseEE7contextEE6value_E): unique symbol not of object type verify-elf: WARNING: ./usr/bin/mongod: 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.56944 + 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.n4Zxus 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.YcBfWK 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.rBeaY9 Creating mongo-debuginfo package Processing files: mongo-server-mongod-4.0.7-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.29266 + 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.k9DTqJ 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.Xgteom 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.QgkNU5 Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jdVUVS Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0cD8rJ 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.r0LgtD 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.70983 + 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.id85QN 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.jjwnI1 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.Oyhe8l Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NtOT1J Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AWvZob 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.laa1fG 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.0enu8n find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RPKLda 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.eBvhY8 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nnjVtf 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.6h12dy find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lxJzcV 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 (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongod-4.0.7-alt1.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongos-4.0.7-alt1.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/mongo-debuginfo-4.0.7-alt1.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongod-debuginfo-4.0.7-alt1.x86_64.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/mongo-server-mongos-debuginfo-4.0.7-alt1.x86_64.rpm (w2T16.xzdio) 9544.74user 686.64system 14:23.53elapsed 1184%CPU (0avgtext+0avgdata 5276604maxresident)k 0inputs+0outputs (0major+207754048minor)pagefaults 0swaps 9558.06user 691.99system 14:41.30elapsed 1163%CPU (0avgtext+0avgdata 5276604maxresident)k 82224inputs+0outputs (34392major+208257475minor)pagefaults 0swaps --- mongo-4.0.7-alt1.x86_64.rpm.repo 2019-03-27 22:39:00.000000000 +0000 +++ mongo-4.0.7-alt1.x86_64.rpm.hasher 2021-10-31 04:14:06.855666726 +0000 @@ -58,3 +58,3 @@ Provides: mongo = 4.0.7-alt1:sisyphus+225723.100.2.1 -File: /usr/bin/mongo 100755 root:root c6540d118a782dae19b5111387fd33b6 +File: /usr/bin/mongo 100755 root:root b39e0a560c038668a3e25ea0bdcdabbb File: /usr/share/doc/mongo-4.0.7 40755 root:root @@ -63,2 +63,2 @@ File: /usr/share/man/man1/mongo.1.xz 100644 root:root 29d5dbec94305d8c7c73367f7e93d0fb -RPMIdentity: 2aa52e023e6d9f2e7698068d34b25dc6d249550ae22d0219f4d684a42448fcf2fc9b6f12d6b0bfbf2e515dc0066fd788bfa8d10ce3744f07e9f7128b85a47004 +RPMIdentity: cbef5e67ef5c7ed3c63c20f361ccd3b970c6c9af94939eeb4c4bcb64b5df319d271e5e9d414ada2f6e4dd011fd74beff171584f560864c96864510c256053378 --- mongo-debuginfo-4.0.7-alt1.x86_64.rpm.repo 2019-03-27 22:39:02.000000000 +0000 +++ mongo-debuginfo-4.0.7-alt1.x86_64.rpm.hasher 2021-10-31 04:14:06.976668607 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/ee 40755 root:root -/usr/lib/debug/.build-id/ee/4b15293a54df0f822bca083cf14f93753437d5 120777 root:root ../../../../bin/mongo -/usr/lib/debug/.build-id/ee/4b15293a54df0f822bca083cf14f93753437d5.debug 120777 root:root ../../usr/bin/mongo.debug +/usr/lib/debug/.build-id/90 40755 root:root +/usr/lib/debug/.build-id/90/867ff215063e70e9f668788367bda197459fd8 120777 root:root ../../../../bin/mongo +/usr/lib/debug/.build-id/90/867ff215063e70e9f668788367bda197459fd8.debug 120777 root:root ../../usr/bin/mongo.debug /usr/lib/debug/usr/bin/mongo.debug 100644 root:root @@ -3163,6 +3163,6 @@ Provides: mongo-debuginfo = 4.0.7-alt1:sisyphus+225723.100.2.1 -File: /usr/lib/debug/.build-id/ee 40755 root:root -File: /usr/lib/debug/.build-id/ee/4b15293a54df0f822bca083cf14f93753437d5 120777 root:root ../../../../bin/mongo -File: /usr/lib/debug/.build-id/ee/4b15293a54df0f822bca083cf14f93753437d5.debug 120777 root:root ../../usr/bin/mongo.debug -File: /usr/lib/debug/usr/bin/mongo.debug 100644 root:root 9e758d59e227efde6d4476c37d11e560 +File: /usr/lib/debug/.build-id/90 40755 root:root +File: /usr/lib/debug/.build-id/90/867ff215063e70e9f668788367bda197459fd8 120777 root:root ../../../../bin/mongo +File: /usr/lib/debug/.build-id/90/867ff215063e70e9f668788367bda197459fd8.debug 120777 root:root ../../usr/bin/mongo.debug +File: /usr/lib/debug/usr/bin/mongo.debug 100644 root:root 1fe6e7c8793d03528b014d4105073952 File: /usr/src/debug/mongo-4.0.7 40755 root:root @@ -3229,3 +3229,3 @@ File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/net/hostandport_gen.cpp 100644 root:root 898a13fcefe5cac1bd407add14659650 -File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/version_constants.h 100644 root:root f1ce8b1595c55daa3430b1550d29d043 +File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/version_constants.h 100644 root:root 95b31e0765f99c2585ddfbd8555c4cec File: /usr/src/debug/mongo-4.0.7/src 40755 root:root @@ -6306,2 +6306,2 @@ File: /usr/src/debug/mongo-4.0.7/src/third_party/variant-1.3.0/include/mpark/variant.hpp 100644 root:root ccf4340c0e9639db27410bf137c9dee0 -RPMIdentity: 31f7d5d098a0960375b614a3e84e720adfe9dfe1b9e15229b9b6bf96b6e683ce6efe6a335623aa9737e73fbe91f18a3ccefe723546fe299ac16574b42c5d5b3a +RPMIdentity: f167bebaefd06fba6d73f174403880716ae8dd892306193d0b9a8a4326adbc49bb5872fd9cd8810ddce18e3a1b86d02dd33af1c37e1ce37b5dd8fc359cfd1cba --- mongo-server-mongod-4.0.7-alt1.x86_64.rpm.repo 2019-03-27 22:39:00.000000000 +0000 +++ mongo-server-mongod-4.0.7-alt1.x86_64.rpm.hasher 2021-10-31 04:14:07.031669463 +0000 @@ -93,3 +93,3 @@ File: /lib/tmpfiles.d/mongod.conf 100644 root:root e842633030ca4411cbaa35457ab922e6 -File: /usr/bin/mongod 100755 root:root 9641d2f4b184f16148fbfb2bc5bef273 +File: /usr/bin/mongod 100755 root:root 6c6877725b5dff5c154a45e0aaff1f11 File: /usr/share/doc/mongo-server-mongod-4.0.7 40755 root:root @@ -101,2 +101,2 @@ File: /var/run/mongo 40750 mongod:mongod -RPMIdentity: 7fef2632e2f5399e93b21db6131b3bbd15b57f99ce41ae4f0825c453c51d442bcf217fdf2b67d3e25b0768ae75b866dbff13da8c3839ef8a59c7f7d8b84b581b +RPMIdentity: 6150f67df6ee36c5de7d7261c0486a5107bdbb73034a4b974ec7c0550591f96ea4f6b0286221ad6c20d87daf8728566baa7799758faa2317dff9b1b9a6367504 --- mongo-server-mongod-debuginfo-4.0.7-alt1.x86_64.rpm.repo 2019-03-27 22:39:08.000000000 +0000 +++ mongo-server-mongod-debuginfo-4.0.7-alt1.x86_64.rpm.hasher 2021-10-31 04:14:07.153671360 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/19 40755 root:root -/usr/lib/debug/.build-id/19/5b0b93d7bdc3198737084a82a713f92d0cea8b 120777 root:root ../../../../bin/mongod -/usr/lib/debug/.build-id/19/5b0b93d7bdc3198737084a82a713f92d0cea8b.debug 120777 root:root ../../usr/bin/mongod.debug +/usr/lib/debug/.build-id/99 40755 root:root +/usr/lib/debug/.build-id/99/79d03b7d60c2ebe35f18a7f2ba58f1ce4366a9 120777 root:root ../../../../bin/mongod +/usr/lib/debug/.build-id/99/79d03b7d60c2ebe35f18a7f2ba58f1ce4366a9.debug 120777 root:root ../../usr/bin/mongod.debug /usr/lib/debug/usr/bin/mongod.debug 100644 root:root @@ -5082,6 +5082,6 @@ Provides: mongo-server-mongod-debuginfo = 4.0.7-alt1:sisyphus+225723.100.2.1 -File: /usr/lib/debug/.build-id/19 40755 root:root -File: /usr/lib/debug/.build-id/19/5b0b93d7bdc3198737084a82a713f92d0cea8b 120777 root:root ../../../../bin/mongod -File: /usr/lib/debug/.build-id/19/5b0b93d7bdc3198737084a82a713f92d0cea8b.debug 120777 root:root ../../usr/bin/mongod.debug -File: /usr/lib/debug/usr/bin/mongod.debug 100644 root:root 7318d5ab88e1d0e115660078996cd095 +File: /usr/lib/debug/.build-id/99 40755 root:root +File: /usr/lib/debug/.build-id/99/79d03b7d60c2ebe35f18a7f2ba58f1ce4366a9 120777 root:root ../../../../bin/mongod +File: /usr/lib/debug/.build-id/99/79d03b7d60c2ebe35f18a7f2ba58f1ce4366a9.debug 120777 root:root ../../usr/bin/mongod.debug +File: /usr/lib/debug/usr/bin/mongod.debug 100644 root:root 80e7b56f76ee8703884489e221ed7c09 File: /usr/src/debug/mongo-4.0.7 40755 root:root @@ -5206,3 +5206,3 @@ File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/net/hostandport_gen.cpp 100644 root:root 898a13fcefe5cac1bd407add14659650 -File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/version_constants.h 100644 root:root f1ce8b1595c55daa3430b1550d29d043 +File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/version_constants.h 100644 root:root 95b31e0765f99c2585ddfbd8555c4cec File: /usr/src/debug/mongo-4.0.7/build/opt/third_party 40755 root:root @@ -10142,2 +10142,2 @@ File: /usr/src/debug/mongo-4.0.7/src/third_party/wiredtiger/src/txn/txn_timestamp.c 100644 root:root 3d6753fa29049f73c6ba559b8a8782e2 -RPMIdentity: d01eee5015d83bd11cc841f4bf0f96f2373b9c7a5d1245bc9286ded68da112a9950184a1b89196ec9338d6ed299a84d926ff886b683f3a9989fd261395e97308 +RPMIdentity: bb3ee042b7361407c2ffe9b3e1a567b60b9580bed7420dd2930eedd79ec82e9554c4e8c9fc0f818a679879a90a252806bcc4139c36236703ce10f8d566a163d8 --- mongo-server-mongos-4.0.7-alt1.x86_64.rpm.repo 2019-03-27 22:39:04.000000000 +0000 +++ mongo-server-mongos-4.0.7-alt1.x86_64.rpm.hasher 2021-10-31 04:14:07.208672215 +0000 @@ -87,3 +87,3 @@ File: /lib/tmpfiles.d/mongos.conf 100644 root:root e842633030ca4411cbaa35457ab922e6 -File: /usr/bin/mongos 100755 root:root 76607984cf037f37631c8c41b5a2f815 +File: /usr/bin/mongos 100755 root:root 7f18e1d9de79dd1ad73e312ce776c88a File: /usr/share/doc/mongo-server-mongos-4.0.7 40755 root:root @@ -94,2 +94,2 @@ File: /var/run/mongo 40750 mongod:mongod -RPMIdentity: b7a10ecc16f75937c0bec859488d712c6ed62702b789873b97b7e51d08fe0a8a752834f11eab35575c708ed884921f3bc7aa930aa1c9768482a4b952ae6607bd +RPMIdentity: 4f324bc39dc5de98d80e72c54baf5ba77b75400f66ec5cfb5869259a1bb0662f31d6b8f5c18a05f0f6c5774f55a492aa4ae77465ae105328f621f8970af427fe --- mongo-server-mongos-debuginfo-4.0.7-alt1.x86_64.rpm.repo 2019-03-27 22:39:04.000000000 +0000 +++ mongo-server-mongos-debuginfo-4.0.7-alt1.x86_64.rpm.hasher 2021-10-31 04:14:07.304673708 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/7b 40755 root:root -/usr/lib/debug/.build-id/7b/0e9d89bea794d18e3b3f1ec19166b552674f27 120777 root:root ../../../../bin/mongos -/usr/lib/debug/.build-id/7b/0e9d89bea794d18e3b3f1ec19166b552674f27.debug 120777 root:root ../../usr/bin/mongos.debug +/usr/lib/debug/.build-id/c4 40755 root:root +/usr/lib/debug/.build-id/c4/90498b5cb170ca0cfa032d773319eebe7af554 120777 root:root ../../../../bin/mongos +/usr/lib/debug/.build-id/c4/90498b5cb170ca0cfa032d773319eebe7af554.debug 120777 root:root ../../usr/bin/mongos.debug /usr/lib/debug/usr/bin/mongos.debug 100644 root:root @@ -3227,6 +3227,6 @@ Provides: mongo-server-mongos-debuginfo = 4.0.7-alt1:sisyphus+225723.100.2.1 -File: /usr/lib/debug/.build-id/7b 40755 root:root -File: /usr/lib/debug/.build-id/7b/0e9d89bea794d18e3b3f1ec19166b552674f27 120777 root:root ../../../../bin/mongos -File: /usr/lib/debug/.build-id/7b/0e9d89bea794d18e3b3f1ec19166b552674f27.debug 120777 root:root ../../usr/bin/mongos.debug -File: /usr/lib/debug/usr/bin/mongos.debug 100644 root:root 8f2b00a1a6b34e4141f9b07320ddf312 +File: /usr/lib/debug/.build-id/c4 40755 root:root +File: /usr/lib/debug/.build-id/c4/90498b5cb170ca0cfa032d773319eebe7af554 120777 root:root ../../../../bin/mongos +File: /usr/lib/debug/.build-id/c4/90498b5cb170ca0cfa032d773319eebe7af554.debug 120777 root:root ../../usr/bin/mongos.debug +File: /usr/lib/debug/usr/bin/mongos.debug 100644 root:root 9918053fa47264296d61cbc08f2d5227 File: /usr/src/debug/mongo-4.0.7 40755 root:root @@ -3321,3 +3321,3 @@ File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/net/hostandport_gen.cpp 100644 root:root 898a13fcefe5cac1bd407add14659650 -File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/version_constants.h 100644 root:root f1ce8b1595c55daa3430b1550d29d043 +File: /usr/src/debug/mongo-4.0.7/build/opt/mongo/util/version_constants.h 100644 root:root 95b31e0765f99c2585ddfbd8555c4cec File: /usr/src/debug/mongo-4.0.7/src 40755 root:root @@ -6433,2 +6433,2 @@ File: /usr/src/debug/mongo-4.0.7/src/third_party/variant-1.3.0/include/mpark/variant.hpp 100644 root:root ccf4340c0e9639db27410bf137c9dee0 -RPMIdentity: e96066d7753b1a5fe6a21f776125ac301864bfdb012f3a59f2e69f17618bcf2fba9697eecc2f57c299ac159071b90da257bcd5cca0a3af4553a1cfd593825fc5 +RPMIdentity: fdead05e393a3fad5cb3b8fd09d6cb5baf69a861e2bc6558c549a0ac827edcb837f5753c296e590da9fa2601ce4a6ef4e85148447488626ced27d909903d6086