Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'], logger=timeout=172800shell=Falseenv={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'}printOutput=Falsenspawn_args=[]gid=425chrootPath='/var/lib/mock/f26-build-8575275-751166/root'uid=1000user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mongo-cxx-driver-1.1.2-6.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'], logger=timeout=172800shell=Falseenv={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'}printOutput=Falsenspawn_args=[]gid=425chrootPath='/var/lib/mock/f26-build-8575275-751166/root'uid=1000user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mongo-cxx-driver.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xVMw2s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mongo-cxx-driver-legacy-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/legacy-1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mongo-cxx-driver-legacy-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\r//' README.md + sed -i -e 's@$INSTALL_DIR/lib@$INSTALL_DIR/lib64@g' src/SConscript.client + pre='EnsureSConsVersion(2, 3, 0)' + post='sharedLibEnv.AppendUnique(SHLIBVERSION="1.1.2")' + sed -i -r -e 's|([[:space:]]*)(sharedLibEnv *= *libEnv.Clone.*)|\1EnsureSConsVersion(2, 3, 0)\n\1\2\n\1sharedLibEnv.AppendUnique(SHLIBVERSION="1.1.2")|' -e 's|(sharedLibEnv.)Install *\(|\1InstallVersionedLib(|' src/SConscript.client ++ echo '-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' ++ sed -r -e 's| |","|g' + opt='-O2","-g","-pipe","-Wall","-Werror=format-security","-Wp,-D_FORTIFY_SOURCE=2","-fexceptions","-fstack-protector-strong","--param=ssp-buffer-size=4","-grecord-gcc-switches","-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1","-m64","-mtune=generic' + sed -i -r -e 's|(if nix:)|\1\n\n env.Append( CCFLAGS=["-O2","-g","-pipe","-Wall","-Werror=format-security","-Wp,-D_FORTIFY_SOURCE=2","-fexceptions","-fstack-protector-strong","--param=ssp-buffer-size=4","-grecord-gcc-switches","-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1","-m64","-mtune=generic"] )\n\n|' SConstruct + sed -i 's|ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10);||' src/mongo/base/parse_number_test.cpp + sed -i -r -e 's|boost::ref|std::ref|g' src/mongo/client/examples/connect.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mpujQd + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-legacy-1.1.2 + scons -j6 --sharedclient --ssl --c++11 --disable-warnings-as-errors --opt=off --use-sasl-client scons: Reading SConscript files ... Mkdir("build/scons") scons version: 2.5.1 python version: 2 7 13 'final' 0 Checking whether the C++ compiler works... yes Checking whether the C compiler works... yes Checking if C++ compiler "g++" is GCC... yes Checking if C compiler "gcc" is GCC... 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-unused-const-variable... yes Checking if C compiler supports -Wno-missing-braces... yes Checking if we are using libstdc++... yes Checking for libstdc++ 4.6.0 or better... yes Checking if C++ compiler supports -std=c++11... yes Checking if C compiler supports -std=c99... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... yes Checking for __thread... yes Checking for C++11 support... yes Checking for C++11 is_trivially_copyable support... yes Checking for SSL_version(NULL) in C library ssl... yes Checking for SSLeay_version(0) in C library crypto... yes Checking that linking to OpenSSL works...yes Checking whether FIPS_mode_set is declared... yes Checking for C++ header file boost/version.hpp... yes Checking for C++ library boost_regex-mt... no Checking for C++ library boost_regex... yes Checking for C++ library boost_thread-mt... no Checking for C++ library boost_thread... yes Checking for C++ library boost_system-mt... no Checking for C++ library boost_system... yes Checking for C header file unistd.h... yes Checking for C library rt... yes Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... yes Checking whether timegm is declared... no Checking whether strnlen is declared... no Checking for C library curl... no scons: done reading SConscript files. scons: Building targets ... /usr/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.h build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.cpp Creating 'build/linux2/c++11_on/opt_off/ssl/mongo/config.h' g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_context.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/initializer_context.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/make_string_vector.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/make_string_vector.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/map:60, from src/mongo/base/initializer_context.h:18, from src/mongo/base/initializer_context.cpp:16: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/make_string_vector.h:18, from src/mongo/base/make_string_vector.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/string_data.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/string_data.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/utility:68, from /usr/include/c++/7/algorithm:60, from src/mongo/base/string_data.h:20, from src/mongo/base/string_data.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/strnlen.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/strnlen.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/options.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/options.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from src/mongo/platform/strnlen.h:18, from src/mongo/platform/strnlen.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer_registerer.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/global_initializer_registerer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/options.h:18, from src/mongo/client/options.cpp:21: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/global_initializer_registerer.h:18, from src/mongo/base/global_initializer_registerer.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/replica_set_monitor.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/index_spec.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/client/replica_set_monitor.h:18, from src/mongo/client/replica_set_monitor.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/json.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/db/json.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/index_spec.h:18, from src/mongo/client/index_spec.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/db/json.h:18, from src/mongo/db/json.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2d.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/geo/coordinates2d.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/utility:68, from src/mongo/geo/coordinates2d.h:20, from src/mongo/geo/coordinates2d.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_dependency_graph.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/initializer_dependency_graph.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer_dependency_graph.h:18, from src/mongo/base/initializer_dependency_graph.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/status.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/status.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/base/status.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_result.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_result.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/write_result.h:18, from src/mongo/client/write_result.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/db/dbmessage.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/bson/bson_validate.h:20, from src/mongo/db/dbmessage.h:20, from src/mongo/db/dbmessage.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonmisc.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonmisc.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonmisc.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_update_builder.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/bulk_update_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/bulk_update_builder.h:18, from src/mongo/client/bulk_update_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursor.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursor.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/deque:60, from /usr/include/c++/7/stack:60, from src/mongo/client/dbclientcursor.h:20, from src/mongo/client/dbclientcursor.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/init.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/init.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/client/init.h:20, from src/mongo/client/init.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/parse_number.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/base/parse_number.h:22, from src/mongo/base/parse_number.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/component_message_log_domain.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/component_message_log_domain.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_component.h:18, from src/mongo/logger/log_component_settings.h:19, from src/mongo/logger/component_message_log_domain.h:18, from src/mongo/logger/component_message_log_domain.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.h:20, from build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/random.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/random.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9, from src/mongo/platform/cstdint.h:27, from src/mongo/platform/random.h:20, from src/mongo/platform/random.cpp:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/initializer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/initializer.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_component.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_component.h:18, from src/mongo/logger/log_component.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/wire_protocol_writer.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/wire_protocol_writer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/dbclient_writer.h:18, from src/mongo/client/wire_protocol_writer.h:18, from src/mongo/client/wire_protocol_writer.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/logstream_builder.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/logstream_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/logger/logstream_builder.h:18, from src/mongo/logger/logstream_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclient.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/client/dbclient.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_operation_builder.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/bulk_operation_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/bulk_operation_builder.h:18, from src/mongo/client/bulk_operation_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimcursorid.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursorshimcursorid.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/deque:60, from /usr/include/c++/7/stack:60, from src/mongo/client/dbclientcursor.h:20, from src/mongo/client/dbclientcursorshimcursorid.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bson_validate.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/gridfs.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/gridfs.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstring:41, from src/mongo/bson/bson_validate.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/client/gridfs.h:20, from src/mongo/client/gridfs.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonelement.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonelement.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from src/mongo/bson/bsonelement.h:20, from src/mongo/bson/bsonelement.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_authenticate.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/client/sasl_client_authenticate.h:18, from src/mongo/client/sasl_client_authenticate.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/logger.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/logger.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/logger/message_log_domain.h:18, from src/mongo/logger/logger.h:19, from src/mongo/logger/logger.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_concern.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from /usr/include/c++/7/bitset:47, from src/mongo/client/write_concern.h:18, from src/mongo/client/write_concern.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_manager.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_manager.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/logger/log_manager.h:18, from src/mongo/logger/log_manager.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/exceptions.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/exceptions.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/exception:37, from src/mongo/client/exceptions.h:18, from src/mongo/client/exceptions.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/insert_write_operation.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobj.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobj.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobj.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/insert_write_operation.h:18, from src/mongo/client/insert_write_operation.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimtransform.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursorshimtransform.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/dbclientcursorshim.h:18, from src/mongo/client/dbclientcursorshimtransform.h:18, from src/mongo/client/dbclientcursorshimtransform.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/oid.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/bson/oid.h:20, from src/mongo/bson/oid.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_log_domain.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/message_log_domain.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/logger/message_log_domain.h:18, from src/mongo/logger/message_log_domain.cpp:18: /usr/include/features.h:373: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/platform/compiler.h:122:0, from src/mongo/client/export_macros.h:18, from src/mongo/base/string_data.h:26, from build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.h:22, from src/mongo/base/status.h:21, from src/mongo/base/initializer_function.h:18, from src/mongo/base/initializer_dependency_graph.h:23, from src/mongo/base/initializer.h:23, from src/mongo/base/init.h:31, from src/mongo/client/dbclient.cpp:22: src/mongo/client/dbclientcursor.h: In member function 'void mongo::DBClientCursor::_assertIfNull() const': src/mongo/util/assert_util.h:231:28: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if (MONGO_unlikely(!(expr))) { \ ^~~~~~~ src/mongo/platform/compiler_gcc.h:82:80: note: in definition of macro 'MONGO_unlikely' #define MONGO_unlikely(x) static_cast(__builtin_expect(static_cast(x), 0)) ^ src/mongo/util/assert_util.h:302:17: note: in expansion of macro 'MONGO_uassert' #define uassert MONGO_uassert ^~~~~~~~~~~~~ src/mongo/client/dbclientcursor.h:269:9: note: in expansion of macro 'uassert' uassert(13348, "connection died", this); ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_event_utf8_encoder.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/message_event_utf8_encoder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/message_event_utf8_encoder.h:18, from src/mongo/logger/message_event_utf8_encoder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclient_rs.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component_settings.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_component_settings.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/client/dbclient_rs.h:20, from src/mongo/client/dbclient_rs.cpp:20: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_component.h:18, from src/mongo/logger/log_component_settings.h:19, from src/mongo/logger/log_component_settings.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimarray.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursorshimarray.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/dbclientcursorshim.h:18, from src/mongo/client/dbclientcursorshimarray.h:18, from src/mongo/client/dbclientcursorshimarray.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_operation_base.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_operation_base.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/write_operation_base.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjiterator.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobjiterator.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobjiterator.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2dgeographic.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/geo/coordinates2dgeographic.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/utility:68, from src/mongo/geo/coordinates2dgeographic.h:20, from src/mongo/geo/coordinates2dgeographic.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/command_writer.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/command_writer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/dbclient_writer.h:18, from src/mongo/client/command_writer.h:18, from src/mongo/client/command_writer.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/global_initializer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/global_initializer.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_upsert_builder.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/bulk_upsert_builder.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/delete_write_operation.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/delete_write_operation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/delete_write_operation.h:18, from src/mongo/client/delete_write_operation.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/bulk_upsert_builder.h:18, from src/mongo/client/bulk_upsert_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/util/bson_extract.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/bson/util/bson_extract.h:18, from src/mongo/bson/util/bson_extract.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobjbuilder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobjbuilder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/update_write_operation.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/update_write_operation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/update_write_operation.h:18, from src/mongo/client/update_write_operation.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/init.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/init.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/base/init.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsontypes.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsontypes.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/exception.h:38, from /usr/include/c++/7/typeinfo:34, from src/mongo/util/assert_util.h:20, from src/mongo/bson/bsontypes.h:20, from src/mongo/bson/bsontypes.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_severity.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_severity.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_severity.h:18, from src/mongo/logger/log_severity.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/assert_util.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/assert_util.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/exception.h:38, from /usr/include/c++/7/typeinfo:34, from src/mongo/util/assert_util.h:20, from src/mongo/util/assert_util.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/background.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/background.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/base64.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/base64.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/util/background.h:20, from src/mongo/util/background.cpp:22: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstring:41, from src/mongo/util/base64.h:20, from src/mongo/util/base64.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/concurrency/synchronization.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/concurrency/synchronization.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/util/concurrency/synchronization.h:20, from src/mongo/util/concurrency/synchronization.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/fail_point.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/thread/detail/platform.hpp:14, from /usr/include/boost/thread/mutex.hpp:12, from src/mongo/util/fail_point.h:18, from src/mongo/util/fail_point.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_registry.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/fail_point_registry.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/util/fail_point_registry.h:22, from src/mongo/util/fail_point_registry.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_service.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/fail_point_service.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/util/fail_point_service.h:18, from src/mongo/util/fail_point_service.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/hex.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/hex.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/util/hex.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/log.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/log.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/util/log.h:35, from src/mongo/util/log.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/md5.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/md5.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/hostandport.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from src/mongo/util/md5.cpp:63: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/util/net/hostandport.h:18, from src/mongo/util/net/hostandport.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/message.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/util/net/message.h:20, from src/mongo/util/net/message.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message_port.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/message_port.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/util/net/message_port.h:22, from src/mongo/util/net/message_port.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/sock.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from src/mongo/util/net/sock.h:22, from src/mongo/util/net/sock.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/socket_poll.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/socket_poll.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/util/net/socket_poll.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/ssl_manager.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/ssl_manager.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/util/net/ssl_manager.h:20, from src/mongo/util/net/ssl_manager.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/password_digest.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/password_digest.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/util/password_digest.h:18, from src/mongo/util/password_digest.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/stringutils.cpp In file included from /usr/include/ctype.h:25:0, from src/mongo/util/stringutils.h:20, from src/mongo/util/stringutils.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/text.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/text.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/util/text.h:21, from src/mongo/util/text.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/time_support.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/util/time_support.h:20, from src/mongo/util/time_support.cpp:18: /usr/include/features.h:373: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/util/net/message_port.cpp:35:0: src/mongo/util/scopeguard.h: In instantiation of 'mongo::ScopeGuardImpl1 mongo::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]': src/mongo/util/net/message_port.cpp:226:57: required from here src/mongo/util/scopeguard.h:154:7: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] class ScopeGuardImpl1 : public ScopeGuardImplBase { ^~~~~~~~~~~~~~~ src/mongo/util/scopeguard.h:154:7: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] src/mongo/util/scopeguard.h:177:53: note: synthesized method 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' first required here return ScopeGuardImpl1::MakeGuard(fun, p1); ^ src/mongo/util/scopeguard.h: In instantiation of 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]': src/mongo/util/net/message_port.cpp:226:57: required from here src/mongo/util/scopeguard.h:160:5: warning: mangled name for 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ~ScopeGuardImpl1() throw() { ^ src/mongo/util/scopeguard.h:160:5: warning: mangled name for 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/timer.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/timer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/ctime:41, from src/mongo/util/timer.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ src/mongo/util/scopeguard.h: In instantiation of 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]': src/mongo/util/scopeguard.h:157:16: required from 'static mongo::ScopeGuardImpl1 mongo::ScopeGuardImpl1::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' src/mongo/util/scopeguard.h:177:45: required from 'mongo::ScopeGuardImpl1 mongo::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' src/mongo/util/net/message_port.cpp:226:57: required from here src/mongo/util/scopeguard.h:169:5: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ScopeGuardImpl1(F fun, P1 p1) : fun_(fun), p1_(p1) {} ^~~~~~~~~~~~~~~ src/mongo/util/scopeguard.h:169:5: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] src/mongo/util/scopeguard.h:164:10: warning: mangled name for 'void mongo::ScopeGuardImpl1::Execute() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] void Execute() { ^~~~~~~ src/mongo/util/scopeguard.h:169:5: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ScopeGuardImpl1(F fun, P1 p1) : fun_(fun), p1_(p1) {} ^~~~~~~~~~~~~~~ src/mongo/util/scopeguard.h:96:17: warning: mangled name for 'static void mongo::ScopeGuardImplBase::SafeExecute(J&) [with J = mongo::ScopeGuardImpl1]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] static void SafeExecute(J& j) throw() { ^~~~~~~~~~~ src/mongo/util/scopeguard.h:156:35: warning: mangled name for 'static mongo::ScopeGuardImpl1 mongo::ScopeGuardImpl1::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] static ScopeGuardImpl1 MakeGuard(F fun, P1 p1) { ^~~~~~~~~ src/mongo/util/scopeguard.h:160:5: warning: mangled name for 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ~ScopeGuardImpl1() throw() { ^ src/mongo/util/scopeguard.h:176:31: warning: mangled name for 'mongo::ScopeGuardImpl1 mongo::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] inline ScopeGuardImpl1 MakeGuard(F fun, P1 p1) { ^~~~~~~~~ src/mongo/util/scopeguard.h:154:7: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] class ScopeGuardImpl1 : public ScopeGuardImplBase { ^~~~~~~~~~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/third_party/murmurhash3/MurmurHash3.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/third_party/murmurhash3/MurmurHash3.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9, from src/third_party/murmurhash3/MurmurHash3.h:8, from src/third_party/murmurhash3/MurmurHash3.cpp:10: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ gcc -o build/linux2/c++11_on/opt_off/ssl/third_party/tz/timegm.o -c -std=c99 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/third_party/tz/timegm.c In file included from /usr/include/errno.h:28:0, from src/third_party/tz/timegm_private.h:28, from src/third_party/tz/timegm.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/native_sasl_client_session.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/native_sasl_client_session.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/client/native_sasl_client_session.h:16, from src/mongo/client/native_sasl_client_session.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate_impl.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_authenticate_impl.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/client/sasl_client_authenticate_impl.cpp:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_conversation.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_conversation.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_session.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_session.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/sasl_client_conversation.h:19, from src/mongo/client/sasl_client_conversation.cpp:17: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/client/sasl_client_session.h:18, from src/mongo/client/sasl_client_session.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_plain_client_conversation.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_plain_client_conversation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/sasl_plain_client_conversation.h:19, from src/mongo/client/sasl_plain_client_conversation.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_scramsha1_client_conversation.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_scramsha1_client_conversation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/sasl_scramsha1_client_conversation.h:19, from src/mongo/client/sasl_scramsha1_client_conversation.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_openssl.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/crypto/crypto_openssl.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from /usr/include/openssl/bio.h:65, from /usr/include/openssl/evp.h:75, from src/mongo/crypto/crypto_openssl.cpp:28: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/mechanism_scram.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/crypto/mechanism_scram.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/crypto/mechanism_scram.h:18, from src/mongo/crypto/mechanism_scram.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/cyrus_sasl_client_session.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/cyrus_sasl_client_session.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/client/sasl_client_session.h:18, from src/mongo/client/cyrus_sasl_client_session.h:16, from src/mongo/client/cyrus_sasl_client_session.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_sspi.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -DSTATIC_LIBMONGOCLIENT -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_sspi.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/client/sasl_sspi.cpp:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.h:20, from build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/global_initializer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/global_initializer.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer_registerer.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/global_initializer_registerer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/global_initializer_registerer.h:18, from src/mongo/base/global_initializer_registerer.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/init.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/init.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/base/init.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/initializer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/initializer.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_context.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/initializer_context.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/map:60, from src/mongo/base/initializer_context.h:18, from src/mongo/base/initializer_context.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_dependency_graph.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/initializer_dependency_graph.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/make_string_vector.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/make_string_vector.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer_dependency_graph.h:18, from src/mongo/base/initializer_dependency_graph.cpp:16: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/make_string_vector.h:18, from src/mongo/base/make_string_vector.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ar rc build/linux2/c++11_on/opt_off/ssl/libmongoclient.a build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.o build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer.o build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer_registerer.o build/linux2/c++11_on/opt_off/ssl/mongo/base/init.o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer.o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_context.o build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_dependency_graph.o build/linux2/c++11_on/opt_off/ssl/mongo/base/make_string_vector.o build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number.o build/linux2/c++11_on/opt_off/ssl/mongo/base/status.o build/linux2/c++11_on/opt_off/ssl/mongo/base/string_data.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonelement.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonmisc.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobj.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjiterator.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsontypes.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid.o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract.o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_operation_builder.o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_update_builder.o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_upsert_builder.o build/linux2/c++11_on/opt_off/ssl/mongo/client/command_writer.o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient.o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs.o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursor.o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimarray.o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimcursorid.o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimtransform.o build/linux2/c++11_on/opt_off/ssl/mongo/client/delete_write_operation.o build/linux2/c++11_on/opt_off/ssl/mongo/client/exceptions.o build/linux2/c++11_on/opt_off/ssl/mongo/client/gridfs.o build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec.o build/linux2/c++11_on/opt_off/ssl/mongo/client/init.o build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation.o build/linux2/c++11_on/opt_off/ssl/mongo/client/options.o build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate.o build/linux2/c++11_on/opt_off/ssl/mongo/client/update_write_operation.o build/linux2/c++11_on/opt_off/ssl/mongo/client/wire_protocol_writer.o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern.o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_operation_base.o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_result.o build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage.o build/linux2/c++11_on/opt_off/ssl/mongo/db/json.o build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2d.o build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2dgeographic.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/component_message_log_domain.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component_settings.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_manager.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_severity.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/logger.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/logstream_builder.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_event_utf8_encoder.o build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_log_domain.o build/linux2/c++11_on/opt_off/ssl/mongo/platform/random.o build/linux2/c++11_on/opt_off/ssl/mongo/platform/strnlen.o build/linux2/c++11_on/opt_off/ssl/mongo/util/assert_util.o build/linux2/c++11_on/opt_off/ssl/mongo/util/background.o build/linux2/c++11_on/opt_off/ssl/mongo/util/base64.o build/linux2/c++11_on/opt_off/ssl/mongo/util/concurrency/synchronization.o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point.o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_registry.o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_service.o build/linux2/c++11_on/opt_off/ssl/mongo/util/hex.o build/linux2/c++11_on/opt_off/ssl/mongo/util/log.o build/linux2/c++11_on/opt_off/ssl/mongo/util/md5.o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport.o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message.o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message_port.o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock.o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/socket_poll.o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/ssl_manager.o build/linux2/c++11_on/opt_off/ssl/mongo/util/password_digest.o build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils.o build/linux2/c++11_on/opt_off/ssl/mongo/util/text.o build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support.o build/linux2/c++11_on/opt_off/ssl/mongo/util/timer.o build/linux2/c++11_on/opt_off/ssl/third_party/murmurhash3/MurmurHash3.o build/linux2/c++11_on/opt_off/ssl/third_party/tz/timegm.o build/linux2/c++11_on/opt_off/ssl/mongo/client/native_sasl_client_session.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate_impl.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_conversation.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_session.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_plain_client_conversation.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_scramsha1_client_conversation.o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_openssl.o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/mechanism_scram.o build/linux2/c++11_on/opt_off/ssl/mongo/client/cyrus_sasl_client_session.o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_sspi.o g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/parse_number.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/base/parse_number.h:22, from src/mongo/base/parse_number.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/status.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/status.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/string_data.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/string_data.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bson_validate.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonelement.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonelement.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonmisc.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonmisc.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/base/status.cpp:16: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/utility:68, from /usr/include/c++/7/algorithm:60, from src/mongo/base/string_data.h:20, from src/mongo/base/string_data.cpp:16: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstring:41, from src/mongo/bson/bson_validate.cpp:18: /usr/include/features.h:373: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/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from src/mongo/bson/bsonelement.h:20, from src/mongo/bson/bsonelement.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonmisc.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ranlib build/linux2/c++11_on/opt_off/ssl/libmongoclient.a g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobj.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobj.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobjbuilder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobj.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobjbuilder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjiterator.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobjiterator.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobjiterator.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsontypes.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsontypes.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/exception.h:38, from /usr/include/c++/7/typeinfo:34, from src/mongo/util/assert_util.h:20, from src/mongo/bson/bsontypes.h:20, from src/mongo/bson/bsontypes.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/oid.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/bson/oid.h:20, from src/mongo/bson/oid.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/util/bson_extract.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/bson/util/bson_extract.h:18, from src/mongo/bson/util/bson_extract.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_operation_builder.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/bulk_operation_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/bulk_operation_builder.h:18, from src/mongo/client/bulk_operation_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_update_builder.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/bulk_update_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/bulk_update_builder.h:18, from src/mongo/client/bulk_update_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_upsert_builder.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/bulk_upsert_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/bulk_upsert_builder.h:18, from src/mongo/client/bulk_upsert_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/command_writer.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/command_writer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/dbclient_writer.h:18, from src/mongo/client/command_writer.h:18, from src/mongo/client/command_writer.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclient.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclient_rs.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/client/dbclient_rs.h:20, from src/mongo/client/dbclient_rs.cpp:20: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/client/dbclient.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursor.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursor.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/deque:60, from /usr/include/c++/7/stack:60, from src/mongo/client/dbclientcursor.h:20, from src/mongo/client/dbclientcursor.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimarray.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursorshimarray.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/dbclientcursorshim.h:18, from src/mongo/client/dbclientcursorshimarray.h:18, from src/mongo/client/dbclientcursorshimarray.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimcursorid.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursorshimcursorid.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/deque:60, from /usr/include/c++/7/stack:60, from src/mongo/client/dbclientcursor.h:20, from src/mongo/client/dbclientcursorshimcursorid.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimtransform.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclientcursorshimtransform.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/bson/bsonobj.h:20, from src/mongo/client/dbclientcursorshim.h:18, from src/mongo/client/dbclientcursorshimtransform.h:18, from src/mongo/client/dbclientcursorshimtransform.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/delete_write_operation.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/delete_write_operation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/delete_write_operation.h:18, from src/mongo/client/delete_write_operation.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/exceptions.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/exceptions.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/exception:37, from src/mongo/client/exceptions.h:18, from src/mongo/client/exceptions.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/gridfs.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/gridfs.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/client/gridfs.h:20, from src/mongo/client/gridfs.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/index_spec.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/index_spec.h:18, from src/mongo/client/index_spec.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/init.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/init.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/client/init.h:20, from src/mongo/client/init.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/insert_write_operation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/insert_write_operation.h:18, from src/mongo/client/insert_write_operation.cpp:18: /usr/include/features.h:373: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/platform/compiler.h:122:0, from src/mongo/client/export_macros.h:18, from src/mongo/base/string_data.h:26, from build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.h:22, from src/mongo/base/status.h:21, from src/mongo/base/initializer_function.h:18, from src/mongo/base/initializer_dependency_graph.h:23, from src/mongo/base/initializer.h:23, from src/mongo/base/init.h:31, from src/mongo/client/dbclient.cpp:22: src/mongo/client/dbclientcursor.h: In member function 'void mongo::DBClientCursor::_assertIfNull() const': src/mongo/util/assert_util.h:231:28: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if (MONGO_unlikely(!(expr))) { \ ^~~~~~~ src/mongo/platform/compiler_gcc.h:82:80: note: in definition of macro 'MONGO_unlikely' #define MONGO_unlikely(x) static_cast(__builtin_expect(static_cast(x), 0)) ^ src/mongo/util/assert_util.h:302:17: note: in expansion of macro 'MONGO_uassert' #define uassert MONGO_uassert ^~~~~~~~~~~~~ src/mongo/client/dbclientcursor.h:269:9: note: in expansion of macro 'uassert' uassert(13348, "connection died", this); ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/options.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/options.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/options.h:18, from src/mongo/client/options.cpp:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/replica_set_monitor.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/client/replica_set_monitor.h:18, from src/mongo/client/replica_set_monitor.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_authenticate.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/client/sasl_client_authenticate.h:18, from src/mongo/client/sasl_client_authenticate.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/update_write_operation.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/update_write_operation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/update_write_operation.h:18, from src/mongo/client/update_write_operation.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/wire_protocol_writer.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/wire_protocol_writer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/dbclient_writer.h:18, from src/mongo/client/wire_protocol_writer.h:18, from src/mongo/client/wire_protocol_writer.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_concern.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from /usr/include/c++/7/bitset:47, from src/mongo/client/write_concern.h:18, from src/mongo/client/write_concern.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_operation_base.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_operation_base.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/write_operation_base.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_result.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_result.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/client/write_result.h:18, from src/mongo/client/write_result.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/db/dbmessage.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/bson/bson_validate.h:20, from src/mongo/db/dbmessage.h:20, from src/mongo/db/dbmessage.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/json.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/db/json.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2d.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/geo/coordinates2d.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/db/json.h:18, from src/mongo/db/json.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/utility:68, from src/mongo/geo/coordinates2d.h:20, from src/mongo/geo/coordinates2d.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2dgeographic.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/geo/coordinates2dgeographic.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/component_message_log_domain.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/component_message_log_domain.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/utility:68, from src/mongo/geo/coordinates2dgeographic.h:20, from src/mongo/geo/coordinates2dgeographic.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_component.h:18, from src/mongo/logger/log_component_settings.h:19, from src/mongo/logger/component_message_log_domain.h:18, from src/mongo/logger/component_message_log_domain.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_component.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_component.h:18, from src/mongo/logger/log_component.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component_settings.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_component_settings.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_component.h:18, from src/mongo/logger/log_component_settings.h:19, from src/mongo/logger/log_component_settings.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_manager.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_manager.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/logger/log_manager.h:18, from src/mongo/logger/log_manager.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_severity.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_severity.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/log_severity.h:18, from src/mongo/logger/log_severity.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/logger.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/logger.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/logger/message_log_domain.h:18, from src/mongo/logger/logger.h:19, from src/mongo/logger/logger.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/logstream_builder.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/logstream_builder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/logger/logstream_builder.h:18, from src/mongo/logger/logstream_builder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_event_utf8_encoder.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/message_event_utf8_encoder.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/logger/message_event_utf8_encoder.h:18, from src/mongo/logger/message_event_utf8_encoder.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_log_domain.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/message_log_domain.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/logger/message_log_domain.h:18, from src/mongo/logger/message_log_domain.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/random.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/random.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9, from src/mongo/platform/cstdint.h:27, from src/mongo/platform/random.h:20, from src/mongo/platform/random.cpp:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/strnlen.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/strnlen.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from src/mongo/platform/strnlen.h:18, from src/mongo/platform/strnlen.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/assert_util.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/assert_util.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/exception.h:38, from /usr/include/c++/7/typeinfo:34, from src/mongo/util/assert_util.h:20, from src/mongo/util/assert_util.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/background.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/background.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/base64.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/base64.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/util/background.h:20, from src/mongo/util/background.cpp:22: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstring:41, from src/mongo/util/base64.h:20, from src/mongo/util/base64.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/concurrency/synchronization.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/concurrency/synchronization.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/core/noncopyable.hpp:12, from /usr/include/boost/noncopyable.hpp:15, from src/mongo/util/concurrency/synchronization.h:20, from src/mongo/util/concurrency/synchronization.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/fail_point.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/thread/detail/platform.hpp:14, from /usr/include/boost/thread/mutex.hpp:12, from src/mongo/util/fail_point.h:18, from src/mongo/util/fail_point.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_registry.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/fail_point_registry.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/util/fail_point_registry.h:22, from src/mongo/util/fail_point_registry.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_service.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/fail_point_service.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/util/fail_point_service.h:18, from src/mongo/util/fail_point_service.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/hex.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/hex.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/util/hex.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/log.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/log.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/base/status.h:18, from src/mongo/util/log.h:35, from src/mongo/util/log.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/md5.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/md5.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from src/mongo/util/md5.cpp:63: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/hostandport.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/util/net/hostandport.h:18, from src/mongo/util/net/hostandport.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/message.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/util/net/message.h:20, from src/mongo/util/net/message.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message_port.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/message_port.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/util/net/message_port.h:22, from src/mongo/util/net/message_port.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/sock.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/socket_poll.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/socket_poll.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from src/mongo/util/net/sock.h:22, from src/mongo/util/net/sock.cpp:22: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/util/net/socket_poll.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/ssl_manager.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/ssl_manager.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/util/net/ssl_manager.h:20, from src/mongo/util/net/ssl_manager.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/password_digest.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/password_digest.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/util/password_digest.h:18, from src/mongo/util/password_digest.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/stringutils.cpp In file included from /usr/include/ctype.h:25:0, from src/mongo/util/stringutils.h:20, from src/mongo/util/stringutils.cpp:18: /usr/include/features.h:373: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/util/net/message_port.cpp:35:0: src/mongo/util/scopeguard.h: In instantiation of 'mongo::ScopeGuardImpl1 mongo::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]': src/mongo/util/net/message_port.cpp:226:57: required from here src/mongo/util/scopeguard.h:154:7: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] class ScopeGuardImpl1 : public ScopeGuardImplBase { ^~~~~~~~~~~~~~~ src/mongo/util/scopeguard.h:154:7: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] src/mongo/util/scopeguard.h:177:53: note: synthesized method 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' first required here return ScopeGuardImpl1::MakeGuard(fun, p1); ^ src/mongo/util/scopeguard.h: In instantiation of 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]': src/mongo/util/net/message_port.cpp:226:57: required from here src/mongo/util/scopeguard.h:160:5: warning: mangled name for 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ~ScopeGuardImpl1() throw() { ^ src/mongo/util/scopeguard.h:160:5: warning: mangled name for 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/text.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/text.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/util/text.h:21, from src/mongo/util/text.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ src/mongo/util/scopeguard.h: In instantiation of 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]': src/mongo/util/scopeguard.h:157:16: required from 'static mongo::ScopeGuardImpl1 mongo::ScopeGuardImpl1::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' src/mongo/util/scopeguard.h:177:45: required from 'mongo::ScopeGuardImpl1 mongo::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' src/mongo/util/net/message_port.cpp:226:57: required from here src/mongo/util/scopeguard.h:169:5: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ScopeGuardImpl1(F fun, P1 p1) : fun_(fun), p1_(p1) {} ^~~~~~~~~~~~~~~ src/mongo/util/scopeguard.h:169:5: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/time_support.cpp src/mongo/util/scopeguard.h:164:10: warning: mangled name for 'void mongo::ScopeGuardImpl1::Execute() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] void Execute() { ^~~~~~~ src/mongo/util/scopeguard.h:169:5: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ScopeGuardImpl1(F fun, P1 p1) : fun_(fun), p1_(p1) {} ^~~~~~~~~~~~~~~ src/mongo/util/scopeguard.h:96:17: warning: mangled name for 'static void mongo::ScopeGuardImplBase::SafeExecute(J&) [with J = mongo::ScopeGuardImpl1]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] static void SafeExecute(J& j) throw() { ^~~~~~~~~~~ src/mongo/util/scopeguard.h:156:35: warning: mangled name for 'static mongo::ScopeGuardImpl1 mongo::ScopeGuardImpl1::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] static ScopeGuardImpl1 MakeGuard(F fun, P1 p1) { ^~~~~~~~~ src/mongo/util/scopeguard.h:160:5: warning: mangled name for 'mongo::ScopeGuardImpl1::~ScopeGuardImpl1() [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] ~ScopeGuardImpl1() throw() { ^ src/mongo/util/scopeguard.h:176:31: warning: mangled name for 'mongo::ScopeGuardImpl1 mongo::MakeGuard(F, P1) [with F = void (*)(void*) throw (); P1 = char*]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] inline ScopeGuardImpl1 MakeGuard(F fun, P1 p1) { ^~~~~~~~~ src/mongo/util/scopeguard.h:154:7: warning: mangled name for 'mongo::ScopeGuardImpl1::ScopeGuardImpl1(const mongo::ScopeGuardImpl1&)' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] class ScopeGuardImpl1 : public ScopeGuardImplBase { ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/util/time_support.h:20, from src/mongo/util/time_support.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/timer.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/timer.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/ctime:41, from src/mongo/util/timer.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/third_party/murmurhash3/MurmurHash3.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/third_party/murmurhash3/MurmurHash3.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h:9, from src/third_party/murmurhash3/MurmurHash3.h:8, from src/third_party/murmurhash3/MurmurHash3.cpp:10: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ gcc -o build/linux2/c++11_on/opt_off/ssl/third_party/tz/timegm.os -c -std=c99 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/third_party/tz/timegm.c In file included from /usr/include/errno.h:28:0, from src/third_party/tz/timegm_private.h:28, from src/third_party/tz/timegm.c:13: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/native_sasl_client_session.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/native_sasl_client_session.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/client/native_sasl_client_session.h:16, from src/mongo/client/native_sasl_client_session.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate_impl.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_authenticate_impl.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:14, from /usr/include/boost/scoped_ptr.hpp:14, from src/mongo/client/sasl_client_authenticate_impl.cpp:27: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_conversation.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_conversation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/sasl_client_conversation.h:19, from src/mongo/client/sasl_client_conversation.cpp:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_session.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_client_session.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/client/sasl_client_session.h:18, from src/mongo/client/sasl_client_session.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_plain_client_conversation.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_plain_client_conversation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/sasl_plain_client_conversation.h:19, from src/mongo/client/sasl_plain_client_conversation.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_scramsha1_client_conversation.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_scramsha1_client_conversation.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/sasl_scramsha1_client_conversation.h:19, from src/mongo/client/sasl_scramsha1_client_conversation.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_openssl.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/crypto/crypto_openssl.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/mechanism_scram.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/crypto/mechanism_scram.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from /usr/include/openssl/bio.h:65, from /usr/include/openssl/evp.h:75, from src/mongo/crypto/crypto_openssl.cpp:28: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/crypto/mechanism_scram.h:18, from src/mongo/crypto/mechanism_scram.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/cyrus_sasl_client_session.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/cyrus_sasl_client_session.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/client/sasl_client_session.h:18, from src/mongo/client/cyrus_sasl_client_session.h:16, from src/mongo/client/cyrus_sasl_client_session.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_sspi.os -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -fvisibility=hidden -fPIC -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DLIBMONGOCLIENT_BUILDING -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/sasl_sspi.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/base/initializer.h:18, from src/mongo/base/init.h:31, from src/mongo/client/sasl_sspi.cpp:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/libmongoclient.so.1.1.2 -fPIC -Wl,-z,now -rdynamic -pthread -shared -Wl,-z,now -Wl,--as-needed -Wl,-zdefs -fvisibility=hidden -Wl,-Bsymbolic -Wl,-soname=libmongoclient.so.1 build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.os build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer.os build/linux2/c++11_on/opt_off/ssl/mongo/base/global_initializer_registerer.os build/linux2/c++11_on/opt_off/ssl/mongo/base/init.os build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer.os build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_context.os build/linux2/c++11_on/opt_off/ssl/mongo/base/initializer_dependency_graph.os build/linux2/c++11_on/opt_off/ssl/mongo/base/make_string_vector.os build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number.os build/linux2/c++11_on/opt_off/ssl/mongo/base/status.os build/linux2/c++11_on/opt_off/ssl/mongo/base/string_data.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonelement.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonmisc.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobj.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjiterator.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsontypes.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid.os build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract.os build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_operation_builder.os build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_update_builder.os build/linux2/c++11_on/opt_off/ssl/mongo/client/bulk_upsert_builder.os build/linux2/c++11_on/opt_off/ssl/mongo/client/command_writer.os build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient.os build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs.os build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursor.os build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimarray.os build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimcursorid.os build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclientcursorshimtransform.os build/linux2/c++11_on/opt_off/ssl/mongo/client/delete_write_operation.os build/linux2/c++11_on/opt_off/ssl/mongo/client/exceptions.os build/linux2/c++11_on/opt_off/ssl/mongo/client/gridfs.os build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec.os build/linux2/c++11_on/opt_off/ssl/mongo/client/init.os build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation.os build/linux2/c++11_on/opt_off/ssl/mongo/client/options.os build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate.os build/linux2/c++11_on/opt_off/ssl/mongo/client/update_write_operation.os build/linux2/c++11_on/opt_off/ssl/mongo/client/wire_protocol_writer.os build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern.os build/linux2/c++11_on/opt_off/ssl/mongo/client/write_operation_base.os build/linux2/c++11_on/opt_off/ssl/mongo/client/write_result.os build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage.os build/linux2/c++11_on/opt_off/ssl/mongo/db/json.os build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2d.os build/linux2/c++11_on/opt_off/ssl/mongo/geo/coordinates2dgeographic.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/component_message_log_domain.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_component_settings.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_manager.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_severity.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/logger.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/logstream_builder.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_event_utf8_encoder.os build/linux2/c++11_on/opt_off/ssl/mongo/logger/message_log_domain.os build/linux2/c++11_on/opt_off/ssl/mongo/platform/random.os build/linux2/c++11_on/opt_off/ssl/mongo/platform/strnlen.os build/linux2/c++11_on/opt_off/ssl/mongo/util/assert_util.os build/linux2/c++11_on/opt_off/ssl/mongo/util/background.os build/linux2/c++11_on/opt_off/ssl/mongo/util/base64.os build/linux2/c++11_on/opt_off/ssl/mongo/util/concurrency/synchronization.os build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point.os build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_registry.os build/linux2/c++11_on/opt_off/ssl/mongo/util/fail_point_service.os build/linux2/c++11_on/opt_off/ssl/mongo/util/hex.os build/linux2/c++11_on/opt_off/ssl/mongo/util/log.os build/linux2/c++11_on/opt_off/ssl/mongo/util/md5.os build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport.os build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message.os build/linux2/c++11_on/opt_off/ssl/mongo/util/net/message_port.os build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock.os build/linux2/c++11_on/opt_off/ssl/mongo/util/net/socket_poll.os build/linux2/c++11_on/opt_off/ssl/mongo/util/net/ssl_manager.os build/linux2/c++11_on/opt_off/ssl/mongo/util/password_digest.os build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils.os build/linux2/c++11_on/opt_off/ssl/mongo/util/text.os build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support.os build/linux2/c++11_on/opt_off/ssl/mongo/util/timer.os build/linux2/c++11_on/opt_off/ssl/third_party/murmurhash3/MurmurHash3.os build/linux2/c++11_on/opt_off/ssl/third_party/tz/timegm.os build/linux2/c++11_on/opt_off/ssl/mongo/client/native_sasl_client_session.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_authenticate_impl.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_conversation.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_client_session.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_plain_client_conversation.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_scramsha1_client_conversation.os build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_openssl.os build/linux2/c++11_on/opt_off/ssl/mongo/crypto/mechanism_scram.os build/linux2/c++11_on/opt_off/ssl/mongo/client/cyrus_sasl_client_session.os build/linux2/c++11_on/opt_off/ssl/mongo/client/sasl_sspi.os -L/usr/lib64 -L/lib64 -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 Create symlinks for: 'build/linux2/c++11_on/opt_off/ssl/libmongoclient.so.1.1.2': 'build/linux2/c++11_on/opt_off/ssl/libmongoclient.so.1'->'build/linux2/c++11_on/opt_off/ssl/libmongoclient.so.1.1.2', 'build/linux2/c++11_on/opt_off/ssl/libmongoclient.so'->'build/linux2/c++11_on/opt_off/ssl/libmongoclient.so.1.1.2' scons: done building targets. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rUqis5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64 ++ dirname /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64 + cd mongo-cxx-driver-legacy-1.1.2 + scons install -j6 --sharedclient --ssl --c++11 --disable-warnings-as-errors --opt=off --use-sasl-client --prefix=/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr scons: Reading SConscript files ... scons version: 2.5.1 python version: 2 7 13 'final' 0 Checking whether the C++ compiler works... (cached) yes Checking whether the C compiler works... (cached) yes Checking if C++ compiler "g++" is GCC... (cached) yes Checking if C compiler "gcc" is GCC... (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-unused-const-variable... (cached) yes Checking if C compiler supports -Wno-missing-braces... (cached) yes Checking if we are using libstdc++... (cached) yes Checking for libstdc++ 4.6.0 or better... (cached) yes Checking if C++ compiler supports -std=c++11... (cached) yes Checking if C compiler supports -std=c99... (cached) yes Checking if we are on a POSIX system... (cached) yes Checking if the POSIX monotonic clock is supported... (cached) yes Checking for __thread... (cached) yes Checking for C++11 support... (cached) yes Checking for C++11 is_trivially_copyable support... (cached) yes Checking for SSL_version(NULL) in C library ssl... (cached) yes Checking for SSLeay_version(0) in C library crypto... (cached) yes Checking that linking to OpenSSL works...(cached) yes Checking whether FIPS_mode_set is declared... (cached) yes Checking for C++ header file boost/version.hpp... (cached) yes Checking for C++ library boost_regex-mt... (cached) no Checking for C++ library boost_regex... (cached) yes Checking for C++ library boost_thread-mt... (cached) no Checking for C++ library boost_thread... (cached) yes Checking for C++ library boost_system-mt... (cached) no Checking for C++ library boost_system... (cached) yes Checking for C header file unistd.h... (cached) yes Checking for C library rt... (cached) yes Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... (cached) yes Checking whether timegm is declared... (cached) no Checking whether strnlen is declared... (cached) no Checking for C library curl... (cached) no scons: done reading SConscript files. scons: Building targets ... Install file: "build/linux2/c++11_on/opt_off/ssl/libmongoclient.a" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/lib64/libmongoclient.a" Install file: "build/linux2/c++11_on/opt_off/ssl/libmongoclient.so.1.1.2" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/lib64/libmongoclient.so.1.1.2" Install file: "src/mongo/base/data_cursor.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/data_cursor.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/data_cursor.h", 0644) Install file: "src/mongo/base/data_view.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/data_view.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/data_view.h", 0644) Install file: "src/mongo/base/disallow_copying.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/disallow_copying.h" Install file: "src/mongo/base/encoded_value_storage.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/encoded_value_storage.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/disallow_copying.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/encoded_value_storage.h", 0644) Install file: "build/linux2/c++11_on/opt_off/ssl/mongo/base/error_codes.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/error_codes.h" Install file: "src/mongo/base/parse_number.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/parse_number.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/parse_number.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/error_codes.h", 0644) Install file: "src/mongo/base/status-inl.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/status-inl.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/status-inl.h", 0644) Install file: "src/mongo/base/status.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/status.h" Install file: "src/mongo/base/status_with.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/status_with.h" Install file: "src/mongo/base/string_data-inl.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/string_data-inl.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/status_with.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/status.h", 0644) Install file: "src/mongo/base/string_data.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/string_data.h" Install file: "src/mongo/bson/bson-inl.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson-inl.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/string_data-inl.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson-inl.h", 0644) Install file: "src/mongo/bson/bson.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/base/string_data.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson.h", 0644) Install file: "src/mongo/bson/bson_db.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson_db.h" Install file: "src/mongo/bson/bson_field.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson_field.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson_field.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson_db.h", 0644) Install file: "src/mongo/bson/bson_validate.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson_validate.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bson_validate.h", 0644) Install file: "src/mongo/bson/bsonelement.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonelement.h" Install file: "src/mongo/bson/bsonmisc.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonmisc.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonmisc.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonelement.h", 0644) Install file: "src/mongo/bson/bsonobj.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonobj.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonobj.h", 0644) Install file: "src/mongo/bson/bsonobjbuilder.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonobjbuilder.h" Install file: "src/mongo/bson/bsonobjiterator.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonobjiterator.h" Install file: "src/mongo/bson/bsontypes.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsontypes.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsontypes.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonobjiterator.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/bsonobjbuilder.h", 0644) Install file: "src/mongo/bson/inline_decls.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/inline_decls.h" Install file: "src/mongo/bson/oid.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/oid.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/oid.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/inline_decls.h", 0644) Install file: "src/mongo/bson/ordering.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/ordering.h" Install file: "src/mongo/bson/timestamp.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/timestamp.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/timestamp.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/ordering.h", 0644) Install file: "src/mongo/bson/util/builder.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/util/builder.h" Install file: "src/mongo/client/autolib.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/autolib.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/bson/util/builder.h", 0644) Install file: "src/mongo/client/bulk_operation_builder.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/bulk_operation_builder.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/autolib.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/bulk_operation_builder.h", 0644) Install file: "src/mongo/client/bulk_update_builder.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/bulk_update_builder.h" Install file: "src/mongo/client/bulk_upsert_builder.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/bulk_upsert_builder.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/bulk_upsert_builder.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/bulk_update_builder.h", 0644) Install file: "src/mongo/client/dbclient.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclient.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclient.h", 0644) Install file: "src/mongo/client/dbclientcursor.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclientcursor.h" Install file: "src/mongo/client/dbclient_rs.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclient_rs.h" Install file: "src/mongo/client/dbclientinterface.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclientinterface.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclient_rs.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclientinterface.h", 0644) Install file: "src/mongo/client/exceptions.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/exceptions.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/exceptions.h", 0644) Install file: "src/mongo/client/export_macros.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/export_macros.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/dbclientcursor.h", 0644) Install file: "src/mongo/client/index_spec.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/index_spec.h" Install file: "src/mongo/client/init.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/init.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/export_macros.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/init.h", 0644) Install file: "src/mongo/client/gridfs.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/gridfs.h" Install file: "src/mongo/client/options.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/options.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/index_spec.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/gridfs.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/options.h", 0644) Install file: "src/mongo/client/redef_macros.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/redef_macros.h" Install file: "src/mongo/client/sasl_client_authenticate.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/sasl_client_authenticate.h" Install file: "src/mongo/client/undef_macros.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/undef_macros.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/undef_macros.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/sasl_client_authenticate.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/redef_macros.h", 0644) Install file: "src/mongo/client/write_concern.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/write_concern.h" Install file: "src/mongo/client/write_options.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/write_options.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/write_concern.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/write_options.h", 0644) Install file: "src/mongo/client/write_result.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/write_result.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/client/write_result.h", 0644) Install file: "build/linux2/c++11_on/opt_off/ssl/mongo/config.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/config.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/config.h", 0644) Install file: "src/mongo/db/jsobj.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/db/jsobj.h" Install file: "src/mongo/db/json.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/db/json.h" Install file: "src/mongo/geo/boundingbox.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/boundingbox.h" Install file: "src/mongo/geo/constants.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/constants.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/db/jsobj.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/db/json.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/constants.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/boundingbox.h", 0644) Install file: "src/mongo/geo/coordinates.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/coordinates.h" Install file: "src/mongo/geo/coordinates2d.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/coordinates2d.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/coordinates.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/coordinates2d.h", 0644) Install file: "src/mongo/geo/coordinates2dgeographic.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/coordinates2dgeographic.h" Install file: "src/mongo/geo/geometry.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/geometry.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/geometry.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/coordinates2dgeographic.h", 0644) Install file: "src/mongo/geo/geometrycollection.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/geometrycollection.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/geometrycollection.h", 0644) Install file: "src/mongo/geo/geoobj.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/geoobj.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/geoobj.h", 0644) Install file: "src/mongo/geo/interface.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/interface.h" Install file: "src/mongo/geo/multilinestring.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/multilinestring.h" Install file: "src/mongo/geo/linestring.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/linestring.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/multilinestring.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/interface.h", 0644) Install file: "src/mongo/geo/multipoint.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/multipoint.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/multipoint.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/linestring.h", 0644) Install file: "src/mongo/geo/multipolygon.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/multipolygon.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/multipolygon.h", 0644) Install file: "src/mongo/geo/namespaces.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/namespaces.h" Install file: "src/mongo/geo/parser-impl.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/parser-impl.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/parser-impl.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/namespaces.h", 0644) Install file: "src/mongo/geo/parser.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/parser.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/parser.h", 0644) Install file: "src/mongo/geo/point.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/point.h" Install file: "src/mongo/geo/polygon.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/polygon.h" Install file: "src/mongo/geo/queryutils.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/queryutils.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/queryutils.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/polygon.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/geo/point.h", 0644) Install file: "src/mongo/logger/appender.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/appender.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/appender.h", 0644) Install file: "src/mongo/logger/component_message_log_domain.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/component_message_log_domain.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/component_message_log_domain.h", 0644) Install file: "src/mongo/logger/labeled_level.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/labeled_level.h" Install file: "src/mongo/logger/log_component.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_component.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/labeled_level.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_component.h", 0644) Install file: "src/mongo/logger/log_component_settings.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_component_settings.h" Install file: "src/mongo/logger/log_domain.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_domain.h" Install file: "src/mongo/logger/log_manager.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_manager.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_component_settings.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_manager.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_domain.h", 0644) Install file: "src/mongo/logger/log_severity-inl.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_severity-inl.h" Install file: "src/mongo/logger/log_severity.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_severity.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_severity.h", 0644) Install file: "src/mongo/logger/logger.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/logger.h" Install file: "src/mongo/logger/logstream_builder.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/logstream_builder.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/log_severity-inl.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/logstream_builder.h", 0644) Install file: "src/mongo/logger/message_event.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/message_event.h" Install file: "src/mongo/logger/message_log_domain.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/message_log_domain.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/logger.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/message_log_domain.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/logger/message_event.h", 0644) Install file: "src/mongo/platform/atomic_intrinsics.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics.h", 0644) Install file: "src/mongo/platform/atomic_intrinsics_gcc_atomic.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_gcc_atomic.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_gcc_atomic.h", 0644) Install file: "src/mongo/platform/atomic_intrinsics_gcc_intel.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_gcc_intel.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_gcc_intel.h", 0644) Install file: "src/mongo/platform/atomic_intrinsics_gcc_sync.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_gcc_sync.h" Install file: "src/mongo/platform/atomic_intrinsics_win32.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_win32.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_gcc_sync.h", 0644) Install file: "src/mongo/platform/atomic_word_cxx11.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_word_cxx11.h" Install file: "src/mongo/platform/atomic_word.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_word.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_word_cxx11.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_intrinsics_win32.h", 0644) Install file: "src/mongo/platform/atomic_word_intrinsics.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_word_intrinsics.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_word_intrinsics.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/atomic_word.h", 0644) Install file: "src/mongo/platform/compiler.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/compiler.h" Install file: "src/mongo/platform/compiler_gcc.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/compiler_gcc.h" Install file: "src/mongo/platform/compiler_msvc.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/compiler_msvc.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/compiler.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/compiler_msvc.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/compiler_gcc.h", 0644) Install file: "src/mongo/platform/cstdint.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/cstdint.h" Install file: "src/mongo/platform/endian.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/endian.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/endian.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/cstdint.h", 0644) Install file: "src/mongo/platform/float_utils.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/float_utils.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/float_utils.h", 0644) Install file: "src/mongo/platform/hash_namespace.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/hash_namespace.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/hash_namespace.h", 0644) Install file: "src/mongo/platform/strnlen.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/strnlen.h" Install file: "src/mongo/platform/windows_basic.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/windows_basic.h" Install file: "src/mongo/platform/unordered_map.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/unordered_map.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/windows_basic.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/strnlen.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/platform/unordered_map.h", 0644) Install file: "src/mongo/stdx/functional.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/stdx/functional.h" Install file: "src/mongo/util/assert_util.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/assert_util.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/stdx/functional.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/assert_util.h", 0644) Install file: "src/mongo/util/mongoutils/str.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/mongoutils/str.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/mongoutils/str.h", 0644) Install file: "src/mongo/util/net/hostandport.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/hostandport.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/hostandport.h", 0644) Install file: "src/mongo/util/net/message.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/message.h" Install file: "src/mongo/util/net/message_port.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/message_port.h" Install file: "src/mongo/util/net/sock.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/sock.h" Install file: "src/mongo/util/net/operation.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/operation.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/message.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/message_port.h", 0644) Install file: "src/mongo/util/shared_buffer.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/shared_buffer.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/sock.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/shared_buffer.h", 0644) Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/net/operation.h", 0644) Install file: "src/mongo/util/time_support.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/time_support.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/util/time_support.h", 0644) Creating 'build/linux2/c++11_on/opt_off/ssl/mongo/version.h' Install file: "build/linux2/c++11_on/opt_off/ssl/mongo/version.h" as "/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/version.h" Chmod("/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/include/mongo/version.h", 0644) scons: done building targets. + rm -f /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/lib64/libmongoclient.a + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2 extracting debug info from /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/lib64/libmongoclient.so.1.1.2 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libmongoclient.so.1.1.2.debug to /usr/lib/debug/usr/lib64/libmongoclient.so.debug symlinked /usr/lib/debug/usr/lib64/libmongoclient.so.1.1.2.debug to /usr/lib/debug/usr/lib64/libmongoclient.so.1.debug 2737 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RBg6Ng + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-legacy-1.1.2 + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/lib64: + scons unit -j6 --sharedclient --ssl --c++11 --disable-warnings-as-errors --opt=off --use-sasl-client '--gtest-filter=-SASL*' --propagate-shell-environment scons: Reading SConscript files ... scons version: 2.5.1 python version: 2 7 13 'final' 0 Checking whether the C++ compiler works... (cached) yes Checking whether the C compiler works... (cached) yes Checking if C++ compiler "g++" is GCC... (cached) yes Checking if C compiler "gcc" is GCC... (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-unused-const-variable... (cached) yes Checking if C compiler supports -Wno-missing-braces... (cached) yes Checking if we are using libstdc++... (cached) yes Checking for libstdc++ 4.6.0 or better... (cached) yes Checking if C++ compiler supports -std=c++11... (cached) yes Checking if C compiler supports -std=c99... (cached) yes Checking if we are on a POSIX system... (cached) yes Checking if the POSIX monotonic clock is supported... (cached) yes Checking for __thread... (cached) yes Checking for C++11 support... (cached) yes Checking for C++11 is_trivially_copyable support... (cached) yes Checking for SSL_version(NULL) in C library ssl... (cached) yes Checking for SSLeay_version(0) in C library crypto... (cached) yes Checking that linking to OpenSSL works...(cached) yes Checking whether FIPS_mode_set is declared... (cached) yes Checking for C++ header file boost/version.hpp... (cached) yes Checking for C++ library boost_regex-mt... (cached) no Checking for C++ library boost_regex... (cached) yes Checking for C++ library boost_thread-mt... (cached) no Checking for C++ library boost_thread... (cached) yes Checking for C++ library boost_system-mt... (cached) no Checking for C++ library boost_system... (cached) yes Checking for C header file unistd.h... (cached) yes Checking for C library rt... (cached) yes Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... (cached) yes Checking whether timegm is declared... (cached) no Checking whether strnlen is declared... (cached) no Checking for C library curl... (cached) no scons: done reading SConscript files. scons: Building targets ... g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/data_cursor_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/data_cursor_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from src/mongo/base/data_cursor.h:18, from src/mongo/base/data_cursor_test.cpp:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/unittest/unit_test_main.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/unittest/unit_test_main.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unit_test_main.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_conn_registry.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock/mock_conn_registry.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_dbclient_connection.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock/mock_dbclient_connection.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/thread/detail/platform.hpp:14, from /usr/include/boost/thread/mutex.hpp:12, from src/mongo/dbtests/mock/mock_conn_registry.h:18, from src/mongo/dbtests/mock/mock_conn_registry.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_dbclient_cursor.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock/mock_dbclient_cursor.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/dbtests/mock/mock_dbclient_connection.h:18, from src/mongo/dbtests/mock/mock_dbclient_connection.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_remote_db_server.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock/mock_remote_db_server.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/deque:60, from /usr/include/c++/7/stack:60, from src/mongo/client/dbclientcursor.h:20, from src/mongo/dbtests/mock/mock_dbclient_cursor.h:20, from src/mongo/dbtests/mock/mock_dbclient_cursor.cpp:20: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/dbtests/mock/mock_remote_db_server.h:18, from src/mongo/dbtests/mock/mock_remote_db_server.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_replica_set.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock/mock_replica_set.cpp ar rc build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/unittest/unit_test_main.o In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/dbtests/mock/mock_remote_db_server.h:18, from src/mongo/dbtests/mock/mock_replica_set.h:18, from src/mongo/dbtests/mock/mock_replica_set.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ranlib build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a g++ -o build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/src/gtest-all.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0 -Isrc/third_party/gtest-1.7.0 src/third_party/gtest-1.7.0/src/gtest-all.cc In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/third_party/gtest-1.7.0/src/gtest-all.cc:39: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/data_view_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/data_view_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstring:41, from src/mongo/base/data_view.h:20, from src/mongo/base/data_view_test.cpp:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/encoded_value_storage_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/encoded_value_storage_test.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/base/parse_number_test.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_field_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bson_field_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstring:41, from src/mongo/base/encoded_value_storage.h:18, from src/mongo/base/encoded_value_storage_test.cpp:17: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/mongo/base/parse_number_test.cpp:16: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bson_field_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ src/mongo/base/parse_number_test.cpp: In static member function 'static void mongo::{anonymous}::CommonNumberParsingTests<_NumberType>::TestParsingLimits()': src/mongo/base/parse_number_test.cpp:139:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (Limits::is_signed) ^ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_obj_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bson_obj_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bson_obj_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bson_validate_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/scoped_array.hpp:14, from /usr/include/boost/scoped_array.hpp:14, from src/mongo/bson/bson_validate_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/bsonobjbuilder_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cfloat:41, from src/mongo/bson/util/builder.h:20, from src/mongo/db/jsobj.h:31, from src/mongo/bson/bsonobjbuilder_test.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ar rc build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_conn_registry.o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_dbclient_connection.o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_dbclient_cursor.o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_remote_db_server.o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock/mock_replica_set.o ranlib build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/oid_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/bson/oid.h:20, from src/mongo/bson/oid_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ ar rc build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/src/gtest-all.o ranlib build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/data_view_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/base/data_view_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_obj_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_obj_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/base/data_view_test Note: Google Test filter = -SASL* [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from DataView [ RUN ] DataView.ConstDataView [ OK ] DataView.ConstDataView (0 ms) [ RUN ] DataView.DataView [ OK ] DataView.DataView (0 ms) [----------] 2 tests from DataView (1 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test case ran. (3 ms total) [ PASSED ] 2 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/encoded_value_storage_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/base/encoded_value_storage_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_validate_test /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/base/encoded_value_storage_test Note: Google Test filter = -SASL* [==========] Running 16 tests from 2 test cases. [----------] Global test environment set-up. [----------] 4 tests from BSONValidate [ RUN ] BSONValidate.Basic [ OK ] BSONValidate.Basic (1 ms) [ RUN ] BSONValidate.RandomData Note: Google Test filter = -SASL* [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from EncodedValueStorage [ RUN ] EncodedValueStorage.EncodedValueStorage [ OK ] EncodedValueStorage.EncodedValueStorage (0 ms) [----------] 1 test from EncodedValueStorage (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (2 ms total) [ PASSED ] 1 test. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_field_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_field_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 [ OK ] BSONValidate.RandomData (56 ms) [ RUN ] BSONValidate.MuckingData1 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_obj_test Note: Google Test filter = -SASL* [==========] Running 3 tests from 2 test cases. [----------] Global test environment set-up. [----------] 1 test from BSONObjToString [ RUN ] BSONObjToString.EmptyArray [ OK ] BSONObjToString.EmptyArray (0 ms) [----------] 1 test from BSONObjToString (0 ms total) [----------] 2 tests from BSONObjCompare [ RUN ] BSONObjCompare.NumberDouble [ OK ] BSONObjCompare.NumberDouble (0 ms) [ RUN ] BSONObjCompare.NumberLong_Double [ OK ] BSONObjCompare.NumberLong_Double (1 ms) [----------] 2 tests from BSONObjCompare (1 ms total) [----------] Global test environment tear-down [==========] 3 tests from 2 test cases ran. (13 ms total) [ PASSED ] 3 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/base/data_cursor_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/base/data_cursor_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/oid_test Note: Google Test filter = -SASL* [==========] Running 10 tests from 8 test cases. [----------] Global test environment set-up. [----------] 1 test from Equals [ RUN ] Equals.Simple [ OK ] Equals.Simple (0 ms) [----------] 1 test from Equals (0 ms total) [----------] 1 test from NotEquals [ RUN ] NotEquals.Simple [ OK ] NotEquals.Simple (0 ms) [----------] 1 test from NotEquals (0 ms total) [----------] 1 test from Increasing [ RUN ] Increasing.Simple [ OK ] Increasing.Simple (0 ms) [----------] 1 test from Increasing (0 ms total) [----------] 1 test from IsSet [ RUN ] IsSet.Simple [ OK ] IsSet.Simple (0 ms) [----------] 1 test from IsSet (0 ms total) [----------] 1 test from JustForked [ RUN ] JustForked.Simple [ OK ] JustForked.Simple (0 ms) [----------] 1 test from JustForked (0 ms total) [----------] 1 test from TimestampIsBigEndian [ RUN ] TimestampIsBigEndian.Endianness [ OK ] TimestampIsBigEndian.Endianness (0 ms) [----------] 1 test from TimestampIsBigEndian (0 ms total) [----------] 1 test from IncrementIsBigEndian [ RUN ] IncrementIsBigEndian.Endianness [ OK ] IncrementIsBigEndian.Endianness (0 ms) [----------] 1 test from IncrementIsBigEndian (0 ms total) [----------] 3 tests from Basic [ RUN ] Basic.Deserialize [ OK ] Basic.Deserialize (0 ms) [ RUN ] Basic.FromString [ OK ] Basic.FromString (0 ms) [ RUN ] Basic.FromStringToString [ OK ] Basic.FromStringToString (0 ms) [----------] 3 tests from Basic (0 ms total) [----------] Global test environment tear-down [==========] 10 tests from 8 test cases ran. (13 ms total) [ PASSED ] 10 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/util/bson_extract_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/mongo/bson/util/bson_extract_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/bsonobjbuilder_test Note: Google Test filter = -SASL* [==========] Running 9 tests from 1 test case. [----------] Global test environment set-up. [----------] 9 tests from BSONObjBuilderTest [ RUN ] BSONObjBuilderTest.AppendUnsignedInt [ OK ] BSONObjBuilderTest.AppendUnsignedInt (0 ms) [ RUN ] BSONObjBuilderTest.AppendIntOrLL [ OK ] BSONObjBuilderTest.AppendIntOrLL (0 ms) [ RUN ] BSONObjBuilderTest.AppendNumberSizeT [ OK ] BSONObjBuilderTest.AppendNumberSizeT (0 ms) [ RUN ] BSONObjBuilderTest.AppendNumberLongLong [ OK ] BSONObjBuilderTest.AppendNumberLongLong (0 ms) [ RUN ] BSONObjBuilderTest.StreamLongLongMin [ OK ] BSONObjBuilderTest.StreamLongLongMin (0 ms) [ RUN ] BSONObjBuilderTest.AppendNumberLongLongMinCompareObject [ OK ] BSONObjBuilderTest.AppendNumberLongLongMinCompareObject (0 ms) [ RUN ] BSONObjBuilderTest.AppendMaxTimestampOpTimeConversion [ OK ] BSONObjBuilderTest.AppendMaxTimestampOpTimeConversion (0 ms) [ RUN ] BSONObjBuilderTest.AppendFieldNameContainingNullThrows [ OK ] BSONObjBuilderTest.AppendFieldNameContainingNullThrows (0 ms) [ RUN ] BSONObjBuilderTest.AppendFieldNameContainingNullIsExceptionSafe [ OK ] BSONObjBuilderTest.AppendFieldNameContainingNullIsExceptionSafe (0 ms) [----------] 9 tests from BSONObjBuilderTest (3 ms total) [----------] Global test environment tear-down [==========] 9 tests from 1 test case ran. (4 ms total) [ PASSED ] 9 tests. /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/bson_field_test /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/base/parse_number_test Note: Google Test filter = -SASL* [==========] Running 4 tests from 3 test cases. [----------] Global test environment set-up. [----------] 1 test from Assignment [ RUN ] Assignment.Simple [ OK ] Assignment.Simple (0 ms) [----------] 1 test from Assignment (1 ms total) [----------] 1 test from Make [ RUN ] Make.Simple [ OK ] Make.Simple (0 ms) [----------] 1 test from Make (1 ms total) [----------] 2 tests from Query [ RUN ] Query.GreaterThan [ OK ] Query.GreaterThan (0 ms) [ RUN ] Query.NotEqual [ OK ] Query.NotEqual (0 ms) [----------] 2 tests from Query (1 ms total) [----------] Global test environment tear-down [==========] 4 tests from 3 test cases ran. (8 ms total) [ PASSED ] 4 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/builder_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/bson/util/builder_test.cpp Note: Google Test filter = -SASL* [==========] Running 93 tests from 16 test cases. [----------] Global test environment set-up. [----------] 6 tests from ParseNumberTestsShort [ RUN ] ParseNumberTestsShort.RejectBadBases [ OK ] ParseNumberTestsShort.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsShort.ParseNonNegatives [ OK ] ParseNumberTestsShort.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsShort.ParseNegatives [ OK ] ParseNumberTestsShort.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsShort.ParseGarbage [ OK ] ParseNumberTestsShort.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsShort.ParseWithExplicitBase [ OK ] ParseNumberTestsShort.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsShort.TestParsingLimits [ OK ] ParseNumberTestsShort.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsShort (2 ms total) [----------] 6 tests from ParseNumberTestsInt [ RUN ] ParseNumberTestsInt.RejectBadBases [ OK ] ParseNumberTestsInt.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsInt.ParseNonNegatives [ OK ] ParseNumberTestsInt.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsInt.ParseNegatives [ OK ] ParseNumberTestsInt.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsInt.ParseGarbage [ OK ] ParseNumberTestsInt.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsInt.ParseWithExplicitBase [ OK ] ParseNumberTestsInt.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsInt.TestParsingLimits [ OK ] ParseNumberTestsInt.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsInt (2 ms total) [----------] 6 tests from ParseNumberTestsLong [ RUN ] ParseNumberTestsLong.RejectBadBases [ OK ] ParseNumberTestsLong.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsLong.ParseNonNegatives [ OK ] ParseNumberTestsLong.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsLong.ParseNegatives [ OK ] ParseNumberTestsLong.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsLong.ParseGarbage [ OK ] ParseNumberTestsLong.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsLong.ParseWithExplicitBase [ OK ] ParseNumberTestsLong.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsLong.TestParsingLimits [ OK ] ParseNumberTestsLong.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsLong (2 ms total) [----------] 6 tests from ParseNumberTestsLongLong [ RUN ] ParseNumberTestsLongLong.RejectBadBases [ OK ] ParseNumberTestsLongLong.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsLongLong.ParseNonNegatives [ OK ] ParseNumberTestsLongLong.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsLongLong.ParseNegatives [ OK ] ParseNumberTestsLongLong.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsLongLong.ParseGarbage [ OK ] ParseNumberTestsLongLong.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsLongLong.ParseWithExplicitBase [ OK ] ParseNumberTestsLongLong.ParseWithExplicitBase (1 ms) [ RUN ] ParseNumberTestsLongLong.TestParsingLimits [ OK ] ParseNumberTestsLongLong.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsLongLong (2 ms total) [----------] 6 tests from ParseNumberTestsUnsignedShort [ RUN ] ParseNumberTestsUnsignedShort.RejectBadBases [ OK ] ParseNumberTestsUnsignedShort.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUnsignedShort.ParseNonNegatives [ OK ] ParseNumberTestsUnsignedShort.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedShort.ParseNegatives [ OK ] ParseNumberTestsUnsignedShort.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedShort.ParseGarbage [ OK ] ParseNumberTestsUnsignedShort.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUnsignedShort.ParseWithExplicitBase [ OK ] ParseNumberTestsUnsignedShort.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUnsignedShort.TestParsingLimits [ OK ] ParseNumberTestsUnsignedShort.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUnsignedShort (2 ms total) [----------] 6 tests from ParseNumberTestsUnsignedInt [ RUN ] ParseNumberTestsUnsignedInt.RejectBadBases [ OK ] ParseNumberTestsUnsignedInt.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUnsignedInt.ParseNonNegatives [ OK ] ParseNumberTestsUnsignedInt.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedInt.ParseNegatives [ OK ] ParseNumberTestsUnsignedInt.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedInt.ParseGarbage [ OK ] ParseNumberTestsUnsignedInt.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUnsignedInt.ParseWithExplicitBase [ OK ] ParseNumberTestsUnsignedInt.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUnsignedInt.TestParsingLimits [ OK ] ParseNumberTestsUnsignedInt.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUnsignedInt (2 ms total) [----------] 6 tests from ParseNumberTestsUnsignedLong [ RUN ] ParseNumberTestsUnsignedLong.RejectBadBases [ OK ] ParseNumberTestsUnsignedLong.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUnsignedLong.ParseNonNegatives [ OK ] ParseNumberTestsUnsignedLong.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedLong.ParseNegatives [ OK ] ParseNumberTestsUnsignedLong.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedLong.ParseGarbage [ OK ] ParseNumberTestsUnsignedLong.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUnsignedLong.ParseWithExplicitBase [ OK ] ParseNumberTestsUnsignedLong.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUnsignedLong.TestParsingLimits [ OK ] ParseNumberTestsUnsignedLong.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUnsignedLong (2 ms total) [----------] 6 tests from ParseNumberTestsUnsignedLongLong [ RUN ] ParseNumberTestsUnsignedLongLong.RejectBadBases [ OK ] ParseNumberTestsUnsignedLongLong.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUnsignedLongLong.ParseNonNegatives [ OK ] ParseNumberTestsUnsignedLongLong.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedLongLong.ParseNegatives [ OK ] ParseNumberTestsUnsignedLongLong.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUnsignedLongLong.ParseGarbage [ OK ] ParseNumberTestsUnsignedLongLong.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUnsignedLongLong.ParseWithExplicitBase [ OK ] ParseNumberTestsUnsignedLongLong.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUnsignedLongLong.TestParsingLimits [ OK ] ParseNumberTestsUnsignedLongLong.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUnsignedLongLong (2 ms total) [----------] 6 tests from ParseNumberTestsInt16 [ RUN ] ParseNumberTestsInt16.RejectBadBases [ OK ] ParseNumberTestsInt16.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsInt16.ParseNonNegatives [ OK ] ParseNumberTestsInt16.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsInt16.ParseNegatives [ OK ] ParseNumberTestsInt16.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsInt16.ParseGarbage [ OK ] ParseNumberTestsInt16.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsInt16.ParseWithExplicitBase [ OK ] ParseNumberTestsInt16.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsInt16.TestParsingLimits [ OK ] ParseNumberTestsInt16.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsInt16 (2 ms total) [----------] 6 tests from ParseNumberTestsInt32 [ RUN ] ParseNumberTestsInt32.RejectBadBases [ OK ] ParseNumberTestsInt32.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsInt32.ParseNonNegatives [ OK ] ParseNumberTestsInt32.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsInt32.ParseNegatives [ OK ] ParseNumberTestsInt32.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsInt32.ParseGarbage [ OK ] ParseNumberTestsInt32.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsInt32.ParseWithExplicitBase [ OK ] ParseNumberTestsInt32.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsInt32.TestParsingLimits [ OK ] ParseNumberTestsInt32.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsInt32 (0 ms total) [----------] 6 tests from ParseNumberTestsInt64 [ RUN ] ParseNumberTestsInt64.RejectBadBases [ OK ] ParseNumberTestsInt64.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsInt64.ParseNonNegatives [ OK ] ParseNumberTestsInt64.ParseNonNegatives (1 ms) [ RUN ] ParseNumberTestsInt64.ParseNegatives [ OK ] ParseNumberTestsInt64.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsInt64.ParseGarbage [ OK ] ParseNumberTestsInt64.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsInt64.ParseWithExplicitBase [ OK ] ParseNumberTestsInt64.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsInt64.TestParsingLimits [ OK ] ParseNumberTestsInt64.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsInt64 (1 ms total) [----------] 6 tests from ParseNumberTestsUInt16 [ RUN ] ParseNumberTestsUInt16.RejectBadBases [ OK ] ParseNumberTestsUInt16.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUInt16.ParseNonNegatives [ OK ] ParseNumberTestsUInt16.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUInt16.ParseNegatives [ OK ] ParseNumberTestsUInt16.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUInt16.ParseGarbage [ OK ] ParseNumberTestsUInt16.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUInt16.ParseWithExplicitBase [ OK ] ParseNumberTestsUInt16.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUInt16.TestParsingLimits [ OK ] ParseNumberTestsUInt16.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUInt16 (0 ms total) [----------] 6 tests from ParseNumberTestsUInt32 [ RUN ] ParseNumberTestsUInt32.RejectBadBases [ OK ] ParseNumberTestsUInt32.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUInt32.ParseNonNegatives [ OK ] ParseNumberTestsUInt32.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUInt32.ParseNegatives [ OK ] ParseNumberTestsUInt32.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUInt32.ParseGarbage [ OK ] ParseNumberTestsUInt32.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUInt32.ParseWithExplicitBase [ OK ] ParseNumberTestsUInt32.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUInt32.TestParsingLimits [ OK ] ParseNumberTestsUInt32.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUInt32 (0 ms total) [----------] 6 tests from ParseNumberTestsUInt64 [ RUN ] ParseNumberTestsUInt64.RejectBadBases [ OK ] ParseNumberTestsUInt64.RejectBadBases (0 ms) [ RUN ] ParseNumberTestsUInt64.ParseNonNegatives [ OK ] ParseNumberTestsUInt64.ParseNonNegatives (0 ms) [ RUN ] ParseNumberTestsUInt64.ParseNegatives [ OK ] ParseNumberTestsUInt64.ParseNegatives (0 ms) [ RUN ] ParseNumberTestsUInt64.ParseGarbage [ OK ] ParseNumberTestsUInt64.ParseGarbage (0 ms) [ RUN ] ParseNumberTestsUInt64.ParseWithExplicitBase [ OK ] ParseNumberTestsUInt64.ParseWithExplicitBase (0 ms) [ RUN ] ParseNumberTestsUInt64.TestParsingLimits [ OK ] ParseNumberTestsUInt64.TestParsingLimits (0 ms) [----------] 6 tests from ParseNumberTestsUInt64 (0 ms total) [----------] 3 tests from ParseNumber [ RUN ] ParseNumber.NotNullTerminated [ OK ] ParseNumber.NotNullTerminated (0 ms) [ RUN ] ParseNumber.Int8 [ OK ] ParseNumber.Int8 (0 ms) [ RUN ] ParseNumber.UInt8 [ OK ] ParseNumber.UInt8 (0 ms) [----------] 3 tests from ParseNumber (0 ms total) [----------] 6 tests from Double [ RUN ] Double.TestRejectingBadBases [ OK ] Double.TestRejectingBadBases (0 ms) [ RUN ] Double.TestParsingGarbage [ OK ] Double.TestParsingGarbage (0 ms) [ RUN ] Double.TestParsingOverflow [ OK ] Double.TestParsingOverflow (1 ms) [ RUN ] Double.TestParsingNan [ OK ] Double.TestParsingNan (0 ms) [ RUN ] Double.TestParsingInfinity [ OK ] Double.TestParsingInfinity (0 ms) [ RUN ] Double.TestParsingNormal [ OK ] Double.TestParsingNormal (0 ms) [----------] 6 tests from Double (1 ms total) [----------] Global test environment tear-down [==========] 93 tests from 16 test cases ran. (25 ms total) [ PASSED ] 93 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/connection_string_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/connection_string_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/bson/util/builder_test.cpp:18: /usr/include/features.h:373: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++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/client/connection_string_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/dbclient_rs_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/bson/bson_field.h:18, from src/mongo/client/dbclient_rs_test.cpp:23: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/base/data_cursor_test Note: Google Test filter = -SASL* [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from DataCursor [ RUN ] DataCursor.ConstDataCursor [ OK ] DataCursor.ConstDataCursor (0 ms) [ RUN ] DataCursor.DataCursor [ OK ] DataCursor.DataCursor (1 ms) [----------] 2 tests from DataCursor (1 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test case ran. (2 ms total) [ PASSED ] 2 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/index_spec_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/index_spec.h:18, from src/mongo/client/index_spec_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/builder_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/builder_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 [ OK ] BSONValidate.MuckingData1 (4391 ms) g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/connection_string_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/client/connection_string_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 [ RUN ] BSONValidate.Fuzz [ OK ] BSONValidate.Fuzz (0 ms) [----------] 4 tests from BSONValidate (4457 ms total) [----------] 12 tests from BSONValidateFast [ RUN ] BSONValidateFast.Empty [ OK ] BSONValidateFast.Empty (0 ms) [ RUN ] BSONValidateFast.RegEx [ OK ] BSONValidateFast.RegEx (0 ms) [ RUN ] BSONValidateFast.Simple0 [ OK ] BSONValidateFast.Simple0 (0 ms) [ RUN ] BSONValidateFast.Simple2 [ OK ] BSONValidateFast.Simple2 (0 ms) [ RUN ] BSONValidateFast.Simple3 [ OK ] BSONValidateFast.Simple3 (0 ms) [ RUN ] BSONValidateFast.NestedObject [ OK ] BSONValidateFast.NestedObject (0 ms) [ RUN ] BSONValidateFast.ErrorWithId [ OK ] BSONValidateFast.ErrorWithId (0 ms) [ RUN ] BSONValidateFast.ErrorBeforeId [ OK ] BSONValidateFast.ErrorBeforeId (0 ms) [ RUN ] BSONValidateFast.ErrorNoId [ OK ] BSONValidateFast.ErrorNoId (0 ms) [ RUN ] BSONValidateFast.ErrorIsInId [ OK ] BSONValidateFast.ErrorIsInId (0 ms) [ RUN ] BSONValidateFast.NonTopLevelId [ OK ] BSONValidateFast.NonTopLevelId (0 ms) [ RUN ] BSONValidateFast.StringHasSomething [ OK ] BSONValidateFast.StringHasSomething (0 ms) [----------] 12 tests from BSONValidateFast (3 ms total) [----------] Global test environment tear-down [==========] 16 tests from 2 test cases ran. (4461 ms total) [ PASSED ] 16 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/insert_write_operation_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/client/write_operation.h:18, from src/mongo/client/write_operation_base.h:18, from src/mongo/client/insert_write_operation.h:18, from src/mongo/client/insert_write_operation_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/builder_test Note: Google Test filter = -SASL* [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from Builder [ RUN ] Builder.String1 [ OK ] Builder.String1 (0 ms) [ RUN ] Builder.StringBuilderAddress [ OK ] Builder.StringBuilderAddress (0 ms) [----------] 2 tests from Builder (1 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test case ran. (13 ms total) [ PASSED ] 2 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/replica_set_monitor_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from src/mongo/client/replica_set_monitor.h:18, from src/mongo/client/replica_set_monitor_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/bson/util/bson_extract_test Note: Google Test filter = -SASL* [==========] Running 6 tests from 1 test case. [----------] Global test environment set-up. [----------] 6 tests from ExtractBSON [ RUN ] ExtractBSON.ExtractField [ OK ] ExtractBSON.ExtractField (0 ms) [ RUN ] ExtractBSON.ExtractTypedField [ OK ] ExtractBSON.ExtractTypedField (0 ms) [ RUN ] ExtractBSON.ExtractStringField [ OK ] ExtractBSON.ExtractStringField (0 ms) [ RUN ] ExtractBSON.ExtractStringFieldWithDefault [ OK ] ExtractBSON.ExtractStringFieldWithDefault (0 ms) [ RUN ] ExtractBSON.ExtractBooleanFieldWithDefault [ OK ] ExtractBSON.ExtractBooleanFieldWithDefault (0 ms) [ RUN ] ExtractBSON.ExtractIntegerField [ OK ] ExtractBSON.ExtractIntegerField (0 ms) [----------] 6 tests from ExtractBSON (2 ms total) [----------] Global test environment tear-down [==========] 6 tests from 1 test case ran. (3 ms total) [ PASSED ] 6 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/client/write_concern_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from /usr/include/c++/7/bitset:47, from src/mongo/client/write_concern.h:18, from src/mongo/client/write_concern_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/client/index_spec_test /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/client/connection_string_test Note: Google Test filter = -SASL* [==========] Running 3 tests from 1 test case. [----------] Global test environment set-up. [----------] 3 tests from Options [ RUN ] Options.RepeatedOptionsFail [ OK ] Options.RepeatedOptionsFail (1 ms) [ RUN ] Options.RepeatedKeysFail [ OK ] Options.RepeatedKeysFail (0 ms) [ RUN ] Options.NameIsHonored [ OK ] Options.NameIsHonored (0 ms) [----------] 3 tests from Options (1 ms total) [----------] Global test environment tear-down [==========] 3 tests from 1 test case ran. (1 ms total) [ PASSED ] 3 tests. Note: Google Test filter = -SASL* [==========] Running 4 tests from 1 test case. [----------] Global test environment set-up. [----------] 4 tests from ConnectionString [ RUN ] ConnectionString.GoodTrickyURIs Testing URI: mongodb://user:pwd@127.0.0.1 Testing URI: mongodb://user@127.0.0.1 Testing URI: mongodb://127.0.0.1/dbName?foo=a&c=b Testing URI: mongodb://user:pwd@127.0.0.1:1234 Testing URI: mongodb://user@127.0.0.1:1234 Testing URI: mongodb://127.0.0.1:1234/dbName?foo=a&c=b Testing URI: mongodb://user:pwd@127.0.0.1,127.0.0.2/?replicaSet=replName Testing URI: mongodb://user@127.0.0.1,127.0.0.2/?replicaSet=replName Testing URI: mongodb://127.0.0.1,127.0.0.2/dbName?foo=a&c=b&replicaSet=replName Testing URI: mongodb://user:pwd@127.0.0.1:1234,127.0.0.2:1234/?replicaSet=replName Testing URI: mongodb://user@127.0.0.1:1234,127.0.0.2:1234/?replicaSet=replName Testing URI: mongodb://127.0.0.1:1234,127.0.0.1:1234/dbName?foo=a&c=b&replicaSet=replName Testing URI: mongodb://user:pwd@[::1] Testing URI: mongodb://user@[::1] Testing URI: mongodb://[::1]/dbName?foo=a&c=b Testing URI: mongodb://user:pwd@[::1]:1234 Testing URI: mongodb://user@[::1]:1234 Testing URI: mongodb://[::1]:1234/dbName?foo=a&c=b Testing URI: mongodb://user:pwd@[::1],127.0.0.2/?replicaSet=replName Testing URI: mongodb://user@[::1],127.0.0.2/?replicaSet=replName Testing URI: mongodb://[::1],127.0.0.2/dbName?foo=a&c=b&replicaSet=replName Testing URI: mongodb://user:pwd@[::1]:1234,127.0.0.2:1234/?replicaSet=replName Testing URI: mongodb://user@[::1]:1234,127.0.0.2:1234/?replicaSet=replName Testing URI: mongodb://[::1]:1234,[::1]:1234/dbName?foo=a&c=b&replicaSet=replName Testing URI: mongodb://user:pwd@[::1] Testing URI: mongodb://user@[::1] Testing URI: mongodb://[::1]/dbName?foo=a&c=b Testing URI: mongodb://user:pwd@[::1]:1234 Testing URI: mongodb://user@[::1]:1234 Testing URI: mongodb://[::1]:1234/dbName?foo=a&c=b Testing URI: mongodb://user:pwd@[::1],127.0.0.2/?replicaSet=replName Testing URI: mongodb://user@[::1],127.0.0.2/?replicaSet=replName Testing URI: mongodb://[::1],127.0.0.2/dbName?foo=a&c=b&replicaSet=replName Testing URI: mongodb://user:pwd@[::1]:1234,127.0.0.2:1234/?replicaSet=replName Testing URI: mongodb://user@[::1]:1234,127.0.0.2:1234/?replicaSet=replName Testing URI: mongodb://[::1]:1234,[::1]:1234/dbName?foo=a&c=b&replicaSet=replName Testing URI: mongodb://user:pwd@[::1]/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:foobar Testing URI: mongodb://user:pwd@[::1]/?authMechanism=GSSAPI&gssapiServiceName=foobar Testing URI: mongodb:///tmp/mongodb-27017.sock Testing URI: mongodb:///tmp/mongodb-27017.sock,/tmp/mongodb-27018.sock/?replicaSet=replName [ OK ] ConnectionString.GoodTrickyURIs (4 ms) [ RUN ] ConnectionString.InvalidURIs Testing URI: localhost:27017 Testing URI: 127.0.0.2:1234,104.9.12.3:27017 Testing URI: 127.0.0.2:1234,104.9.12.3:27017/?replName=shaun Testing URI: replSetName/localhost:27027 Testing URI: anything,anything/?thatDoesntStartWith=mongodb:// Testing URI: mongodb:// Testing URI: mongodb://localhost:27017,localhost:27018?replicaSet=missingSlash [ OK ] ConnectionString.InvalidURIs (0 ms) [ RUN ] ConnectionString.GoodDeprecatedURIs Testing URI: localhost:27017 Testing URI: localhost:27017,localhost:30000 Testing URI: replName/localhost:27017,127.0.0.2:1234 Testing URI: localhost:1050,localhost:1055/?replicaSet=rs-1234 [ OK ] ConnectionString.GoodDeprecatedURIs (0 ms) [ RUN ] ConnectionString.InvalidDeprecatedURIs Testing URI: 1.2.3.4:5555,6.7.8.9:1000,127.0.0.2:1234 Testing URI: localhost:27017,localhost:27018,localhost:27019,localhost:27020?replicaSet=myReplicaSet [ OK ] ConnectionString.InvalidDeprecatedURIs (0 ms) [----------] 4 tests from ConnectionString (15 ms total) g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/db/dbmessage_test.cpp [----------] Global test environment tear-down [==========] 4 tests from 1 test case ran. (25 ms total) [ PASSED ] 4 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/namespace_string_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/db/namespace_string_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/string:38, from src/mongo/db/dbmessage_test.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/db/namespace_string_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/client/insert_write_operation_test Note: Google Test filter = -SASL* [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from InsertWriteOperation [ RUN ] InsertWriteOperation.IdFieldCannotContainDollarSignTopLevel [ OK ] InsertWriteOperation.IdFieldCannotContainDollarSignTopLevel (0 ms) [ RUN ] InsertWriteOperation.IdFieldCannotContainDollarSignNested [ OK ] InsertWriteOperation.IdFieldCannotContainDollarSignNested (0 ms) [----------] 2 tests from InsertWriteOperation (0 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test case ran. (0 ms total) [ PASSED ] 2 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsobjtests.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/jsobjtests.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iostream:38, from src/mongo/dbtests/jsobjtests.cpp:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/client/dbclient_rs_test Note: Google Test filter = -SASL* [==========] Running 24 tests from 5 test cases. [----------] Global test environment set-up. [----------] 4 tests from BasicRS [ RUN ] BasicRS.ReadFromPrimary [ OK ] BasicRS.ReadFromPrimary (7 ms) [ RUN ] BasicRS.SecondaryOnly [ OK ] BasicRS.SecondaryOnly (6 ms) [ RUN ] BasicRS.PrimaryPreferred [ OK ] BasicRS.PrimaryPreferred (6 ms) [ RUN ] BasicRS.SecondaryPreferred [ OK ] BasicRS.SecondaryPreferred (5 ms) [----------] 4 tests from BasicRS (24 ms total) [----------] 5 tests from AllNodesDown [ RUN ] AllNodesDown.ReadFromPrimary [ OK ] AllNodesDown.ReadFromPrimary (5 ms) [ RUN ] AllNodesDown.SecondaryOnly [ OK ] AllNodesDown.SecondaryOnly (5 ms) [ RUN ] AllNodesDown.PrimaryPreferred [ OK ] AllNodesDown.PrimaryPreferred (5 ms) [ RUN ] AllNodesDown.SecondaryPreferred [ OK ] AllNodesDown.SecondaryPreferred (6 ms) [ RUN ] AllNodesDown.Nearest [ OK ] AllNodesDown.Nearest (0 ms) [----------] 5 tests from AllNodesDown (21 ms total) [----------] 5 tests from PrimaryDown [ RUN ] PrimaryDown.ReadFromPrimary [ OK ] PrimaryDown.ReadFromPrimary (6 ms) [ RUN ] PrimaryDown.SecondaryOnly [ OK ] PrimaryDown.SecondaryOnly (0 ms) [ RUN ] PrimaryDown.PrimaryPreferred [ OK ] PrimaryDown.PrimaryPreferred (7 ms) [ RUN ] PrimaryDown.SecondaryPreferred [ OK ] PrimaryDown.SecondaryPreferred (8 ms) [ RUN ] PrimaryDown.Nearest [ OK ] PrimaryDown.Nearest (5 ms) [----------] 5 tests from PrimaryDown (26 ms total) [----------] 5 tests from SecondaryDown [ RUN ] SecondaryDown.ReadFromPrimary [ OK ] SecondaryDown.ReadFromPrimary (4 ms) [ RUN ] SecondaryDown.SecondaryOnly [ OK ] SecondaryDown.SecondaryOnly (2 ms) [ RUN ] SecondaryDown.PrimaryPreferred [ OK ] SecondaryDown.PrimaryPreferred (0 ms) [ RUN ] SecondaryDown.SecondaryPreferred [ OK ] SecondaryDown.SecondaryPreferred (4 ms) [ RUN ] SecondaryDown.Nearest [ OK ] SecondaryDown.Nearest (6 ms) [----------] 5 tests from SecondaryDown (16 ms total) [----------] 5 tests from TaggedFiveMemberRS [ RUN ] TaggedFiveMemberRS.ConnShouldPinIfSameSettings [ OK ] TaggedFiveMemberRS.ConnShouldPinIfSameSettings (11 ms) [ RUN ] TaggedFiveMemberRS.ConnShouldNotPinIfHostMarkedAsFailed [ OK ] TaggedFiveMemberRS.ConnShouldNotPinIfHostMarkedAsFailed (1 ms) [ RUN ] TaggedFiveMemberRS.ConnShouldNotPinIfDiffMode [ OK ] TaggedFiveMemberRS.ConnShouldNotPinIfDiffMode (8 ms) [ RUN ] TaggedFiveMemberRS.ConnShouldNotPinIfDiffTag [ OK ] TaggedFiveMemberRS.ConnShouldNotPinIfDiffTag (11 ms) [ RUN ] TaggedFiveMemberRS.SlaveConnReturnsSecConn [ OK ] TaggedFiveMemberRS.SlaveConnReturnsSecConn (5 ms) [----------] 5 tests from TaggedFiveMemberRS (37 ms total) [----------] Global test environment tear-down [==========] 24 tests from 5 test cases ran. (125 ms total) [ PASSED ] 24 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsontests.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/jsontests.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/mongo/dbtests/jsontests.cpp:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/client/write_concern_test g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/db/namespace_string_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/db/namespace_string_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 Note: Google Test filter = -SASL* [==========] Running 10 tests from 1 test case. [----------] Global test environment set-up. [----------] 10 tests from WriteConcern [ RUN ] WriteConcern.Defaults [ OK ] WriteConcern.Defaults (0 ms) [ RUN ] WriteConcern.Chain [ OK ] WriteConcern.Chain (0 ms) [ RUN ] WriteConcern.DefaultToBSON [ OK ] WriteConcern.DefaultToBSON (0 ms) [ RUN ] WriteConcern.NodesString [ OK ] WriteConcern.NodesString (0 ms) [ RUN ] WriteConcern.NeedsGLE [ OK ] WriteConcern.NeedsGLE (0 ms) [ RUN ] WriteConcern.Unacknowledged [ OK ] WriteConcern.Unacknowledged (0 ms) [ RUN ] WriteConcern.Acknowledged [ OK ] WriteConcern.Acknowledged (0 ms) [ RUN ] WriteConcern.Journaled [ OK ] WriteConcern.Journaled (0 ms) [ RUN ] WriteConcern.Replicated [ OK ] WriteConcern.Replicated (0 ms) [ RUN ] WriteConcern.Majority [ OK ] WriteConcern.Majority (0 ms) [----------] 10 tests from WriteConcern (5 ms total) [----------] Global test environment tear-down [==========] 10 tests from 1 test case ran. (6 ms total) [ PASSED ] 10 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_dbclient_conn_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock_dbclient_conn_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/deque:60, from /usr/include/c++/7/stack:60, from src/mongo/client/dbclientcursor.h:20, from src/mongo/dbtests/mock_dbclient_conn_test.cpp:22: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/db/dbmessage_test Note: Google Test filter = -SASL* [==========] Running 6 tests from 1 test case. [----------] Global test environment set-up. [----------] 6 tests from DBMessage1 [ RUN ] DBMessage1.ShortFlags [ OK ] DBMessage1.ShortFlags (0 ms) [ RUN ] DBMessage1.BadNS [ OK ] DBMessage1.BadNS (0 ms) [ RUN ] DBMessage1.GoodKill [ OK ] DBMessage1.GoodKill (0 ms) [ RUN ] DBMessage1.GoodKill2 [ OK ] DBMessage1.GoodKill2 (0 ms) [ RUN ] DBMessage1.GoodInsert [ OK ] DBMessage1.GoodInsert (0 ms) [ RUN ] DBMessage1.GoodInsert2 [ OK ] DBMessage1.GoodInsert2 (0 ms) [----------] 6 tests from DBMessage1 (4 ms total) [----------] Global test environment tear-down [==========] 6 tests from 1 test case ran. (7 ms total) [ PASSED ] 6 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_replica_set_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/mock_replica_set_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/thread/detail/config.hpp:11, from /usr/include/boost/thread/lock_algorithms.hpp:10, from /usr/include/boost/thread/locks.hpp:10, from src/mongo/client/dbclientinterface.h:23, from src/mongo/dbtests/mock_replica_set_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/db/namespace_string_test /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/client/replica_set_monitor_test Note: Google Test filter = -SASL* [==========] Running 23 tests from 2 test cases. [----------] Global test environment set-up. [----------] 21 tests from ReplicaSetMonitorTests [ RUN ] ReplicaSetMonitorTests.InitialState [ OK ] ReplicaSetMonitorTests.InitialState (0 ms) [ RUN ] ReplicaSetMonitorTests.IsMasterBadParse [ OK ] ReplicaSetMonitorTests.IsMasterBadParse (0 ms) Note: Google Test filter = -SASL* [==========] Running 14 tests from 1 test case. [----------] Global test environment set-up. [----------] 14 tests from NamespaceStringTest [ RUN ] NamespaceStringTest.Normal [ OK ] NamespaceStringTest.Normal (0 ms) [ RUN ] NamespaceStringTest.Oplog [ OK ] NamespaceStringTest.Oplog (0 ms) [ RUN ] NamespaceStringTest.Special [ OK ] NamespaceStringTest.Special (0 ms) [ RUN ] NamespaceStringTest.DatabaseValidNames [ OK ] NamespaceStringTest.DatabaseValidNames (0 ms) [ RUN ] NamespaceStringTest.CollectionComponentValidNames [ OK ] NamespaceStringTest.CollectionComponentValidNames (0 ms) [ RUN ] NamespaceStringTest.CollectionValidNames [ OK ] NamespaceStringTest.CollectionValidNames (0 ms) [ RUN ] NamespaceStringTest.DBHash [ OK ] NamespaceStringTest.DBHash (0 ms) [ RUN ] NamespaceStringTest.DBEquals [ OK ] NamespaceStringTest.DBEquals (0 ms) [ RUN ] NamespaceStringTest.nsToDatabase1 [ OK ] NamespaceStringTest.nsToDatabase1 (0 ms) [ RUN ] NamespaceStringTest.nsToDatabase2 [ OK ] NamespaceStringTest.nsToDatabase2 (0 ms) [ RUN ] NamespaceStringTest.NamespaceStringParse1 [ OK ] NamespaceStringTest.NamespaceStringParse1 (0 ms) [ RUN ] NamespaceStringTest.NamespaceStringParse2 [ OK ] NamespaceStringTest.NamespaceStringParse2 (0 ms) [ RUN ] NamespaceStringTest.NamespaceStringParse3 [ OK ] NamespaceStringTest.NamespaceStringParse3 (0 ms) [ RUN ] NamespaceStringTest.NamespaceStringParse4 [ OK ] NamespaceStringTest.NamespaceStringParse4 (0 ms) [----------] 14 tests from NamespaceStringTest (0 ms total) [----------] Global test environment tear-down [==========] 14 tests from 1 test case ran. (0 ms total) [ PASSED ] 14 tests. [ RUN ] ReplicaSetMonitorTests.IsMasterReplyRSNotInitiated [ OK ] ReplicaSetMonitorTests.IsMasterReplyRSNotInitiated (0 ms) [ RUN ] ReplicaSetMonitorTests.IsMasterReplyRSPrimary [ OK ] ReplicaSetMonitorTests.IsMasterReplyRSPrimary (0 ms) [ RUN ] ReplicaSetMonitorTests.IsMasterReplyPassiveSecondary [ OK ] ReplicaSetMonitorTests.IsMasterReplyPassiveSecondary (0 ms) [ RUN ] ReplicaSetMonitorTests.IsMasterReplyHiddenSecondary [ OK ] ReplicaSetMonitorTests.IsMasterReplyHiddenSecondary (0 ms) [ RUN ] ReplicaSetMonitorTests.IsMasterSecondaryWithTags [ OK ] ReplicaSetMonitorTests.IsMasterSecondaryWithTags (0 ms) [ RUN ] ReplicaSetMonitorTests.CheckAllSeedsSerial [ OK ] ReplicaSetMonitorTests.CheckAllSeedsSerial (0 ms) [ RUN ] ReplicaSetMonitorTests.CheckAllSeedsParallel [ OK ] ReplicaSetMonitorTests.CheckAllSeedsParallel (0 ms) [ RUN ] ReplicaSetMonitorTests.NoMasterInitAllUp [ OK ] ReplicaSetMonitorTests.NoMasterInitAllUp (1 ms) [ RUN ] ReplicaSetMonitorTests.MasterNotInSeeds_NoPrimaryInIsMaster [ OK ] ReplicaSetMonitorTests.MasterNotInSeeds_NoPrimaryInIsMaster (0 ms) [ RUN ] ReplicaSetMonitorTests.MasterNotInSeeds_PrimaryInIsMaster [ OK ] ReplicaSetMonitorTests.MasterNotInSeeds_PrimaryInIsMaster (0 ms) [ RUN ] ReplicaSetMonitorTests.SlavesUsableEvenIfNoMaster [ OK ] ReplicaSetMonitorTests.SlavesUsableEvenIfNoMaster (0 ms) [ RUN ] ReplicaSetMonitorTests.MultipleMasterLastNodeWins [ OK ] ReplicaSetMonitorTests.MultipleMasterLastNodeWins (0 ms) [ RUN ] ReplicaSetMonitorTests.MasterIsSourceOfTruth [ OK ] ReplicaSetMonitorTests.MasterIsSourceOfTruth (0 ms) [ RUN ] ReplicaSetMonitorTests.MultipleMastersDisagree [ OK ] ReplicaSetMonitorTests.MultipleMastersDisagree (0 ms) [ RUN ] ReplicaSetMonitorTests.GetMatchingDuringScan [ OK ] ReplicaSetMonitorTests.GetMatchingDuringScan (0 ms) [ RUN ] ReplicaSetMonitorTests.OutOfBandFailedHost [ OK ] ReplicaSetMonitorTests.OutOfBandFailedHost (1 ms) [ RUN ] ReplicaSetMonitorTests.NewPrimaryWithMaxElectionId [ OK ] ReplicaSetMonitorTests.NewPrimaryWithMaxElectionId (0 ms) [ RUN ] ReplicaSetMonitorTests.IgnoreElectionIdFromSecondaries [ OK ] ReplicaSetMonitorTests.IgnoreElectionIdFromSecondaries (0 ms) [ RUN ] ReplicaSetMonitorTests.StalePrimaryWithObsoleteElectionId [ OK ] ReplicaSetMonitorTests.StalePrimaryWithObsoleteElectionId (0 ms) [----------] 21 tests from ReplicaSetMonitorTests (21 ms total) [----------] 2 tests from ReplicaSetMonitor [ RUN ] ReplicaSetMonitor.NoPrimaryUpCheck [ OK ] ReplicaSetMonitor.NoPrimaryUpCheck (0 ms) [ RUN ] ReplicaSetMonitor.PrimaryIsUpCheck [ OK ] ReplicaSetMonitor.PrimaryIsUpCheck (0 ms) [----------] 2 tests from ReplicaSetMonitor (1 ms total) [----------] Global test environment tear-down [==========] 23 tests from 2 test cases ran. (27 ms total) [ PASSED ] 23 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/replica_set_monitor_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/dbtests/replica_set_monitor_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from /usr/include/boost/config/compiler/gcc.hpp:165, from /usr/include/boost/config.hpp:39, from /usr/include/boost/thread/detail/config.hpp:11, from /usr/include/boost/thread/lock_algorithms.hpp:10, from /usr/include/boost/thread/locks.hpp:10, from src/mongo/client/dbclientinterface.h:23, from src/mongo/dbtests/replica_set_monitor_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/geo/geo_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/geo/geo_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from src/mongo/geo/geo_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_dbclient_conn_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_dbclient_conn_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/geo/geo_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/geo/geo_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsobjtests -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsobjtests.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_dbclient_conn_test Note: Google Test filter = -SASL* [==========] Running 19 tests from 1 test case. [----------] Global test environment set-up. [----------] 19 tests from MockDBClientConnTest [ RUN ] MockDBClientConnTest.ServerAddress [ OK ] MockDBClientConnTest.ServerAddress (0 ms) [ RUN ] MockDBClientConnTest.QueryCount [ OK ] MockDBClientConnTest.QueryCount (0 ms) [ RUN ] MockDBClientConnTest.InsertAndQuery [ OK ] MockDBClientConnTest.InsertAndQuery (0 ms) [ RUN ] MockDBClientConnTest.InsertAndQueryTwice [ OK ] MockDBClientConnTest.InsertAndQueryTwice (0 ms) [ RUN ] MockDBClientConnTest.QueryWithNoResults [ OK ] MockDBClientConnTest.QueryWithNoResults (0 ms) [ RUN ] MockDBClientConnTest.MultiNSInsertAndQuery [ OK ] MockDBClientConnTest.MultiNSInsertAndQuery (0 ms) [ RUN ] MockDBClientConnTest.SimpleRemove [ OK ] MockDBClientConnTest.SimpleRemove (0 ms) [ RUN ] MockDBClientConnTest.MultiNSRemove [ OK ] MockDBClientConnTest.MultiNSRemove (0 ms) [ RUN ] MockDBClientConnTest.InsertAfterRemove [ OK ] MockDBClientConnTest.InsertAfterRemove (0 ms) [ RUN ] MockDBClientConnTest.SetCmdReply [ OK ] MockDBClientConnTest.SetCmdReply (0 ms) [ RUN ] MockDBClientConnTest.CyclingCmd [ OK ] MockDBClientConnTest.CyclingCmd (0 ms) [ RUN ] MockDBClientConnTest.CmdWithMultiFields [ OK ] MockDBClientConnTest.CmdWithMultiFields (0 ms) [ RUN ] MockDBClientConnTest.BadCmd [ OK ] MockDBClientConnTest.BadCmd (0 ms) [ RUN ] MockDBClientConnTest.MultipleStoredResponse [ OK ] MockDBClientConnTest.MultipleStoredResponse (0 ms) [ RUN ] MockDBClientConnTest.CmdCount [ OK ] MockDBClientConnTest.CmdCount (0 ms) [ RUN ] MockDBClientConnTest.Shutdown [ OK ] MockDBClientConnTest.Shutdown (0 ms) [ RUN ] MockDBClientConnTest.Restart [ OK ] MockDBClientConnTest.Restart (0 ms) [ RUN ] MockDBClientConnTest.ClearCounter [ OK ] MockDBClientConnTest.ClearCounter (0 ms) [ RUN ] MockDBClientConnTest.Delay [ OK ] MockDBClientConnTest.Delay (300 ms) [----------] 19 tests from MockDBClientConnTest (316 ms total) [----------] Global test environment tear-down [==========] 19 tests from 1 test case ran. (318 ms total) [ PASSED ] 19 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/logger/log_test.cpp g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_replica_set_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_replica_set_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from /usr/include/c++/7/ios:38, from /usr/include/c++/7/istream:38, from /usr/include/c++/7/sstream:38, from src/mongo/logger/log_test.h:18, from src/mongo/logger/log_test.cpp:21: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsontests -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsontests.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/geo/geo_test Note: Google Test filter = -SASL* [==========] Running 12 tests from 6 test cases. [----------] Global test environment set-up. [----------] 1 test from Coordinates2D [ RUN ] Coordinates2D.GetValues [ OK ] Coordinates2D.GetValues (0 ms) [----------] 1 test from Coordinates2D (0 ms total) [----------] 1 test from Coordinates2DGeographic [ RUN ] Coordinates2DGeographic.GetValues [ OK ] Coordinates2DGeographic.GetValues (0 ms) [----------] 1 test from Coordinates2DGeographic (1 ms total) [----------] 1 test from Point [ RUN ] Point.BSONConstructor [ OK ] Point.BSONConstructor (0 ms) [----------] 1 test from Point (0 ms total) [----------] 5 tests from PointTest [ RUN ] PointTest.GetType [ OK ] PointTest.GetType (0 ms) [ RUN ] PointTest.GetCoordinates [ OK ] PointTest.GetCoordinates (0 ms) [ RUN ] PointTest.BoundingBox [ OK ] PointTest.BoundingBox (0 ms) [ RUN ] PointTest.OperatorBrackets [ OK ] PointTest.OperatorBrackets (0 ms) [ RUN ] PointTest.Assignment [ OK ] PointTest.Assignment (0 ms) [----------] 5 tests from PointTest (0 ms total) [----------] 2 tests from LineStringTest [ RUN ] LineStringTest.GetType [ OK ] LineStringTest.GetType (0 ms) [ RUN ] LineStringTest.BoundingBox [ OK ] LineStringTest.BoundingBox (0 ms) [----------] 2 tests from LineStringTest (0 ms total) [----------] 2 tests from PolygonTest [ RUN ] PolygonTest.GetType [ OK ] PolygonTest.GetType (0 ms) [ RUN ] PolygonTest.BoundingBox [ OK ] PolygonTest.BoundingBox (0 ms) [----------] 2 tests from PolygonTest (0 ms total) [----------] Global test environment tear-down [==========] 12 tests from 6 test cases ran. (3 ms total) [ PASSED ] 12 tests. /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsobjtests g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/atomic_word_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/atomic_word_test.cpp Note: Google Test filter = -SASL* [==========] Running 92 tests from 85 test cases. [----------] Global test environment set-up. [----------] 1 test from BufBuilderBasic [ RUN ] BufBuilderBasic.Test [ OK ] BufBuilderBasic.Test (0 ms) [----------] 1 test from BufBuilderBasic (1 ms total) [----------] 1 test from BufBuilderReallocLimit [ RUN ] BufBuilderReallocLimit.Test In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iostream:38, from src/mongo/platform/atomic_word_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/mock_replica_set_test Note: Google Test filter = -SASL* [==========] Running 13 tests from 1 test case. [----------] Global test environment set-up. [----------] 13 tests from MockReplicaSetTest [ RUN ] MockReplicaSetTest.SetName [ OK ] MockReplicaSetTest.SetName (0 ms) [ RUN ] MockReplicaSetTest.ConnectionString [ OK ] MockReplicaSetTest.ConnectionString (1 ms) [ RUN ] MockReplicaSetTest.GetNode [ OK ] MockReplicaSetTest.GetNode (0 ms) [ RUN ] MockReplicaSetTest.IsMasterNode0 [ OK ] MockReplicaSetTest.IsMasterNode0 (0 ms) [ RUN ] MockReplicaSetTest.IsMasterNode1 [ OK ] MockReplicaSetTest.IsMasterNode1 (0 ms) [ RUN ] MockReplicaSetTest.IsMasterNode2 [ OK ] MockReplicaSetTest.IsMasterNode2 (0 ms) [ RUN ] MockReplicaSetTest.ReplSetGetStatusNode0 [ OK ] MockReplicaSetTest.ReplSetGetStatusNode0 (0 ms) [ RUN ] MockReplicaSetTest.ReplSetGetStatusNode1 [ OK ] MockReplicaSetTest.ReplSetGetStatusNode1 (0 ms) [ RUN ] MockReplicaSetTest.ReplSetGetStatusNode2 [ OK ] MockReplicaSetTest.ReplSetGetStatusNode2 (1 ms) [ RUN ] MockReplicaSetTest.IsMasterReconfigNodeRemoved [ OK ] MockReplicaSetTest.IsMasterReconfigNodeRemoved (0 ms) [ RUN ] MockReplicaSetTest.replSetGetStatusReconfigNodeRemoved [ OK ] MockReplicaSetTest.replSetGetStatusReconfigNodeRemoved (0 ms) [ RUN ] MockReplicaSetTest.KillNode [ OK ] MockReplicaSetTest.KillNode (0 ms) [ RUN ] MockReplicaSetTest.KillMultipleNode [ OK ] MockReplicaSetTest.KillMultipleNode (0 ms) [----------] 13 tests from MockReplicaSetTest (3 ms total) [----------] Global test environment tear-down [==========] 13 tests from 1 test case ran. (3 ms total) [ PASSED ] 13 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/endian_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/endian_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/climits:41, from src/mongo/platform/endian.h:20, from src/mongo/platform/endian_test.cpp:16: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/jsontests Note: Google Test filter = -SASL* [==========] Running 247 tests from 238 test cases. [----------] Global test environment set-up. [----------] 2 tests from Empty [ RUN ] Empty.Test [ OK ] Empty.Test (0 ms) [ RUN ] Empty.Test [ OK ] Empty.Test (0 ms) [----------] 2 tests from Empty (0 ms total) [----------] 1 test from SingleStringMember [ RUN ] SingleStringMember.Test [ OK ] SingleStringMember.Test (0 ms) [----------] 1 test from SingleStringMember (0 ms total) [----------] 2 tests from EscapedCharacters [ RUN ] EscapedCharacters.Test [ OK ] EscapedCharacters.Test (0 ms) [ RUN ] EscapedCharacters.Test [ OK ] EscapedCharacters.Test (0 ms) [----------] 2 tests from EscapedCharacters (1 ms total) [----------] 1 test from AdditionalControlCharacters [ RUN ] AdditionalControlCharacters.Test [ OK ] AdditionalControlCharacters.Test (0 ms) [----------] 1 test from AdditionalControlCharacters (0 ms total) [----------] 1 test from ExtendedAscii [ RUN ] ExtendedAscii.Test [ OK ] ExtendedAscii.Test (0 ms) [----------] 1 test from ExtendedAscii (0 ms total) [----------] 2 tests from EscapeFieldName [ RUN ] EscapeFieldName.Test [ OK ] EscapeFieldName.Test (0 ms) [ RUN ] EscapeFieldName.Test [ OK ] EscapeFieldName.Test (0 ms) [----------] 2 tests from EscapeFieldName (1 ms total) [----------] 1 test from SingleIntMember [ RUN ] SingleIntMember.Test [ OK ] SingleIntMember.Test (0 ms) [----------] 1 test from SingleIntMember (0 ms total) [----------] 1 test from SingleNumberMember [ RUN ] SingleNumberMember.Test [ OK ] SingleNumberMember.Test (0 ms) [----------] 1 test from SingleNumberMember (0 ms total) [----------] 1 test from InvalidNumbers [ RUN ] InvalidNumbers.Test [ OK ] InvalidNumbers.Test (0 ms) [----------] 1 test from InvalidNumbers (0 ms total) [----------] 1 test from NumberPrecision [ RUN ] NumberPrecision.Test [ OK ] NumberPrecision.Test (0 ms) [----------] 1 test from NumberPrecision (0 ms total) [----------] 1 test from NegativeNumber [ RUN ] NegativeNumber.Test [ OK ] NegativeNumber.Test (0 ms) [----------] 1 test from NegativeNumber (1 ms total) [----------] 1 test from NumberLongStrict [ RUN ] NumberLongStrict.Test [ OK ] NumberLongStrict.Test (0 ms) [----------] 1 test from NumberLongStrict (0 ms total) [----------] 1 test from NumberLongStrictLarge [ RUN ] NumberLongStrictLarge.Test [ OK ] NumberLongStrictLarge.Test (0 ms) [----------] 1 test from NumberLongStrictLarge (1 ms total) [----------] 1 test from NumberLongStrictNegative [ RUN ] NumberLongStrictNegative.Test [ OK ] NumberLongStrictNegative.Test (0 ms) [----------] 1 test from NumberLongStrictNegative (0 ms total) [----------] 1 test from NumberDoubleNaN [ RUN ] NumberDoubleNaN.Test [ OK ] NumberDoubleNaN.Test (0 ms) [----------] 1 test from NumberDoubleNaN (1 ms total) [----------] 1 test from NumberDoubleInfinity [ RUN ] NumberDoubleInfinity.Test [ OK ] NumberDoubleInfinity.Test (0 ms) [----------] 1 test from NumberDoubleInfinity (0 ms total) [----------] 1 test from NumberDoubleNegativeInfinity [ RUN ] NumberDoubleNegativeInfinity.Test [ OK ] NumberDoubleNegativeInfinity.Test (0 ms) [----------] 1 test from NumberDoubleNegativeInfinity (0 ms total) [----------] 1 test from SingleBoolMember [ RUN ] SingleBoolMember.Test [ OK ] SingleBoolMember.Test (0 ms) [----------] 1 test from SingleBoolMember (0 ms total) [----------] 1 test from SingleNullMember [ RUN ] SingleNullMember.Test [ OK ] SingleNullMember.Test (0 ms) [----------] 1 test from SingleNullMember (0 ms total) [----------] 1 test from SingleUndefinedMember [ RUN ] SingleUndefinedMember.Test [ OK ] SingleUndefinedMember.Test (0 ms) [----------] 1 test from SingleUndefinedMember (1 ms total) [----------] 1 test from SingleObjectMember [ RUN ] SingleObjectMember.Test [ OK ] SingleObjectMember.Test (0 ms) [----------] 1 test from SingleObjectMember (0 ms total) [----------] 1 test from TwoMembers [ RUN ] TwoMembers.Test [ OK ] TwoMembers.Test (1 ms) [----------] 1 test from TwoMembers (1 ms total) [----------] 1 test from EmptyArray [ RUN ] EmptyArray.Test [ OK ] EmptyArray.Test (0 ms) [----------] 1 test from EmptyArray (1 ms total) [----------] 2 tests from Array [ RUN ] Array.Test [ OK ] Array.Test (0 ms) [ RUN ] Array.Test [ OK ] Array.Test (1 ms) [----------] 2 tests from Array (1 ms total) [----------] 1 test from DBRef [ RUN ] DBRef.Test [ OK ] DBRef.Test (0 ms) [----------] 1 test from DBRef (0 ms total) [----------] 1 test from DBRefZero [ RUN ] DBRefZero.Test [ OK ] DBRefZero.Test (0 ms) [----------] 1 test from DBRefZero (0 ms total) [----------] 2 tests from ObjectId [ RUN ] ObjectId.Test [ OK ] ObjectId.Test (0 ms) [ RUN ] ObjectId.Test [ OK ] ObjectId.Test (0 ms) [----------] 2 tests from ObjectId (1 ms total) [----------] 1 test from BinData [ RUN ] BinData.Test [ OK ] BinData.Test (0 ms) [----------] 1 test from BinData (0 ms total) [----------] 1 test from Symbol [ RUN ] Symbol.Test [ OK ] Symbol.Test (0 ms) [----------] 1 test from Symbol (0 ms total) [----------] 1 test from Date [ RUN ] Date.Test [ OK ] Date.Test (1 ms) [----------] 1 test from Date (1 ms total) [----------] 2 tests from DateNegative [ RUN ] DateNegative.Test [ OK ] DateNegative.Test (0 ms) [ RUN ] DateNegative.Test [ OK ] DateNegative.Test (0 ms) [----------] 2 tests from DateNegative (1 ms total) [----------] 2 tests from Regex [ RUN ] Regex.Test [ OK ] Regex.Test (0 ms) [ RUN ] Regex.Test [ OK ] Regex.Test (0 ms) [----------] 2 tests from Regex (0 ms total) [----------] 2 tests from RegexEscape [ RUN ] RegexEscape.Test [ OK ] RegexEscape.Test (0 ms) [ RUN ] RegexEscape.Test [ OK ] RegexEscape.Test (0 ms) [----------] 2 tests from RegexEscape (0 ms total) [----------] 1 test from RegexManyOptions [ RUN ] RegexManyOptions.Test [ OK ] RegexManyOptions.Test (0 ms) [----------] 1 test from RegexManyOptions (0 ms total) [----------] 1 test from CodeTests [ RUN ] CodeTests.Test [ OK ] CodeTests.Test (0 ms) [----------] 1 test from CodeTests (1 ms total) [----------] 1 test from CodeWScopeTests [ RUN ] CodeWScopeTests.Test [ OK ] CodeWScopeTests.Test (0 ms) [----------] 1 test from CodeWScopeTests (0 ms total) [----------] 1 test from TimestampTests [ RUN ] TimestampTests.Test [ OK ] TimestampTests.Test (0 ms) [----------] 1 test from TimestampTests (1 ms total) [----------] 2 tests from NullString [ RUN ] NullString.Test [ OK ] NullString.Test (0 ms) [ RUN ] NullString.Test [ OK ] NullString.Test (0 ms) [----------] 2 tests from NullString (1 ms total) [----------] 1 test from AllTypes [ RUN ] AllTypes.Test [ OK ] AllTypes.Test (0 ms) [----------] 1 test from AllTypes (0 ms total) [----------] 1 test from EmptyWithSpace [ RUN ] EmptyWithSpace.Test [ OK ] EmptyWithSpace.Test (0 ms) [----------] 1 test from EmptyWithSpace (0 ms total) [----------] 1 test from SingleString [ RUN ] SingleString.Test [ OK ] SingleString.Test (0 ms) [----------] 1 test from SingleString (0 ms total) [----------] 1 test from EmptyStrings [ RUN ] EmptyStrings.Test [ OK ] EmptyStrings.Test (0 ms) [----------] 1 test from EmptyStrings (0 ms total) [----------] 1 test from ReservedFieldName [ RUN ] ReservedFieldName.Test [ OK ] ReservedFieldName.Test (1 ms) [----------] 1 test from ReservedFieldName (1 ms total) [----------] 1 test from ReservedFieldName1 [ RUN ] ReservedFieldName1.Test [ OK ] ReservedFieldName1.Test (0 ms) [----------] 1 test from ReservedFieldName1 (0 ms total) [----------] 1 test from NumberFieldName [ RUN ] NumberFieldName.Test [ OK ] NumberFieldName.Test (0 ms) [----------] 1 test from NumberFieldName (1 ms total) [----------] 1 test from InvalidFieldName [ RUN ] InvalidFieldName.Test [ OK ] InvalidFieldName.Test (0 ms) [----------] 1 test from InvalidFieldName (0 ms total) [----------] 1 test from QuotedNullName [ RUN ] QuotedNullName.Test [ OK ] QuotedNullName.Test (0 ms) [----------] 1 test from QuotedNullName (0 ms total) [----------] 1 test from NoValue [ RUN ] NoValue.Test [ OK ] NoValue.Test (0 ms) [----------] 1 test from NoValue (1 ms total) [----------] 1 test from InvalidValue [ RUN ] InvalidValue.Test [ OK ] InvalidValue.Test (0 ms) [----------] 1 test from InvalidValue (0 ms total) [----------] 1 test from OkDollarFieldName [ RUN ] OkDollarFieldName.Test [ OK ] OkDollarFieldName.Test (1 ms) [----------] 1 test from OkDollarFieldName (1 ms total) [----------] 1 test from SingleNumber [ RUN ] SingleNumber.Test [ OK ] SingleNumber.Test (0 ms) [----------] 1 test from SingleNumber (0 ms total) [----------] 1 test from RealNumber [ RUN ] RealNumber.Test [ OK ] RealNumber.Test (0 ms) [----------] 1 test from RealNumber (0 ms total) [----------] 1 test from FancyNumber [ RUN ] FancyNumber.Test [ OK ] FancyNumber.Test (0 ms) [----------] 1 test from FancyNumber (1 ms total) [----------] 1 test from TwoElements [ RUN ] TwoElements.Test [ OK ] TwoElements.Test (0 ms) [----------] 1 test from TwoElements (1 ms total) [----------] 1 test from Subobject [ RUN ] Subobject.Test [ OK ] Subobject.Test (1 ms) [----------] 1 test from Subobject (1 ms total) [----------] 1 test from DeeplyNestedObject [ RUN ] DeeplyNestedObject.Test [ OK ] DeeplyNestedObject.Test (1 ms) [----------] 1 test from DeeplyNestedObject (1 ms total) [----------] 1 test from ArrayEmpty [ RUN ] ArrayEmpty.Test [ OK ] ArrayEmpty.Test (0 ms) [----------] 1 test from ArrayEmpty (0 ms total) [----------] 1 test from TopLevelArrayEmpty [ RUN ] TopLevelArrayEmpty.Test [ OK ] TopLevelArrayEmpty.Test (1 ms) [----------] 1 test from TopLevelArrayEmpty (1 ms total) [----------] 1 test from TopLevelArray [ RUN ] TopLevelArray.Test [ OK ] TopLevelArray.Test (0 ms) [----------] 1 test from TopLevelArray (0 ms total) [----------] 1 test from True [ RUN ] True.Test [ OK ] True.Test (0 ms) [----------] 1 test from True (0 ms total) [----------] 1 test from False [ RUN ] False.Test [ OK ] False.Test (0 ms) [----------] 1 test from False (0 ms total) [----------] 1 test from Null [ RUN ] Null.Test [ OK ] Null.Test (0 ms) [----------] 1 test from Null (0 ms total) [----------] 1 test from Undefined [ RUN ] Undefined.Test [ OK ] Undefined.Test (1 ms) [----------] 1 test from Undefined (1 ms total) [----------] 1 test from UndefinedStrict [ RUN ] UndefinedStrict.Test [ OK ] UndefinedStrict.Test (0 ms) [----------] 1 test from UndefinedStrict (0 ms total) [----------] 1 test from UndefinedStrictBad [ RUN ] UndefinedStrictBad.Test [ OK ] UndefinedStrictBad.Test (0 ms) [----------] 1 test from UndefinedStrictBad (0 ms total) [----------] 1 test from NonEscapedCharacters [ RUN ] NonEscapedCharacters.Test [ OK ] NonEscapedCharacters.Test (0 ms) [----------] 1 test from NonEscapedCharacters (0 ms total) [----------] 1 test from AllowedControlCharacter [ RUN ] AllowedControlCharacter.Test [ OK ] AllowedControlCharacter.Test (0 ms) [----------] 1 test from AllowedControlCharacter (0 ms total) [----------] 1 test from InvalidControlCharacter [ RUN ] InvalidControlCharacter.Test [ OK ] InvalidControlCharacter.Test (0 ms) [----------] 1 test from InvalidControlCharacter (1 ms total) [----------] 1 test from NumbersInFieldName [ RUN ] NumbersInFieldName.Test [ OK ] NumbersInFieldName.Test (0 ms) [----------] 1 test from NumbersInFieldName (0 ms total) [----------] 1 test from EscapedUnicodeToUtf8 [ RUN ] EscapedUnicodeToUtf8.Test [ OK ] EscapedUnicodeToUtf8.Test (0 ms) [----------] 1 test from EscapedUnicodeToUtf8 (1 ms total) [----------] 1 test from Utf8AllOnes [ RUN ] Utf8AllOnes.Test [ OK ] Utf8AllOnes.Test (0 ms) [----------] 1 test from Utf8AllOnes (0 ms total) [----------] 1 test from Utf8FirstByteOnes [ RUN ] Utf8FirstByteOnes.Test [ OK ] Utf8FirstByteOnes.Test (0 ms) [----------] 1 test from Utf8FirstByteOnes (0 ms total) [----------] 1 test from Utf8Invalid [ RUN ] Utf8Invalid.Test [ OK ] Utf8Invalid.Test (0 ms) [----------] 1 test from Utf8Invalid (1 ms total) [----------] 1 test from Utf8TooShort [ RUN ] Utf8TooShort.Test [ OK ] Utf8TooShort.Test (0 ms) [----------] 1 test from Utf8TooShort (0 ms total) [----------] 1 test from DBRefConstructor [ RUN ] DBRefConstructor.Test [ OK ] DBRefConstructor.Test (0 ms) [----------] 1 test from DBRefConstructor (1 ms total) [----------] 1 test from DBRefConstructorCapitals [ RUN ] DBRefConstructorCapitals.Test [ OK ] DBRefConstructorCapitals.Test (0 ms) [----------] 1 test from DBRefConstructorCapitals (0 ms total) [----------] 1 test from DBRefConstructorDbName [ RUN ] DBRefConstructorDbName.Test [ OK ] DBRefConstructorDbName.Test (0 ms) [----------] 1 test from DBRefConstructorDbName (0 ms total) [----------] 1 test from DBRefConstructorNumber [ RUN ] DBRefConstructorNumber.Test [ OK ] DBRefConstructorNumber.Test (0 ms) [----------] 1 test from DBRefConstructorNumber (1 ms total) [----------] 1 test from DBRefConstructorObject [ RUN ] DBRefConstructorObject.Test [ OK ] DBRefConstructorObject.Test (0 ms) [----------] 1 test from DBRefConstructorObject (0 ms total) [----------] 1 test from DBRefNumberId [ RUN ] DBRefNumberId.Test [ OK ] DBRefNumberId.Test (0 ms) [----------] 1 test from DBRefNumberId (0 ms total) [----------] 1 test from DBRefObjectAsId [ RUN ] DBRefObjectAsId.Test [ OK ] DBRefObjectAsId.Test (0 ms) [----------] 1 test from DBRefObjectAsId (1 ms total) [----------] 1 test from DBRefStringId [ RUN ] DBRefStringId.Test [ OK ] DBRefStringId.Test (0 ms) [----------] 1 test from DBRefStringId (1 ms total) [----------] 1 test from DBRefObjectIDObject [ RUN ] DBRefObjectIDObject.Test [ OK ] DBRefObjectIDObject.Test (0 ms) [----------] 1 test from DBRefObjectIDObject (0 ms total) [----------] 1 test from DBRefObjectIDConstructor [ RUN ] DBRefObjectIDConstructor.Test [ OK ] DBRefObjectIDConstructor.Test (0 ms) [----------] 1 test from DBRefObjectIDConstructor (0 ms total) [----------] 1 test from DBRefDbName [ RUN ] DBRefDbName.Test [ OK ] DBRefDbName.Test (0 ms) [----------] 1 test from DBRefDbName (1 ms total) [----------] 1 test from Oid [ RUN ] Oid.Test [ OK ] Oid.Test (0 ms) [----------] 1 test from Oid (0 ms total) [----------] 1 test from Oid2 [ RUN ] Oid2.Test [ OK ] Oid2.Test (0 ms) [----------] 1 test from Oid2 (1 ms total) [----------] 1 test from OidTooLong [ RUN ] OidTooLong.Test [ OK ] OidTooLong.Test (0 ms) [----------] 1 test from OidTooLong (1 ms total) [----------] 1 test from Oid2TooLong [ RUN ] Oid2TooLong.Test [ OK ] Oid2TooLong.Test (0 ms) [----------] 1 test from Oid2TooLong (0 ms total) [----------] 1 test from OidTooShort [ RUN ] OidTooShort.Test [ OK ] OidTooShort.Test (0 ms) [----------] 1 test from OidTooShort (0 ms total) [----------] 1 test from Oid2TooShort [ RUN ] Oid2TooShort.Test [ OK ] Oid2TooShort.Test (0 ms) [----------] 1 test from Oid2TooShort (0 ms total) [----------] 1 test from OidInvalidChar [ RUN ] OidInvalidChar.Test [ OK ] OidInvalidChar.Test (1 ms) [----------] 1 test from OidInvalidChar (1 ms total) [----------] 1 test from Oid2InvalidChar [ RUN ] Oid2InvalidChar.Test [ OK ] Oid2InvalidChar.Test (0 ms) [----------] 1 test from Oid2InvalidChar (1 ms total) [----------] 1 test from StringId [ RUN ] StringId.Test [ OK ] StringId.Test (0 ms) [----------] 1 test from StringId (0 ms total) [----------] 1 test from BinData1 [ RUN ] BinData1.Test [ OK ] BinData1.Test (0 ms) [----------] 1 test from BinData1 (1 ms total) [----------] 1 test from BinData2 [ RUN ] BinData2.Test [ OK ] BinData2.Test (0 ms) [----------] 1 test from BinData2 (0 ms total) [----------] 1 test from BinData3 [ RUN ] BinData3.Test [ OK ] BinData3.Test (0 ms) [----------] 1 test from BinData3 (0 ms total) [----------] 1 test from BinData4 [ RUN ] BinData4.Test [ OK ] BinData4.Test (0 ms) [----------] 1 test from BinData4 (1 ms total) [----------] 1 test from BinData5 [ RUN ] BinData5.Test [ OK ] BinData5.Test (0 ms) [----------] 1 test from BinData5 (0 ms total) [----------] 1 test from BinData80 [ RUN ] BinData80.Test [ OK ] BinData80.Test (0 ms) [----------] 1 test from BinData80 (1 ms total) [----------] 1 test from BinDataPaddedSingle [ RUN ] BinDataPaddedSingle.Test [ OK ] BinDataPaddedSingle.Test (0 ms) [----------] 1 test from BinDataPaddedSingle (0 ms total) [----------] 1 test from BinDataPaddedDouble [ RUN ] BinDataPaddedDouble.Test [ OK ] BinDataPaddedDouble.Test (0 ms) [----------] 1 test from BinDataPaddedDouble (0 ms total) [----------] 1 test from BinDataAllChars [ RUN ] BinDataAllChars.Test [ OK ] BinDataAllChars.Test (1 ms) [----------] 1 test from BinDataAllChars (1 ms total) [----------] 1 test from BinDataBadLength [ RUN ] BinDataBadLength.Test [ OK ] BinDataBadLength.Test (0 ms) [----------] 1 test from BinDataBadLength (0 ms total) [----------] 1 test from BinDataBadLength1 [ RUN ] BinDataBadLength1.Test [ OK ] BinDataBadLength1.Test (0 ms) [----------] 1 test from BinDataBadLength1 (0 ms total) [----------] 1 test from BinDataBadLength2 [ RUN ] BinDataBadLength2.Test [ OK ] BinDataBadLength2.Test (0 ms) [----------] 1 test from BinDataBadLength2 (0 ms total) [----------] 1 test from BinDataBadLength3 [ RUN ] BinDataBadLength3.Test [ OK ] BinDataBadLength3.Test (0 ms) [----------] 1 test from BinDataBadLength3 (0 ms total) [----------] 1 test from BinDataBadLength4 [ RUN ] BinDataBadLength4.Test [ OK ] BinDataBadLength4.Test (0 ms) [----------] 1 test from BinDataBadLength4 (1 ms total) [----------] 1 test from BinDataBadLength5 [ RUN ] BinDataBadLength5.Test [ OK ] BinDataBadLength5.Test (0 ms) [----------] 1 test from BinDataBadLength5 (0 ms total) [----------] 1 test from BinDataBadChars [ RUN ] BinDataBadChars.Test [ OK ] BinDataBadChars.Test (0 ms) [----------] 1 test from BinDataBadChars (1 ms total) [----------] 1 test from BinDataTypeTooShort [ RUN ] BinDataTypeTooShort.Test [ OK ] BinDataTypeTooShort.Test (0 ms) [----------] 1 test from BinDataTypeTooShort (0 ms total) [----------] 1 test from BinDataTypeTooLong [ RUN ] BinDataTypeTooLong.Test [ OK ] BinDataTypeTooLong.Test (0 ms) [----------] 1 test from BinDataTypeTooLong (0 ms total) [----------] 1 test from BinDataTypeBadChars [ RUN ] BinDataTypeBadChars.Test [ OK ] BinDataTypeBadChars.Test (0 ms) [----------] 1 test from BinDataTypeBadChars (0 ms total) [----------] 1 test from BinDataEmptyType [ RUN ] BinDataEmptyType.Test [ OK ] BinDataEmptyType.Test (0 ms) [----------] 1 test from BinDataEmptyType (0 ms total) [----------] 1 test from BinDataNoType [ RUN ] BinDataNoType.Test [ OK ] BinDataNoType.Test (0 ms) [----------] 1 test from BinDataNoType (1 ms total) [----------] 1 test from BinDataInvalidType [ RUN ] BinDataInvalidType.Test [ OK ] BinDataInvalidType.Test (0 ms) [----------] 1 test from BinDataInvalidType (0 ms total) [----------] 1 test from DateNonzero [ RUN ] DateNonzero.Test [ OK ] DateNonzero.Test (0 ms) [----------] 1 test from DateNonzero (1 ms total) [----------] 1 test from DateStrictTooLong [ RUN ] DateStrictTooLong.Test [ OK ] DateStrictTooLong.Test (0 ms) [----------] 1 test from DateStrictTooLong (0 ms total) [----------] 1 test from DateTooLong [ RUN ] DateTooLong.Test [ OK ] DateTooLong.Test (0 ms) [----------] 1 test from DateTooLong (0 ms total) [----------] 1 test from DateIsString [ RUN ] DateIsString.Test [ OK ] DateIsString.Test (0 ms) [----------] 1 test from DateIsString (1 ms total) [----------] 1 test from DateIsString1 [ RUN ] DateIsString1.Test [ OK ] DateIsString1.Test (0 ms) [----------] 1 test from DateIsString1 (0 ms total) [----------] 1 test from DateIsString2 [ RUN ] DateIsString2.Test [ OK ] DateIsString2.Test (0 ms) [----------] 1 test from DateIsString2 (1 ms total) [----------] 1 test from DateIsFloat [ RUN ] DateIsFloat.Test [ OK ] DateIsFloat.Test (0 ms) [----------] 1 test from DateIsFloat (0 ms total) [----------] 1 test from DateIsFloat1 [ RUN ] DateIsFloat1.Test [ OK ] DateIsFloat1.Test (0 ms) [----------] 1 test from DateIsFloat1 (0 ms total) [----------] 1 test from DateIsFloat2 [ RUN ] DateIsFloat2.Test [ OK ] DateIsFloat2.Test (0 ms) [----------] 1 test from DateIsFloat2 (0 ms total) [----------] 1 test from DateIsExponent [ RUN ] DateIsExponent.Test [ OK ] DateIsExponent.Test (0 ms) [----------] 1 test from DateIsExponent (0 ms total) [----------] 1 test from DateIsExponent1 [ RUN ] DateIsExponent1.Test [ OK ] DateIsExponent1.Test (0 ms) [----------] 1 test from DateIsExponent1 (1 ms total) [----------] 1 test from DateIsExponent2 [ RUN ] DateIsExponent2.Test [ OK ] DateIsExponent2.Test (0 ms) [----------] 1 test from DateIsExponent2 (0 ms total) [----------] 1 test from DateStrictMaxUnsigned [ RUN ] DateStrictMaxUnsigned.Test [ OK ] DateStrictMaxUnsigned.Test (0 ms) [----------] 1 test from DateStrictMaxUnsigned (1 ms total) [----------] 1 test from DateMaxUnsigned [ RUN ] DateMaxUnsigned.Test [ OK ] DateMaxUnsigned.Test (0 ms) [----------] 1 test from DateMaxUnsigned (0 ms total) [----------] 1 test from DateStrictNegative [ RUN ] DateStrictNegative.Test [ OK ] DateStrictNegative.Test (0 ms) [----------] 1 test from DateStrictNegative (0 ms total) [----------] 1 test from NumberLongTest [ RUN ] NumberLongTest.Test [ OK ] NumberLongTest.Test (0 ms) [----------] 1 test from NumberLongTest (1 ms total) [----------] 1 test from NumberLongMin [ RUN ] NumberLongMin.Test [ OK ] NumberLongMin.Test (0 ms) [----------] 1 test from NumberLongMin (2 ms total) [----------] 1 test from NumberIntTest [ RUN ] NumberIntTest.Test [ OK ] NumberIntTest.Test (0 ms) [----------] 1 test from NumberIntTest (1 ms total) [----------] 1 test from NumberLongNeg [ RUN ] NumberLongNeg.Test [ OK ] NumberLongNeg.Test (0 ms) [----------] 1 test from NumberLongNeg (0 ms total) [----------] 1 test from NumberIntNeg [ RUN ] NumberIntNeg.Test [ OK ] NumberIntNeg.Test (0 ms) [----------] 1 test from NumberIntNeg (1 ms total) [----------] 1 test from NumberLongBad [ RUN ] NumberLongBad.Test [ OK ] NumberLongBad.Test (0 ms) [----------] 1 test from NumberLongBad (0 ms total) [----------] 1 test from NumberIntBad [ RUN ] NumberIntBad.Test [ OK ] NumberIntBad.Test (0 ms) [----------] 1 test from NumberIntBad (0 ms total) [----------] 1 test from Timestamp [ RUN ] Timestamp.Test [ OK ] Timestamp.Test (1 ms) [----------] 1 test from Timestamp (1 ms total) [----------] 1 test from TimestampNoIncrement [ RUN ] TimestampNoIncrement.Test [ OK ] TimestampNoIncrement.Test (0 ms) [----------] 1 test from TimestampNoIncrement (0 ms total) [----------] 1 test from TimestampZero [ RUN ] TimestampZero.Test [ OK ] TimestampZero.Test (0 ms) [----------] 1 test from TimestampZero (0 ms total) [----------] 1 test from TimestampNoArgs [ RUN ] TimestampNoArgs.Test [ OK ] TimestampNoArgs.Test (0 ms) [----------] 1 test from TimestampNoArgs (0 ms total) [----------] 1 test from TimestampFloatSeconds [ RUN ] TimestampFloatSeconds.Test [ OK ] TimestampFloatSeconds.Test (0 ms) [----------] 1 test from TimestampFloatSeconds (0 ms total) [----------] 1 test from TimestampFloatIncrement [ RUN ] TimestampFloatIncrement.Test [ OK ] TimestampFloatIncrement.Test (0 ms) [----------] 1 test from TimestampFloatIncrement (1 ms total) [----------] 1 test from TimestampNegativeSeconds [ RUN ] TimestampNegativeSeconds.Test [ OK ] TimestampNegativeSeconds.Test (0 ms) [----------] 1 test from TimestampNegativeSeconds (0 ms total) [----------] 1 test from TimestampNegativeIncrement [ RUN ] TimestampNegativeIncrement.Test [ OK ] TimestampNegativeIncrement.Test (0 ms) [----------] 1 test from TimestampNegativeIncrement (1 ms total) [----------] 1 test from TimestampInvalidSeconds [ RUN ] TimestampInvalidSeconds.Test [ OK ] TimestampInvalidSeconds.Test (0 ms) [----------] 1 test from TimestampInvalidSeconds (0 ms total) [----------] 1 test from TimestampObject [ RUN ] TimestampObject.Test [ OK ] TimestampObject.Test (0 ms) [----------] 1 test from TimestampObject (0 ms total) [----------] 1 test from TimestampObjectInvalidFieldName [ RUN ] TimestampObjectInvalidFieldName.Test [ OK ] TimestampObjectInvalidFieldName.Test (0 ms) [----------] 1 test from TimestampObjectInvalidFieldName (0 ms total) [----------] 1 test from TimestampObjectNoIncrement [ RUN ] TimestampObjectNoIncrement.Test [ OK ] TimestampObjectNoIncrement.Test (0 ms) [----------] 1 test from TimestampObjectNoIncrement (0 ms total) [----------] 1 test from TimestampObjectNegativeSeconds [ RUN ] TimestampObjectNegativeSeconds.Test [ OK ] TimestampObjectNegativeSeconds.Test (0 ms) [----------] 1 test from TimestampObjectNegativeSeconds (1 ms total) [----------] 1 test from TimestampObjectNegativeIncrement [ RUN ] TimestampObjectNegativeIncrement.Test [ OK ] TimestampObjectNegativeIncrement.Test (0 ms) [----------] 1 test from TimestampObjectNegativeIncrement (0 ms total) [----------] 1 test from TimestampObjectInvalidSeconds [ RUN ] TimestampObjectInvalidSeconds.Test [ OK ] TimestampObjectInvalidSeconds.Test (0 ms) [----------] 1 test from TimestampObjectInvalidSeconds (1 ms total) [----------] 1 test from TimestampObjectZero [ RUN ] TimestampObjectZero.Test [ OK ] TimestampObjectZero.Test (0 ms) [----------] 1 test from TimestampObjectZero (0 ms total) [----------] 1 test from TimestampObjectNoArgs [ RUN ] TimestampObjectNoArgs.Test [ OK ] TimestampObjectNoArgs.Test (0 ms) [----------] 1 test from TimestampObjectNoArgs (0 ms total) [----------] 1 test from TimestampObjectFloatSeconds [ RUN ] TimestampObjectFloatSeconds.Test [ OK ] TimestampObjectFloatSeconds.Test (0 ms) [----------] 1 test from TimestampObjectFloatSeconds (1 ms total) [----------] 1 test from TimestampObjectFloatIncrement [ RUN ] TimestampObjectFloatIncrement.Test [ OK ] TimestampObjectFloatIncrement.Test (0 ms) [----------] 1 test from TimestampObjectFloatIncrement (0 ms total) [----------] 1 test from RegexNoOptionField [ RUN ] RegexNoOptionField.Test [ OK ] RegexNoOptionField.Test (0 ms) [----------] 1 test from RegexNoOptionField (1 ms total) [----------] 1 test from RegexWithQuotes [ RUN ] RegexWithQuotes.Test [ OK ] RegexWithQuotes.Test (0 ms) [----------] 1 test from RegexWithQuotes (0 ms total) [----------] 1 test from RegexWithQuotes1 [ RUN ] RegexWithQuotes1.Test [ OK ] RegexWithQuotes1.Test (0 ms) [----------] 1 test from RegexWithQuotes1 (0 ms total) [----------] 1 test from RegexInvalidField [ RUN ] RegexInvalidField.Test [ OK ] RegexInvalidField.Test (0 ms) [----------] 1 test from RegexInvalidField (1 ms total) [----------] 1 test from RegexInvalidOption [ RUN ] RegexInvalidOption.Test [ OK ] RegexInvalidOption.Test (0 ms) [----------] 1 test from RegexInvalidOption (0 ms total) [----------] 1 test from RegexInvalidOption2 [ RUN ] RegexInvalidOption2.Test [ OK ] RegexInvalidOption2.Test (1 ms) [----------] 1 test from RegexInvalidOption2 (1 ms total) [----------] 1 test from RegexInvalidOption3 [ RUN ] RegexInvalidOption3.Test [ OK ] RegexInvalidOption3.Test (0 ms) [----------] 1 test from RegexInvalidOption3 (0 ms total) [----------] 1 test from RegexInvalidOption4 [ RUN ] RegexInvalidOption4.Test [ OK ] RegexInvalidOption4.Test (0 ms) [----------] 1 test from RegexInvalidOption4 (0 ms total) [----------] 1 test from RegexInvalidOption5 [ RUN ] RegexInvalidOption5.Test [ OK ] RegexInvalidOption5.Test (0 ms) [----------] 1 test from RegexInvalidOption5 (0 ms total) [----------] 1 test from RegexEmptyOption [ RUN ] RegexEmptyOption.Test [ OK ] RegexEmptyOption.Test (0 ms) [----------] 1 test from RegexEmptyOption (0 ms total) [----------] 1 test from RegexEmpty [ RUN ] RegexEmpty.Test [ OK ] RegexEmpty.Test (0 ms) [----------] 1 test from RegexEmpty (1 ms total) [----------] 1 test from RegexEmpty1 [ RUN ] RegexEmpty1.Test [ OK ] RegexEmpty1.Test (0 ms) [----------] 1 test from RegexEmpty1 (0 ms total) [----------] 1 test from RegexOverlap [ RUN ] RegexOverlap.Test [ OK ] RegexOverlap.Test (0 ms) [----------] 1 test from RegexOverlap (1 ms total) [----------] 1 test from Malformed [ RUN ] Malformed.Test [ OK ] Malformed.Test (0 ms) [----------] 1 test from Malformed (0 ms total) [----------] 1 test from Malformed1 [ RUN ] Malformed1.Test [ OK ] Malformed1.Test (0 ms) [----------] 1 test from Malformed1 (1 ms total) [----------] 1 test from Malformed2 [ RUN ] Malformed2.Test [ OK ] Malformed2.Test (0 ms) [----------] 1 test from Malformed2 (0 ms total) [----------] 1 test from Malformed3 [ RUN ] Malformed3.Test [ OK ] Malformed3.Test (0 ms) [----------] 1 test from Malformed3 (1 ms total) [----------] 1 test from Malformed4 [ RUN ] Malformed4.Test [ OK ] Malformed4.Test (0 ms) [----------] 1 test from Malformed4 (0 ms total) [----------] 1 test from Malformed5 [ RUN ] Malformed5.Test [ OK ] Malformed5.Test (0 ms) [----------] 1 test from Malformed5 (0 ms total) [----------] 1 test from Malformed6 [ RUN ] Malformed6.Test [ OK ] Malformed6.Test (0 ms) [----------] 1 test from Malformed6 (0 ms total) [----------] 1 test from Malformed7 [ RUN ] Malformed7.Test [ OK ] Malformed7.Test (0 ms) [----------] 1 test from Malformed7 (0 ms total) [----------] 1 test from Malformed8 [ RUN ] Malformed8.Test [ OK ] Malformed8.Test (0 ms) [----------] 1 test from Malformed8 (1 ms total) [----------] 1 test from Malformed9 [ RUN ] Malformed9.Test [ OK ] Malformed9.Test (0 ms) [----------] 1 test from Malformed9 (0 ms total) [----------] 1 test from Malformed10 [ RUN ] Malformed10.Test [ OK ] Malformed10.Test (0 ms) [----------] 1 test from Malformed10 (1 ms total) [----------] 1 test from Malformed11 [ RUN ] Malformed11.Test [ OK ] Malformed11.Test (0 ms) [----------] 1 test from Malformed11 (0 ms total) [----------] 1 test from Malformed12 [ RUN ] Malformed12.Test [ OK ] Malformed12.Test (0 ms) [----------] 1 test from Malformed12 (0 ms total) [----------] 1 test from Malformed13 [ RUN ] Malformed13.Test [ OK ] Malformed13.Test (0 ms) [----------] 1 test from Malformed13 (0 ms total) [----------] 1 test from Malformed14 [ RUN ] Malformed14.Test [ OK ] Malformed14.Test (0 ms) [----------] 1 test from Malformed14 (0 ms total) [----------] 1 test from Malformed15 [ RUN ] Malformed15.Test [ OK ] Malformed15.Test (0 ms) [----------] 1 test from Malformed15 (1 ms total) [----------] 1 test from Malformed16 [ RUN ] Malformed16.Test [ OK ] Malformed16.Test (0 ms) [----------] 1 test from Malformed16 (0 ms total) [----------] 1 test from Malformed17 [ RUN ] Malformed17.Test [ OK ] Malformed17.Test (0 ms) [----------] 1 test from Malformed17 (1 ms total) [----------] 1 test from Malformed18 [ RUN ] Malformed18.Test [ OK ] Malformed18.Test (0 ms) [----------] 1 test from Malformed18 (0 ms total) [----------] 1 test from Malformed19 [ RUN ] Malformed19.Test [ OK ] Malformed19.Test (0 ms) [----------] 1 test from Malformed19 (0 ms total) [----------] 1 test from UnquotedFieldName [ RUN ] UnquotedFieldName.Test [ OK ] UnquotedFieldName.Test (0 ms) [----------] 1 test from UnquotedFieldName (1 ms total) [----------] 1 test from UnquotedFieldNameBad [ RUN ] UnquotedFieldNameBad.Test [ OK ] UnquotedFieldNameBad.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad (0 ms total) [----------] 1 test from UnquotedFieldNameBad1 [ RUN ] UnquotedFieldNameBad1.Test [ OK ] UnquotedFieldNameBad1.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad1 (1 ms total) [----------] 1 test from UnquotedFieldNameBad2 [ RUN ] UnquotedFieldNameBad2.Test [ OK ] UnquotedFieldNameBad2.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad2 (0 ms total) [----------] 1 test from UnquotedFieldNameBad3 [ RUN ] UnquotedFieldNameBad3.Test [ OK ] UnquotedFieldNameBad3.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad3 (1 ms total) [----------] 1 test from UnquotedFieldNameBad4 [ RUN ] UnquotedFieldNameBad4.Test [ OK ] UnquotedFieldNameBad4.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad4 (0 ms total) [----------] 1 test from UnquotedFieldNameBad5 [ RUN ] UnquotedFieldNameBad5.Test [ OK ] UnquotedFieldNameBad5.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad5 (0 ms total) [----------] 1 test from UnquotedFieldNameBad6 [ RUN ] UnquotedFieldNameBad6.Test [ OK ] UnquotedFieldNameBad6.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad6 (0 ms total) [----------] 1 test from UnquotedFieldNameBad7 [ RUN ] UnquotedFieldNameBad7.Test [ OK ] UnquotedFieldNameBad7.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad7 (0 ms total) [----------] 1 test from UnquotedFieldNameBad8 [ RUN ] UnquotedFieldNameBad8.Test [ OK ] UnquotedFieldNameBad8.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad8 (1 ms total) [----------] 1 test from UnquotedFieldNameBad9 [ RUN ] UnquotedFieldNameBad9.Test [ OK ] UnquotedFieldNameBad9.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad9 (0 ms total) [----------] 1 test from UnquotedFieldNameBad10 [ RUN ] UnquotedFieldNameBad10.Test [ OK ] UnquotedFieldNameBad10.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad10 (1 ms total) [----------] 1 test from UnquotedFieldNameBad11 [ RUN ] UnquotedFieldNameBad11.Test [ OK ] UnquotedFieldNameBad11.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad11 (0 ms total) [----------] 1 test from UnquotedFieldNameBad12 [ RUN ] UnquotedFieldNameBad12.Test [ OK ] UnquotedFieldNameBad12.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad12 (0 ms total) [----------] 1 test from UnquotedFieldNameBad13 [ RUN ] UnquotedFieldNameBad13.Test [ OK ] UnquotedFieldNameBad13.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad13 (0 ms total) [----------] 1 test from UnquotedFieldNameBad14 [ RUN ] UnquotedFieldNameBad14.Test [ OK ] UnquotedFieldNameBad14.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad14 (0 ms total) [----------] 1 test from UnquotedFieldNameBad15 [ RUN ] UnquotedFieldNameBad15.Test [ OK ] UnquotedFieldNameBad15.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad15 (1 ms total) [----------] 1 test from UnquotedFieldNameBad16 [ RUN ] UnquotedFieldNameBad16.Test [ OK ] UnquotedFieldNameBad16.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad16 (0 ms total) [----------] 1 test from UnquotedFieldNameBad17 [ RUN ] UnquotedFieldNameBad17.Test [ OK ] UnquotedFieldNameBad17.Test (1 ms) [----------] 1 test from UnquotedFieldNameBad17 (1 ms total) [----------] 1 test from UnquotedFieldNameBad18 [ RUN ] UnquotedFieldNameBad18.Test [ OK ] UnquotedFieldNameBad18.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad18 (0 ms total) [----------] 1 test from UnquotedFieldNameBad19 [ RUN ] UnquotedFieldNameBad19.Test [ OK ] UnquotedFieldNameBad19.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad19 (0 ms total) [----------] 1 test from UnquotedFieldNameBad20 [ RUN ] UnquotedFieldNameBad20.Test [ OK ] UnquotedFieldNameBad20.Test (0 ms) [----------] 1 test from UnquotedFieldNameBad20 (0 ms total) [----------] 1 test from UnquotedFieldNameDollar [ RUN ] UnquotedFieldNameDollar.Test [ OK ] UnquotedFieldNameDollar.Test (0 ms) [----------] 1 test from UnquotedFieldNameDollar (1 ms total) [----------] 1 test from SingleQuotes [ RUN ] SingleQuotes.Test [ OK ] SingleQuotes.Test (0 ms) [----------] 1 test from SingleQuotes (0 ms total) [----------] 1 test from QuoteTest [ RUN ] QuoteTest.Test [ OK ] QuoteTest.Test (0 ms) [----------] 1 test from QuoteTest (1 ms total) [----------] 1 test from QuoteTest1 [ RUN ] QuoteTest1.Test [ OK ] QuoteTest1.Test (0 ms) [----------] 1 test from QuoteTest1 (0 ms total) [----------] 1 test from QuoteTest2 [ RUN ] QuoteTest2.Test [ OK ] QuoteTest2.Test (0 ms) [----------] 1 test from QuoteTest2 (0 ms total) [----------] 1 test from QuoteTest3 [ RUN ] QuoteTest3.Test [ OK ] QuoteTest3.Test (0 ms) [----------] 1 test from QuoteTest3 (1 ms total) [----------] 1 test from QuoteTest4 [ RUN ] QuoteTest4.Test [ OK ] QuoteTest4.Test (0 ms) [----------] 1 test from QuoteTest4 (0 ms total) [----------] 1 test from QuoteTest5 [ RUN ] QuoteTest5.Test [ OK ] QuoteTest5.Test (0 ms) [----------] 1 test from QuoteTest5 (1 ms total) [----------] 1 test from QuoteTest6 [ RUN ] QuoteTest6.Test [ OK ] QuoteTest6.Test (0 ms) [----------] 1 test from QuoteTest6 (0 ms total) [----------] 1 test from ObjectId2 [ RUN ] ObjectId2.Test [ OK ] ObjectId2.Test (0 ms) [----------] 1 test from ObjectId2 (0 ms total) [----------] 1 test from NumericTypes [ RUN ] NumericTypes.Test [ OK ] NumericTypes.Test (1 ms) [----------] 1 test from NumericTypes (1 ms total) [----------] 1 test from NumericTypesJS [ RUN ] NumericTypesJS.Test [ OK ] NumericTypesJS.Test (0 ms) [----------] 1 test from NumericTypesJS (0 ms total) [----------] 1 test from NumericLongMin [ RUN ] NumericLongMin.Test [ OK ] NumericLongMin.Test (0 ms) [----------] 1 test from NumericLongMin (0 ms total) [----------] 1 test from NumericIntMin [ RUN ] NumericIntMin.Test [ OK ] NumericIntMin.Test (0 ms) [----------] 1 test from NumericIntMin (1 ms total) [----------] 1 test from NumericLimits [ RUN ] NumericLimits.Test [ OK ] NumericLimits.Test (0 ms) [----------] 1 test from NumericLimits (0 ms total) [----------] 1 test from NumericLimitsBad [ RUN ] NumericLimitsBad.Test [ OK ] NumericLimitsBad.Test (0 ms) [----------] 1 test from NumericLimitsBad (0 ms total) [----------] 1 test from NumericLimitsBad1 [ RUN ] NumericLimitsBad1.Test [ OK ] NumericLimitsBad1.Test (0 ms) [----------] 1 test from NumericLimitsBad1 (1 ms total) [----------] 1 test from NegativeNumericTypes [ RUN ] NegativeNumericTypes.Test [ OK ] NegativeNumericTypes.Test (0 ms) [----------] 1 test from NegativeNumericTypes (0 ms total) [----------] 1 test from EmbeddedDatesFormat1 [ RUN ] EmbeddedDatesFormat1.Test [ OK ] EmbeddedDatesFormat1.Test (0 ms) [----------] 1 test from EmbeddedDatesFormat1 (0 ms total) [----------] 1 test from EmbeddedDatesFormat2 [ RUN ] EmbeddedDatesFormat2.Test [ OK ] EmbeddedDatesFormat2.Test (1 ms) [----------] 1 test from EmbeddedDatesFormat2 (1 ms total) [----------] 1 test from EmbeddedDatesFormat3 [ RUN ] EmbeddedDatesFormat3.Test [ OK ] EmbeddedDatesFormat3.Test (0 ms) [----------] 1 test from EmbeddedDatesFormat3 (0 ms total) [----------] 1 test from NullFieldUnquoted [ RUN ] NullFieldUnquoted.Test [ OK ] NullFieldUnquoted.Test (0 ms) [----------] 1 test from NullFieldUnquoted (0 ms total) [----------] 1 test from MinKeyAlone [ RUN ] MinKeyAlone.Test [ OK ] MinKeyAlone.Test (0 ms) [----------] 1 test from MinKeyAlone (1 ms total) [----------] 1 test from MaxKeyAlone [ RUN ] MaxKeyAlone.Test [ OK ] MaxKeyAlone.Test (0 ms) [----------] 1 test from MaxKeyAlone (0 ms total) [----------] 1 test from MinKey [ RUN ] MinKey.Test [ OK ] MinKey.Test (0 ms) [----------] 1 test from MinKey (1 ms total) [----------] 1 test from MaxKey [ RUN ] MaxKey.Test [ OK ] MaxKey.Test (0 ms) [----------] 1 test from MaxKey (0 ms total) [----------] Global test environment tear-down [==========] 247 tests from 238 test cases ran. (158 ms total) [ PASSED ] 247 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/random_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/platform/random_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/set:60, from src/mongo/platform/random_test.cpp:19: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/replica_set_monitor_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/replica_set_monitor_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 [ OK ] BufBuilderReallocLimit.Test (2028 ms) [----------] 1 test from BufBuilderReallocLimit (2029 ms total) [----------] 1 test from BSONElementBasic [ RUN ] BSONElementBasic.Test [ OK ] BSONElementBasic.Test (0 ms) [----------] 1 test from BSONElementBasic (0 ms total) [----------] 1 test from Create [ RUN ] Create.Test [ OK ] Create.Test (0 ms) [----------] 1 test from Create (1 ms total) [----------] 1 test from WoCompareBasic [ RUN ] WoCompareBasic.Test [ OK ] WoCompareBasic.Test (0 ms) [----------] 1 test from WoCompareBasic (0 ms total) [----------] 1 test from IsPrefixOf [ RUN ] IsPrefixOf.Test [ OK ] IsPrefixOf.Test (0 ms) [----------] 1 test from IsPrefixOf (1 ms total) [----------] 1 test from NumericCompareBasic [ RUN ] NumericCompareBasic.Test [ OK ] NumericCompareBasic.Test (0 ms) [----------] 1 test from NumericCompareBasic (0 ms total) [----------] 1 test from WoCompareEmbeddedObject [ RUN ] WoCompareEmbeddedObject.Test [ OK ] WoCompareEmbeddedObject.Test (0 ms) [----------] 1 test from WoCompareEmbeddedObject (0 ms total) [----------] 1 test from WoCompareEmbeddedArray [ RUN ] WoCompareEmbeddedArray.Test [ OK ] WoCompareEmbeddedArray.Test (0 ms) [----------] 1 test from WoCompareEmbeddedArray (0 ms total) [----------] 1 test from WoCompareOrdered [ RUN ] WoCompareOrdered.Test [ OK ] WoCompareOrdered.Test (0 ms) [----------] 1 test from WoCompareOrdered (0 ms total) [----------] 1 test from WoCompareDifferentLength [ RUN ] WoCompareDifferentLength.Test [ OK ] WoCompareDifferentLength.Test (0 ms) [----------] 1 test from WoCompareDifferentLength (0 ms total) [----------] 1 test from WoSortOrder [ RUN ] WoSortOrder.Test [ OK ] WoSortOrder.Test (0 ms) [----------] 1 test from WoSortOrder (0 ms total) [----------] 1 test from MultiKeySortOrder [ RUN ] MultiKeySortOrder.Test [ OK ] MultiKeySortOrder.Test (1 ms) [----------] 1 test from MultiKeySortOrder (1 ms total) [----------] 1 test from Nan [ RUN ] Nan.Test [ OK ] Nan.Test (0 ms) [----------] 1 test from Nan (0 ms total) [----------] 1 test from AsTempObj [ RUN ] AsTempObj.Test [ OK ] AsTempObj.Test (10 ms) [----------] 1 test from AsTempObj (10 ms total) [----------] 1 test from AppendIntOrLL [ RUN ] AppendIntOrLL.Test todo fix SERVER-3719 and uncomment test in AppendIntOrLL [ OK ] AppendIntOrLL.Test (0 ms) [----------] 1 test from AppendIntOrLL (0 ms total) [----------] 1 test from AppendNumber [ RUN ] AppendNumber.Test [ OK ] AppendNumber.Test (0 ms) [----------] 1 test from AppendNumber (1 ms total) [----------] 1 test from ToStringArray [ RUN ] ToStringArray.Test [ OK ] ToStringArray.Test (0 ms) [----------] 1 test from ToStringArray (0 ms total) [----------] 1 test from ToStringNumber [ RUN ] ToStringNumber.Test [ OK ] ToStringNumber.Test (0 ms) [----------] 1 test from ToStringNumber (1 ms total) [----------] 1 test from NullString [ RUN ] NullString.Test [ OK ] NullString.Test (0 ms) [----------] 1 test from NullString (0 ms total) [----------] 1 test from AppendAs [ RUN ] AppendAs.Test [ OK ] AppendAs.Test (0 ms) [----------] 1 test from AppendAs (0 ms total) [----------] 1 test from GetField [ RUN ] GetField.Test [ OK ] GetField.Test (0 ms) [----------] 1 test from GetField (0 ms total) [----------] 1 test from ToStringRecursionDepth [ RUN ] ToStringRecursionDepth.Test [ OK ] ToStringRecursionDepth.Test (1 ms) [----------] 1 test from ToStringRecursionDepth (1 ms total) [----------] 1 test from StringWithNull [ RUN ] StringWithNull.Test [ OK ] StringWithNull.Test (0 ms) [----------] 1 test from StringWithNull (0 ms total) [----------] 1 test from BadType [ RUN ] BadType.Test [ OK ] BadType.Test (0 ms) [----------] 1 test from BadType (0 ms total) [----------] 1 test from EooBeforeEnd [ RUN ] EooBeforeEnd.Test [ OK ] EooBeforeEnd.Test (0 ms) [----------] 1 test from EooBeforeEnd (1 ms total) [----------] 1 test from Undefined [ RUN ] Undefined.Test [ OK ] Undefined.Test (0 ms) [----------] 1 test from Undefined (0 ms total) [----------] 1 test from TotalSizeTooSmall [ RUN ] TotalSizeTooSmall.Test [ OK ] TotalSizeTooSmall.Test (0 ms) [----------] 1 test from TotalSizeTooSmall (1 ms total) [----------] 1 test from EooMissing [ RUN ] EooMissing.Test [ OK ] EooMissing.Test (0 ms) [----------] 1 test from EooMissing (0 ms total) [----------] 1 test from WrongStringSize [ RUN ] WrongStringSize.Test [ OK ] WrongStringSize.Test (0 ms) [----------] 1 test from WrongStringSize (0 ms total) [----------] 1 test from ZeroStringSize [ RUN ] ZeroStringSize.Test [ OK ] ZeroStringSize.Test (0 ms) [----------] 1 test from ZeroStringSize (0 ms total) [----------] 1 test from NegativeStringSize [ RUN ] NegativeStringSize.Test [ OK ] NegativeStringSize.Test (0 ms) [----------] 1 test from NegativeStringSize (0 ms total) [----------] 1 test from WrongSubobjectSize [ RUN ] WrongSubobjectSize.Test [ OK ] WrongSubobjectSize.Test (0 ms) [----------] 1 test from WrongSubobjectSize (1 ms total) [----------] 1 test from WrongDbrefNsSize [ RUN ] WrongDbrefNsSize.Test [ OK ] WrongDbrefNsSize.Test (0 ms) [----------] 1 test from WrongDbrefNsSize (0 ms total) [----------] 1 test from NoFieldNameEnd [ RUN ] NoFieldNameEnd.Test [ OK ] NoFieldNameEnd.Test (0 ms) [----------] 1 test from NoFieldNameEnd (1 ms total) [----------] 1 test from BadRegex [ RUN ] BadRegex.Test [ OK ] BadRegex.Test (0 ms) [----------] 1 test from BadRegex (0 ms total) [----------] 1 test from BadRegexOptions [ RUN ] BadRegexOptions.Test [ OK ] BadRegexOptions.Test (0 ms) [----------] 1 test from BadRegexOptions (0 ms total) [----------] 1 test from CodeWScopeSmallSize [ RUN ] CodeWScopeSmallSize.Test [ OK ] CodeWScopeSmallSize.Test (0 ms) [----------] 1 test from CodeWScopeSmallSize (0 ms total) [----------] 1 test from CodeWScopeZeroStrSize [ RUN ] CodeWScopeZeroStrSize.Test [ OK ] CodeWScopeZeroStrSize.Test (0 ms) [----------] 1 test from CodeWScopeZeroStrSize (0 ms total) [----------] 1 test from CodeWScopeSmallStrSize [ RUN ] CodeWScopeSmallStrSize.Test [ OK ] CodeWScopeSmallStrSize.Test (0 ms) [----------] 1 test from CodeWScopeSmallStrSize (0 ms total) [----------] 1 test from CodeWScopeNoSizeForObj [ RUN ] CodeWScopeNoSizeForObj.Test [ OK ] CodeWScopeNoSizeForObj.Test (0 ms) [----------] 1 test from CodeWScopeNoSizeForObj (0 ms total) [----------] 1 test from CodeWScopeSmallObjSize [ RUN ] CodeWScopeSmallObjSize.Test [ OK ] CodeWScopeSmallObjSize.Test (0 ms) [----------] 1 test from CodeWScopeSmallObjSize (1 ms total) [----------] 1 test from CodeWScopeBadObject [ RUN ] CodeWScopeBadObject.Test [ OK ] CodeWScopeBadObject.Test (0 ms) [----------] 1 test from CodeWScopeBadObject (0 ms total) [----------] 8 tests from NoSize [ RUN ] NoSize.Symbol [ OK ] NoSize.Symbol (0 ms) [ RUN ] NoSize.Code [ OK ] NoSize.Code (0 ms) [ RUN ] NoSize.String [ OK ] NoSize.String (0 ms) [ RUN ] NoSize.CodeWScope [ OK ] NoSize.CodeWScope (0 ms) [ RUN ] NoSize.DBRef [ OK ] NoSize.DBRef (0 ms) [ RUN ] NoSize.Object [ OK ] NoSize.Object (0 ms) [ RUN ] NoSize.Array [ OK ] NoSize.Array (0 ms) [ RUN ] NoSize.BinData [ OK ] NoSize.BinData (0 ms) [----------] 8 tests from NoSize (3 ms total) [----------] 1 test from init1 [ RUN ] init1.Test [ OK ] init1.Test (0 ms) [----------] 1 test from init1 (0 ms total) [----------] 1 test from initParse1 [ RUN ] initParse1.Test [ OK ] initParse1.Test (0 ms) [----------] 1 test from initParse1 (1 ms total) [----------] 1 test from append [ RUN ] append.Test [ OK ] append.Test (0 ms) [----------] 1 test from append (0 ms total) [----------] 1 test from increasing [ RUN ] increasing.Test g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/atomic_word_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/platform/atomic_word_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 [ OK ] increasing.Test (1000 ms) [----------] 1 test from increasing (1001 ms total) [----------] 1 test from ToDate [ RUN ] ToDate.Test [ OK ] ToDate.Test (0 ms) [----------] 1 test from ToDate (1 ms total) [----------] 1 test from FromDate [ RUN ] FromDate.Test [ OK ] FromDate.Test (0 ms) [----------] 1 test from FromDate (0 ms total) [----------] 1 test from LabelBasic [ RUN ] LabelBasic.Test [ OK ] LabelBasic.Test (0 ms) [----------] 1 test from LabelBasic (0 ms total) [----------] 1 test from LabelShares [ RUN ] LabelShares.Test [ OK ] LabelShares.Test (0 ms) [----------] 1 test from LabelShares (0 ms total) [----------] 1 test from LabelDouble [ RUN ] LabelDouble.Test [ OK ] LabelDouble.Test (0 ms) [----------] 1 test from LabelDouble (0 ms total) [----------] 1 test from LabelDoubleShares [ RUN ] LabelDoubleShares.Test [ OK ] LabelDoubleShares.Test (0 ms) [----------] 1 test from LabelDoubleShares (0 ms total) [----------] 1 test from LabelSize [ RUN ] LabelSize.Test [ OK ] LabelSize.Test (0 ms) [----------] 1 test from LabelSize (0 ms total) [----------] 1 test from LabelMulti [ RUN ] LabelMulti.Test [ OK ] LabelMulti.Test (0 ms) [----------] 1 test from LabelMulti (0 ms total) [----------] 1 test from LabelishOr [ RUN ] LabelishOr.Test [ OK ] LabelishOr.Test (0 ms) [----------] 1 test from LabelishOr (0 ms total) [----------] 1 test from Unallowed [ RUN ] Unallowed.Test [ OK ] Unallowed.Test (1 ms) [----------] 1 test from Unallowed (1 ms total) [----------] 1 test from ElementAppend [ RUN ] ElementAppend.Test [ OK ] ElementAppend.Test (0 ms) [----------] 1 test from ElementAppend (0 ms total) [----------] 1 test from AllTypes [ RUN ] AllTypes.Test [ OK ] AllTypes.Test (0 ms) [----------] 1 test from AllTypes (1 ms total) [----------] 1 test from SubObjectBuilder [ RUN ] SubObjectBuilder.Test [ OK ] SubObjectBuilder.Test (0 ms) [----------] 1 test from SubObjectBuilder (0 ms total) [----------] 1 test from DateBuilder [ RUN ] DateBuilder.Test [ OK ] DateBuilder.Test (0 ms) [----------] 1 test from DateBuilder (0 ms total) [----------] 1 test from DateNowBuilder [ RUN ] DateNowBuilder.Test [ OK ] DateNowBuilder.Test (0 ms) [----------] 1 test from DateNowBuilder (0 ms total) [----------] 1 test from TimeTBuilder [ RUN ] TimeTBuilder.Test [ OK ] TimeTBuilder.Test (4 ms) [----------] 1 test from TimeTBuilder (4 ms total) [----------] 1 test from MinMaxKeyBuilder [ RUN ] MinMaxKeyBuilder.Test [ OK ] MinMaxKeyBuilder.Test (0 ms) [----------] 1 test from MinMaxKeyBuilder (1 ms total) [----------] 1 test from MinMaxElementTest [ RUN ] MinMaxElementTest.Test [ OK ] MinMaxElementTest.Test (0 ms) [----------] 1 test from MinMaxElementTest (0 ms total) [----------] 1 test from ExtractFieldsTest [ RUN ] ExtractFieldsTest.Test [ OK ] ExtractFieldsTest.Test (0 ms) [----------] 1 test from ExtractFieldsTest (0 ms total) [----------] 1 test from ComparatorTest [ RUN ] ComparatorTest.Test [ OK ] ComparatorTest.Test (0 ms) [----------] 1 test from ComparatorTest (0 ms total) [----------] 1 test from CompatBSON [ RUN ] CompatBSON.Test [ OK ] CompatBSON.Test (0 ms) [----------] 1 test from CompatBSON (0 ms total) [----------] 1 test from CompareDottedFieldNamesTest [ RUN ] CompareDottedFieldNamesTest.Test [ OK ] CompareDottedFieldNamesTest.Test (1 ms) [----------] 1 test from CompareDottedFieldNamesTest (1 ms total) [----------] 1 test from CompareDottedArrayFieldNamesTest [ RUN ] CompareDottedArrayFieldNamesTest.Test [ OK ] CompareDottedArrayFieldNamesTest.Test (0 ms) [----------] 1 test from CompareDottedArrayFieldNamesTest (0 ms total) [----------] 1 test from NestedDottedConversions [ RUN ] NestedDottedConversions.Test [ OK ] NestedDottedConversions.Test (0 ms) [----------] 1 test from NestedDottedConversions (0 ms total) [----------] 1 test from BSONArrayBuilderTest [ RUN ] BSONArrayBuilderTest.Test [ OK ] BSONArrayBuilderTest.Test (0 ms) [----------] 1 test from BSONArrayBuilderTest (1 ms total) [----------] 1 test from ArrayMacroTest [ RUN ] ArrayMacroTest.Test [ OK ] ArrayMacroTest.Test (0 ms) [----------] 1 test from ArrayMacroTest (0 ms total) [----------] 1 test from NumberParsing [ RUN ] NumberParsing.Test [ OK ] NumberParsing.Test (0 ms) [----------] 1 test from NumberParsing (1 ms total) [----------] 1 test from bson2settest [ RUN ] bson2settest.Test [ OK ] bson2settest.Test (44 ms) [----------] 1 test from bson2settest (44 ms total) [----------] 1 test from BSONArrayIteratorSorted [ RUN ] BSONArrayIteratorSorted.Test [ OK ] BSONArrayIteratorSorted.Test (0 ms) [----------] 1 test from BSONArrayIteratorSorted (0 ms total) [----------] 1 test from checkForStorageTests [ RUN ] checkForStorageTests.Test [ OK ] checkForStorageTests.Test (0 ms) [----------] 1 test from checkForStorageTests (1 ms total) [----------] 1 test from InvalidIDFind [ RUN ] InvalidIDFind.Test [ OK ] InvalidIDFind.Test (0 ms) [----------] 1 test from InvalidIDFind (0 ms total) [----------] 1 test from ElementSetTest [ RUN ] ElementSetTest.Test [ OK ] ElementSetTest.Test (0 ms) [----------] 1 test from ElementSetTest (0 ms total) [----------] 1 test from EmbeddedNumbers [ RUN ] EmbeddedNumbers.Test [ OK ] EmbeddedNumbers.Test (0 ms) [----------] 1 test from EmbeddedNumbers (0 ms total) [----------] 1 test from BuilderPartialItearte [ RUN ] BuilderPartialItearte.Test [ OK ] BuilderPartialItearte.Test (0 ms) [----------] 1 test from BuilderPartialItearte (0 ms total) [----------] 1 test from BSONForEachTest [ RUN ] BSONForEachTest.Test [ OK ] BSONForEachTest.Test (0 ms) [----------] 1 test from BSONForEachTest (0 ms total) [----------] 1 test from CompareOps [ RUN ] CompareOps.Test [ OK ] CompareOps.Test (0 ms) [----------] 1 test from CompareOps (0 ms total) [----------] 1 test from NestedBuilderOversize [ RUN ] NestedBuilderOversize.Test [ OK ] NestedBuilderOversize.Test (84 ms) [----------] 1 test from NestedBuilderOversize (84 ms total) [----------] Global test environment tear-down [==========] 92 tests from 85 test cases ran. (3225 ms total) [ PASSED ] 92 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/unittest/connection_string_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/unittest/connection_string_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/unittest/connection_string_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/dbtests/replica_set_monitor_test Note: Google Test filter = -SASL* [==========] Running 87 tests from 8 test cases. [----------] Global test environment set-up. [----------] 21 tests from ReplSetMonitorNode [ RUN ] ReplSetMonitorNode.SimpleGoodMatch [ OK ] ReplSetMonitorNode.SimpleGoodMatch (0 ms) [ RUN ] ReplSetMonitorNode.SimpleBadMatch [ OK ] ReplSetMonitorNode.SimpleBadMatch (0 ms) [ RUN ] ReplSetMonitorNode.ExactMatch [ OK ] ReplSetMonitorNode.ExactMatch (0 ms) [ RUN ] ReplSetMonitorNode.EmptyTag [ OK ] ReplSetMonitorNode.EmptyTag (0 ms) [ RUN ] ReplSetMonitorNode.MemberNoTagMatchesEmptyTag [ OK ] ReplSetMonitorNode.MemberNoTagMatchesEmptyTag (0 ms) [ RUN ] ReplSetMonitorNode.MemberNoTagDoesNotMatch [ OK ] ReplSetMonitorNode.MemberNoTagDoesNotMatch (0 ms) [ RUN ] ReplSetMonitorNode.IncompleteMatch [ OK ] ReplSetMonitorNode.IncompleteMatch (0 ms) [ RUN ] ReplSetMonitorNode.PartialMatch [ OK ] ReplSetMonitorNode.PartialMatch (0 ms) [ RUN ] ReplSetMonitorNode.SingleTagCrit [ OK ] ReplSetMonitorNode.SingleTagCrit (0 ms) [ RUN ] ReplSetMonitorNode.BadSingleTagCrit [ OK ] ReplSetMonitorNode.BadSingleTagCrit (0 ms) [ RUN ] ReplSetMonitorNode.NonExistingFieldTag [ OK ] ReplSetMonitorNode.NonExistingFieldTag (0 ms) [ RUN ] ReplSetMonitorNode.UnorederedMatching [ OK ] ReplSetMonitorNode.UnorederedMatching (0 ms) [ RUN ] ReplSetMonitorNode.SameValueDiffKey [ OK ] ReplSetMonitorNode.SameValueDiffKey (0 ms) [ RUN ] ReplSetMonitorNode.PriNodeCompatibleTag [ OK ] ReplSetMonitorNode.PriNodeCompatibleTag (0 ms) [ RUN ] ReplSetMonitorNode.SecNodeCompatibleTag [ OK ] ReplSetMonitorNode.SecNodeCompatibleTag (0 ms) [ RUN ] ReplSetMonitorNode.PriNodeNotCompatibleTag [ OK ] ReplSetMonitorNode.PriNodeNotCompatibleTag (0 ms) [ RUN ] ReplSetMonitorNode.SecNodeNotCompatibleTag [ OK ] ReplSetMonitorNode.SecNodeNotCompatibleTag (0 ms) [ RUN ] ReplSetMonitorNode.PriNodeCompatiblMultiTag [ OK ] ReplSetMonitorNode.PriNodeCompatiblMultiTag (0 ms) [ RUN ] ReplSetMonitorNode.SecNodeCompatibleMultiTag [ OK ] ReplSetMonitorNode.SecNodeCompatibleMultiTag (0 ms) [ RUN ] ReplSetMonitorNode.PriNodeNotCompatibleMultiTag [ OK ] ReplSetMonitorNode.PriNodeNotCompatibleMultiTag (0 ms) [ RUN ] ReplSetMonitorNode.SecNodeNotCompatibleMultiTag [ OK ] ReplSetMonitorNode.SecNodeNotCompatibleMultiTag (0 ms) [----------] 21 tests from ReplSetMonitorNode (0 ms total) [----------] 28 tests from ReplSetMonitorReadPref [ RUN ] ReplSetMonitorReadPref.PrimaryOnly [ OK ] ReplSetMonitorReadPref.PrimaryOnly (0 ms) [ RUN ] ReplSetMonitorReadPref.PrimaryOnlyPriNotOk [ OK ] ReplSetMonitorReadPref.PrimaryOnlyPriNotOk (0 ms) [ RUN ] ReplSetMonitorReadPref.PrimaryMissing [ OK ] ReplSetMonitorReadPref.PrimaryMissing (0 ms) [ RUN ] ReplSetMonitorReadPref.PriPrefWithPriOk [ OK ] ReplSetMonitorReadPref.PriPrefWithPriOk (1 ms) [ RUN ] ReplSetMonitorReadPref.PriPrefWithPriNotOk [ OK ] ReplSetMonitorReadPref.PriPrefWithPriNotOk (0 ms) [ RUN ] ReplSetMonitorReadPref.SecOnly [ OK ] ReplSetMonitorReadPref.SecOnly (0 ms) [ RUN ] ReplSetMonitorReadPref.SecOnlyOnlyPriOk [ OK ] ReplSetMonitorReadPref.SecOnlyOnlyPriOk (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPref [ OK ] ReplSetMonitorReadPref.SecPref (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefWithNoSecOk [ OK ] ReplSetMonitorReadPref.SecPrefWithNoSecOk (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefWithNoNodeOk [ OK ] ReplSetMonitorReadPref.SecPrefWithNoNodeOk (0 ms) [ RUN ] ReplSetMonitorReadPref.NearestAllLocal [ OK ] ReplSetMonitorReadPref.NearestAllLocal (0 ms) [ RUN ] ReplSetMonitorReadPref.NearestOneLocal [ OK ] ReplSetMonitorReadPref.NearestOneLocal (0 ms) [ RUN ] ReplSetMonitorReadPref.PriOnlyWithTagsNoMatch [ OK ] ReplSetMonitorReadPref.PriOnlyWithTagsNoMatch (0 ms) [ RUN ] ReplSetMonitorReadPref.PriPrefPriNotOkWithTags [ OK ] ReplSetMonitorReadPref.PriPrefPriNotOkWithTags (0 ms) [ RUN ] ReplSetMonitorReadPref.PriPrefPriOkWithTagsNoMatch [ OK ] ReplSetMonitorReadPref.PriPrefPriOkWithTagsNoMatch (0 ms) [ RUN ] ReplSetMonitorReadPref.PriPrefPriNotOkWithTagsNoMatch [ OK ] ReplSetMonitorReadPref.PriPrefPriNotOkWithTagsNoMatch (0 ms) [ RUN ] ReplSetMonitorReadPref.SecOnlyWithTags [ OK ] ReplSetMonitorReadPref.SecOnlyWithTags (0 ms) [ RUN ] ReplSetMonitorReadPref.SecOnlyWithTagsMatchOnlyPri [ OK ] ReplSetMonitorReadPref.SecOnlyWithTagsMatchOnlyPri (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefWithTags [ OK ] ReplSetMonitorReadPref.SecPrefWithTags (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefSecNotOkWithTags [ OK ] ReplSetMonitorReadPref.SecPrefSecNotOkWithTags (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefPriOkWithTagsNoMatch [ OK ] ReplSetMonitorReadPref.SecPrefPriOkWithTagsNoMatch (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefPriNotOkWithTagsNoMatch [ OK ] ReplSetMonitorReadPref.SecPrefPriNotOkWithTagsNoMatch (0 ms) [ RUN ] ReplSetMonitorReadPref.SecPrefPriOkWithSecNotMatchTag [ OK ] ReplSetMonitorReadPref.SecPrefPriOkWithSecNotMatchTag (0 ms) [ RUN ] ReplSetMonitorReadPref.NearestWithTags [ OK ] ReplSetMonitorReadPref.NearestWithTags (0 ms) [ RUN ] ReplSetMonitorReadPref.NearestWithTagsNoMatch [ OK ] ReplSetMonitorReadPref.NearestWithTagsNoMatch (0 ms) [ RUN ] ReplSetMonitorReadPref.MultiPriOnlyTag [ OK ] ReplSetMonitorReadPref.MultiPriOnlyTag (0 ms) [ RUN ] ReplSetMonitorReadPref.MultiPriOnlyPriNotOkTag [ OK ] ReplSetMonitorReadPref.MultiPriOnlyPriNotOkTag (0 ms) [ RUN ] ReplSetMonitorReadPref.PriPrefPriOk [ OK ] ReplSetMonitorReadPref.PriPrefPriOk (0 ms) [----------] 28 tests from ReplSetMonitorReadPref (1 ms total) [----------] 27 tests from MultiTags [ RUN ] MultiTags.MultiTagsMatchesFirst [ OK ] MultiTags.MultiTagsMatchesFirst (0 ms) [ RUN ] MultiTags.PriPrefPriNotOkMatchesFirstNotOk [ OK ] MultiTags.PriPrefPriNotOkMatchesFirstNotOk (0 ms) [ RUN ] MultiTags.PriPrefPriNotOkMatchesSecondTest [ OK ] MultiTags.PriPrefPriNotOkMatchesSecondTest (0 ms) [ RUN ] MultiTags.PriPrefPriNotOkMatchesSecondNotOkTest [ OK ] MultiTags.PriPrefPriNotOkMatchesSecondNotOkTest (0 ms) [ RUN ] MultiTags.PriPrefPriNotOkMatchesLastTest [ OK ] MultiTags.PriPrefPriNotOkMatchesLastTest (0 ms) [ RUN ] MultiTags.PriPrefPriNotOkMatchesLastNotOkTest [ OK ] MultiTags.PriPrefPriNotOkMatchesLastNotOkTest (0 ms) [ RUN ] MultiTags.SecOnlyMatchesFirstTest [ OK ] MultiTags.SecOnlyMatchesFirstTest (0 ms) [ RUN ] MultiTags.SecOnlyMatchesFirstNotOk [ OK ] MultiTags.SecOnlyMatchesFirstNotOk (0 ms) [ RUN ] MultiTags.SecOnlyMatchesSecond [ OK ] MultiTags.SecOnlyMatchesSecond (0 ms) [ RUN ] MultiTags.SecOnlyMatchesSecondNotOk [ OK ] MultiTags.SecOnlyMatchesSecondNotOk (0 ms) [ RUN ] MultiTags.SecOnlyMatchesLast [ OK ] MultiTags.SecOnlyMatchesLast (0 ms) [ RUN ] MultiTags.SecOnlyMatchesLastNotOk [ OK ] MultiTags.SecOnlyMatchesLastNotOk (0 ms) [ RUN ] MultiTags.SecOnlyMultiTagsWithPriMatch [ OK ] MultiTags.SecOnlyMultiTagsWithPriMatch (0 ms) [ RUN ] MultiTags.SecOnlyMultiTagsNoMatch [ OK ] MultiTags.SecOnlyMultiTagsNoMatch (0 ms) [ RUN ] MultiTags.SecPrefMatchesFirst [ OK ] MultiTags.SecPrefMatchesFirst (0 ms) [ RUN ] MultiTags.SecPrefMatchesFirstNotOk [ OK ] MultiTags.SecPrefMatchesFirstNotOk (0 ms) [ RUN ] MultiTags.SecPrefMatchesSecond [ OK ] MultiTags.SecPrefMatchesSecond (0 ms) [ RUN ] MultiTags.SecPrefMatchesSecondNotOk [ OK ] MultiTags.SecPrefMatchesSecondNotOk (0 ms) [ RUN ] MultiTags.SecPrefMatchesLast [ OK ] MultiTags.SecPrefMatchesLast (0 ms) [ RUN ] MultiTags.SecPrefMatchesLastNotOk [ OK ] MultiTags.SecPrefMatchesLastNotOk (0 ms) [ RUN ] MultiTags.SecPrefMultiTagsWithPriMatch [ OK ] MultiTags.SecPrefMultiTagsWithPriMatch (0 ms) [ RUN ] MultiTags.NearestMatchesFirst [ OK ] MultiTags.NearestMatchesFirst (0 ms) [ RUN ] MultiTags.NearestMatchesSecond [ OK ] MultiTags.NearestMatchesSecond (0 ms) [ RUN ] MultiTags.NearestMatchesSecondNotOk [ OK ] MultiTags.NearestMatchesSecondNotOk (0 ms) [ RUN ] MultiTags.NearestMatchesLast [ OK ] MultiTags.NearestMatchesLast (0 ms) [ RUN ] MultiTags.NeatestMatchesLastNotOk [ OK ] MultiTags.NeatestMatchesLastNotOk (0 ms) [ RUN ] MultiTags.NearestMultiTagsWithPriMatch [ OK ] MultiTags.NearestMultiTagsWithPriMatch (0 ms) [----------] 27 tests from MultiTags (7 ms total) [----------] 6 tests from MultiTagsXXX [ RUN ] MultiTagsXXX.PriPrefPriOkNoMatch [ OK ] MultiTagsXXX.PriPrefPriOkNoMatch (0 ms) [ RUN ] MultiTagsXXX.PriPrefPriNotOkNoMatch [ OK ] MultiTagsXXX.PriPrefPriNotOkNoMatch (0 ms) [ RUN ] MultiTagsXXX.SecPrefMultiTagsNoMatch [ OK ] MultiTagsXXX.SecPrefMultiTagsNoMatch (0 ms) [ RUN ] MultiTagsXXX.SecPrefMultiTagsNoMatchPriNotOk [ OK ] MultiTagsXXX.SecPrefMultiTagsNoMatchPriNotOk (0 ms) [ RUN ] MultiTagsXXX.NearestMatchesFirstNotOk [ OK ] MultiTagsXXX.NearestMatchesFirstNotOk (0 ms) [ RUN ] MultiTagsXXX.NearestMultiTagsNoMatch [ OK ] MultiTagsXXX.NearestMultiTagsNoMatch (0 ms) [----------] 6 tests from MultiTagsXXX (0 ms total) [----------] 1 test from TagSet [ RUN ] TagSet.DefaultConstructorMatchesAll [ OK ] TagSet.DefaultConstructorMatchesAll (0 ms) [----------] 1 test from TagSet (0 ms total) [----------] 1 test from ReplicaSetMonitorTest [ RUN ] ReplicaSetMonitorTest.SeedWithPriOnlySecDown [ OK ] ReplicaSetMonitorTest.SeedWithPriOnlySecDown (8 ms) [----------] 1 test from ReplicaSetMonitorTest (8 ms total) [----------] 1 test from ReplicaSetMonitorTestXXX [ RUN ] ReplicaSetMonitorTestXXX.PrimaryRemovedFromSetStress [ OK ] ReplicaSetMonitorTestXXX.PrimaryRemovedFromSetStress (14 ms) [----------] 1 test from ReplicaSetMonitorTestXXX (14 ms total) [----------] 2 tests from TwoNodeWithTags [ RUN ] TwoNodeWithTags.SecDownRetryNoTag [ OK ] TwoNodeWithTags.SecDownRetryNoTag (1 ms) [ RUN ] TwoNodeWithTags.SecDownRetryWithTag [ OK ] TwoNodeWithTags.SecDownRetryWithTag (7 ms) [----------] 2 tests from TwoNodeWithTags (8 ms total) [----------] Global test environment tear-down [==========] 87 tests from 8 test cases ran. (38 ms total) [ PASSED ] 87 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/unittest/query_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/unittest/query_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/unittest/query_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/endian_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/platform/endian_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/logger/log_test Note: Google Test filter = -SASL* [==========] Running 15 tests from 2 test cases. [----------] Global test environment set-up. [----------] 13 tests from LogTestUnadornedEncoder [ RUN ] LogTestUnadornedEncoder.logContext [ OK ] LogTestUnadornedEncoder.logContext (0 ms) [ RUN ] LogTestUnadornedEncoder.DetachAppender [ OK ] LogTestUnadornedEncoder.DetachAppender (0 ms) [ RUN ] LogTestUnadornedEncoder.LogstreamBuilderReentrance [ OK ] LogTestUnadornedEncoder.LogstreamBuilderReentrance (0 ms) [ RUN ] LogTestUnadornedEncoder.MongoLogMacroNoFileScopeLogComponent [ OK ] LogTestUnadornedEncoder.MongoLogMacroNoFileScopeLogComponent (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentSettingsMinimumLogSeverity [ OK ] LogTestUnadornedEncoder.LogComponentSettingsMinimumLogSeverity (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentSettingsShouldLogDefaultLogComponentOnly [ OK ] LogTestUnadornedEncoder.LogComponentSettingsShouldLogDefaultLogComponentOnly (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentSettingsShouldLogSingleComponent [ OK ] LogTestUnadornedEncoder.LogComponentSettingsShouldLogSingleComponent (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentSettingsShouldLogMultipleComponentsConfigured [ OK ] LogTestUnadornedEncoder.LogComponentSettingsShouldLogMultipleComponentsConfigured (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentHierarchy [ OK ] LogTestUnadornedEncoder.LogComponentHierarchy (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentDottedName [ OK ] LogTestUnadornedEncoder.LogComponentDottedName (0 ms) [ RUN ] LogTestUnadornedEncoder.LogComponentNameForLog [ OK ] LogTestUnadornedEncoder.LogComponentNameForLog (0 ms) [ RUN ] LogTestUnadornedEncoder.MessageEventDetailsEncoderLogSeverity [ OK ] LogTestUnadornedEncoder.MessageEventDetailsEncoderLogSeverity (1 ms) [ RUN ] LogTestUnadornedEncoder.MessageEventDetailsEncoderLogComponent [ OK ] LogTestUnadornedEncoder.MessageEventDetailsEncoderLogComponent (0 ms) [----------] 13 tests from LogTestUnadornedEncoder (1 ms total) [----------] 2 tests from LogTestDetailsEncoder [ RUN ] LogTestDetailsEncoder. [ OK ] LogTestDetailsEncoder. (0 ms) [ RUN ] LogTestDetailsEncoder.LogFunctions [ OK ] LogTestDetailsEncoder.LogFunctions (0 ms) [----------] 2 tests from LogTestDetailsEncoder (0 ms total) [----------] Global test environment tear-down [==========] 15 tests from 2 test cases ran. (1 ms total) [ PASSED ] 15 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/mongoutils/str_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/mongoutils/str_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/util/mongoutils/str_test.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/platform/random_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/platform/random_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/platform/atomic_word_test Note: Google Test filter = -SASL* [==========] Running 4 tests from 1 test case. [----------] Global test environment set-up. [----------] 4 tests from AtomicWordTests [ RUN ] AtomicWordTests.BasicOperationsUnsigned32Bit [ OK ] AtomicWordTests.BasicOperationsUnsigned32Bit (0 ms) [ RUN ] AtomicWordTests.BasicOperationsUnsigned64Bit [ OK ] AtomicWordTests.BasicOperationsUnsigned64Bit (0 ms) [ RUN ] AtomicWordTests.BasicOperationsSigned32Bit [ OK ] AtomicWordTests.BasicOperationsSigned32Bit (0 ms) [ RUN ] AtomicWordTests.BasicOperationsSigned64Bit [ OK ] AtomicWordTests.BasicOperationsSigned64Bit (0 ms) [----------] 4 tests from AtomicWordTests (0 ms total) [----------] Global test environment tear-down [==========] 4 tests from 1 test case ran. (0 ms total) [ PASSED ] 4 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/hostandport_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/iosfwd:38, from src/mongo/util/net/hostandport.h:18, from src/mongo/util/net/hostandport_test.cpp:15: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/platform/endian_test Note: Google Test filter = -SASL* [==========] Running 35 tests from 1 test case. [----------] Global test environment set-up. [----------] 35 tests from EndianTest [ RUN ] EndianTest.TestSlow16 [ OK ] EndianTest.TestSlow16 (0 ms) [ RUN ] EndianTest.TestSlow32 [ OK ] EndianTest.TestSlow32 (0 ms) [ RUN ] EndianTest.TestSlow64 [ OK ] EndianTest.TestSlow64 (0 ms) [ RUN ] EndianTest.NativeToBig_uint16_t [ OK ] EndianTest.NativeToBig_uint16_t (0 ms) [ RUN ] EndianTest.NativeToBig_uint32_t [ OK ] EndianTest.NativeToBig_uint32_t (0 ms) [ RUN ] EndianTest.NativeToBig_uint64_t [ OK ] EndianTest.NativeToBig_uint64_t (0 ms) [ RUN ] EndianTest.NativeToBig_int16_t [ OK ] EndianTest.NativeToBig_int16_t (0 ms) [ RUN ] EndianTest.NativeToBig_int32_t [ OK ] EndianTest.NativeToBig_int32_t (0 ms) [ RUN ] EndianTest.NativeToBig_int64_t [ OK ] EndianTest.NativeToBig_int64_t (0 ms) [ RUN ] EndianTest.NativeToBig_float [ OK ] EndianTest.NativeToBig_float (0 ms) [ RUN ] EndianTest.NativeToBig_double [ OK ] EndianTest.NativeToBig_double (0 ms) [ RUN ] EndianTest.NativeToLittle_uint16_t [ OK ] EndianTest.NativeToLittle_uint16_t (0 ms) [ RUN ] EndianTest.NativeToLittle_uint32_t [ OK ] EndianTest.NativeToLittle_uint32_t (0 ms) [ RUN ] EndianTest.NativeToLittle_uint64_t [ OK ] EndianTest.NativeToLittle_uint64_t (0 ms) [ RUN ] EndianTest.NativeToLittle_int16_t [ OK ] EndianTest.NativeToLittle_int16_t (0 ms) [ RUN ] EndianTest.NativeToLittle_int32_t [ OK ] EndianTest.NativeToLittle_int32_t (0 ms) [ RUN ] EndianTest.NativeToLittle_int64_t [ OK ] EndianTest.NativeToLittle_int64_t (0 ms) [ RUN ] EndianTest.NativeToLittle_float [ OK ] EndianTest.NativeToLittle_float (0 ms) [ RUN ] EndianTest.NativeToLittle_double [ OK ] EndianTest.NativeToLittle_double (0 ms) [ RUN ] EndianTest.LittleToNative_uint16_t [ OK ] EndianTest.LittleToNative_uint16_t (0 ms) [ RUN ] EndianTest.LittleToNative_uint32_t [ OK ] EndianTest.LittleToNative_uint32_t (0 ms) [ RUN ] EndianTest.LittleToNative_uint64_t [ OK ] EndianTest.LittleToNative_uint64_t (0 ms) [ RUN ] EndianTest.LittleToNative_int16_t [ OK ] EndianTest.LittleToNative_int16_t (0 ms) [ RUN ] EndianTest.LittleToNative_int32_t [ OK ] EndianTest.LittleToNative_int32_t (0 ms) [ RUN ] EndianTest.LittleToNative_int64_t [ OK ] EndianTest.LittleToNative_int64_t (0 ms) [ RUN ] EndianTest.LittleToNative_float [ OK ] EndianTest.LittleToNative_float (0 ms) [ RUN ] EndianTest.LittleToNative_double [ OK ] EndianTest.LittleToNative_double (0 ms) [ RUN ] EndianTest.BigToNative_uint16_t [ OK ] EndianTest.BigToNative_uint16_t (0 ms) [ RUN ] EndianTest.BigToNative_uint32_t [ OK ] EndianTest.BigToNative_uint32_t (0 ms) [ RUN ] EndianTest.BigToNative_uint64_t [ OK ] EndianTest.BigToNative_uint64_t (0 ms) [ RUN ] EndianTest.BigToNative_int16_t [ OK ] EndianTest.BigToNative_int16_t (0 ms) [ RUN ] EndianTest.BigToNative_int32_t [ OK ] EndianTest.BigToNative_int32_t (0 ms) [ RUN ] EndianTest.BigToNative_int64_t [ OK ] EndianTest.BigToNative_int64_t (0 ms) [ RUN ] EndianTest.BigToNative_float [ OK ] EndianTest.BigToNative_float (0 ms) [ RUN ] EndianTest.BigToNative_double [ OK ] EndianTest.BigToNative_double (0 ms) [----------] 35 tests from EndianTest (0 ms total) [----------] Global test environment tear-down [==========] 35 tests from 1 test case ran. (0 ms total) [ PASSED ] 35 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/net/sock_test.cpp In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:28, from src/mongo/util/net/sock.h:22, from src/mongo/util/net/sock_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/mongoutils/str_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/util/mongoutils/str_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/unittest/connection_string_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/unittest/connection_string_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/platform/random_test Note: Google Test filter = -SASL* [==========] Running 12 tests from 1 test case. [----------] Global test environment set-up. [----------] 12 tests from RandomTest [ RUN ] RandomTest.Seed1 [ OK ] RandomTest.Seed1 (0 ms) [ RUN ] RandomTest.Seed2 [ OK ] RandomTest.Seed2 (0 ms) [ RUN ] RandomTest.Seed3 [ OK ] RandomTest.Seed3 (0 ms) [ RUN ] RandomTest.Seed4 [ OK ] RandomTest.Seed4 (0 ms) [ RUN ] RandomTest.Seed5 [ OK ] RandomTest.Seed5 (0 ms) [ RUN ] RandomTest.R1 [ OK ] RandomTest.R1 (0 ms) [ RUN ] RandomTest.R2 [ OK ] RandomTest.R2 (0 ms) [ RUN ] RandomTest.NextInt32SanityCheck [ OK ] RandomTest.NextInt32SanityCheck (1 ms) [ RUN ] RandomTest.NextInt64SanityCheck [ OK ] RandomTest.NextInt64SanityCheck (13 ms) [ RUN ] RandomTest.NextInt32InRange [ OK ] RandomTest.NextInt32InRange (1 ms) [ RUN ] RandomTest.NextInt64InRange [ OK ] RandomTest.NextInt64InRange (0 ms) [ RUN ] RandomTest.Secure1 [ OK ] RandomTest.Secure1 (0 ms) [----------] 12 tests from RandomTest (15 ms total) [----------] Global test environment tear-down [==========] 12 tests from 1 test case ran. (15 ms total) [ PASSED ] 12 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/string_map_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/string_map_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/util/string_map_test.cpp:20: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/util/mongoutils/str_test Note: Google Test filter = -SASL* [==========] Running 7 tests from 1 test case. [----------] Global test environment set-up. [----------] 7 tests from StripTrailingTests [ RUN ] StripTrailingTests.RemoveFromHead [ OK ] StripTrailingTests.RemoveFromHead (0 ms) [ RUN ] StripTrailingTests.RemoveFromTail [ OK ] StripTrailingTests.RemoveFromTail (0 ms) [ RUN ] StripTrailingTests.RemoveSpaces [ OK ] StripTrailingTests.RemoveSpaces (0 ms) [ RUN ] StripTrailingTests.RemoveFromMiddle [ OK ] StripTrailingTests.RemoveFromMiddle (0 ms) [ RUN ] StripTrailingTests.RemoveFromEmpty [ OK ] StripTrailingTests.RemoveFromEmpty (0 ms) [ RUN ] StripTrailingTests.RemoveEmpty [ OK ] StripTrailingTests.RemoveEmpty (0 ms) [ RUN ] StripTrailingTests.RemoveBringsEmptyResult [ OK ] StripTrailingTests.RemoveBringsEmptyResult (0 ms) [----------] 7 tests from StripTrailingTests (0 ms total) [----------] Global test environment tear-down [==========] 7 tests from 1 test case ran. (0 ms total) [ PASSED ] 7 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/stringutils_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/limits:42, from src/third_party/gtest-1.7.0/include/gtest/gtest.h:54, from src/mongo/unittest/unittest.h:26, from src/mongo/util/stringutils_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/unittest/query_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/unittest/query_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/unittest/connection_string_test Note: Google Test filter = -SASL* [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from ConnectionString [ RUN ] ConnectionString.SameLogicalEndpoint [ OK ] ConnectionString.SameLogicalEndpoint (1 ms) [ RUN ] ConnectionString.TypeToString [ OK ] ConnectionString.TypeToString (0 ms) [----------] 2 tests from ConnectionString (1 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test case ran. (1 ms total) [ PASSED ] 2 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/util/time_support_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstdlib:41, from src/mongo/util/time_support_test.cpp:18: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/util/net/hostandport_test Note: Google Test filter = -SASL* [==========] Running 6 tests from 1 test case. [----------] Global test environment set-up. [----------] 6 tests from HostAndPort [ RUN ] HostAndPort.BasicLessThanComparison [ OK ] HostAndPort.BasicLessThanComparison (0 ms) [ RUN ] HostAndPort.BasicEquality [ OK ] HostAndPort.BasicEquality (0 ms) [ RUN ] HostAndPort.ImplicitPortSelection [ OK ] HostAndPort.ImplicitPortSelection (0 ms) [ RUN ] HostAndPort.ConstructorParsing [ OK ] HostAndPort.ConstructorParsing (1 ms) [ RUN ] HostAndPort.StaticParseFunction [ OK ] HostAndPort.StaticParseFunction (0 ms) [ RUN ] HostAndPort.RoundTripAbility [ OK ] HostAndPort.RoundTripAbility (0 ms) [----------] 6 tests from HostAndPort (1 ms total) [----------] Global test environment tear-down [==========] 6 tests from 1 test case ran. (1 ms total) [ PASSED ] 6 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_test.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -O0 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-missing-braces -DSTATIC_LIBMONGOCLIENT -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_THREAD_USES_DATETIME -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -Ibuild/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/include -Isrc/third_party/gtest-1.7.0/include -Ibuild/linux2/c++11_on/opt_off/ssl -Isrc -Ibuild/linux2/c++11_on/opt_off/ssl/mongo -Isrc/mongo src/mongo/crypto/crypto_test.cpp In file included from /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0, from /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494, from /usr/include/c++/7/cstddef:49, from src/mongo/crypto/crypto.h:19, from src/mongo/crypto/crypto_test.cpp:17: /usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/string_map_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/util/string_map_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/unittest/query_test Note: Google Test filter = -SASL* [==========] Running 12 tests from 1 test case. [----------] Global test environment set-up. [----------] 12 tests from QueryTest [ RUN ] QueryTest.Explain [ OK ] QueryTest.Explain (0 ms) [ RUN ] QueryTest.Snapshot [ OK ] QueryTest.Snapshot (0 ms) [ RUN ] QueryTest.Sort [ OK ] QueryTest.Sort (0 ms) [ RUN ] QueryTest.Hint [ OK ] QueryTest.Hint (0 ms) [ RUN ] QueryTest.MinKey [ OK ] QueryTest.MinKey (0 ms) [ RUN ] QueryTest.MaxKey [ OK ] QueryTest.MaxKey (0 ms) [ RUN ] QueryTest.ReadPreferencePrimary [ OK ] QueryTest.ReadPreferencePrimary (0 ms) [ RUN ] QueryTest.ReadPreferencePrimaryPreferred [ OK ] QueryTest.ReadPreferencePrimaryPreferred (0 ms) [ RUN ] QueryTest.ReadPreferenceSecondary [ OK ] QueryTest.ReadPreferenceSecondary (0 ms) [ RUN ] QueryTest.ReadPreferenceSecondaryPreferred [ OK ] QueryTest.ReadPreferenceSecondaryPreferred (0 ms) [ RUN ] QueryTest.ReadPreferenceNearest [ OK ] QueryTest.ReadPreferenceNearest (0 ms) [ RUN ] QueryTest.ReadPreferenceTagSets [ OK ] QueryTest.ReadPreferenceTagSets (0 ms) [----------] 12 tests from QueryTest (0 ms total) [----------] Global test environment tear-down [==========] 12 tests from 1 test case ran. (0 ms total) [ PASSED ] 12 tests. src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_TimeTAsISO8601Zulu_Test::TestBody()': src/mongo/util/time_support_test.cpp:52:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_DateAsISO8601UTCString_Test::TestBody()': src/mongo/util/time_support_test.cpp:61:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_DateAsISO8601LocalString_Test::TestBody()': src/mongo/util/time_support_test.cpp:72:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_DateAsCtimeString_Test::TestBody()': src/mongo/util/time_support_test.cpp:83:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_DateAsISO8601UTCStream_Test::TestBody()': src/mongo/util/time_support_test.cpp:101:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_DateAsISO8601LocalStream_Test::TestBody()': src/mongo/util/time_support_test.cpp:113:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ src/mongo/util/time_support_test.cpp: In member function 'virtual void mongo::{anonymous}::TimeFormatting_DateAsCtimeStream_Test::TestBody()': src/mongo/util/time_support_test.cpp:125:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!isTimeTSmall) ^ g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/util/string_map_test Note: Google Test filter = -SASL* [==========] Running 12 tests from 1 test case. [----------] Global test environment set-up. [----------] 12 tests from StringMapTest [ RUN ] StringMapTest.Hash1 [ OK ] StringMapTest.Hash1 (0 ms) [ RUN ] StringMapTest.Equals1 [ OK ] StringMapTest.Equals1 (0 ms) [ RUN ] StringMapTest.Basic1 [ OK ] StringMapTest.Basic1 (0 ms) [ RUN ] StringMapTest.Big1 [ OK ] StringMapTest.Big1 (20 ms) [ RUN ] StringMapTest.find1 [ OK ] StringMapTest.find1 (0 ms) [ RUN ] StringMapTest.Erase1 [ OK ] StringMapTest.Erase1 (12 ms) [ RUN ] StringMapTest.Erase2 [ OK ] StringMapTest.Erase2 (0 ms) [ RUN ] StringMapTest.Iterator1 [ OK ] StringMapTest.Iterator1 (0 ms) [ RUN ] StringMapTest.Iterator2 [ OK ] StringMapTest.Iterator2 (0 ms) [ RUN ] StringMapTest.Iterator3 [ OK ] StringMapTest.Iterator3 (0 ms) [ RUN ] StringMapTest.Copy1 [ OK ] StringMapTest.Copy1 (0 ms) [ RUN ] StringMapTest.Assign [ OK ] StringMapTest.Assign (0 ms) [----------] 12 tests from StringMapTest (33 ms total) [----------] Global test environment tear-down [==========] 12 tests from 1 test case ran. (33 ms total) [ PASSED ] 12 tests. /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/util/stringutils_test Note: Google Test filter = -SASL* [==========] Running 6 tests from 3 test cases. [----------] Global test environment set-up. [----------] 1 test from Comparison [ RUN ] Comparison.Basic [ OK ] Comparison.Basic (0 ms) [----------] 1 test from Comparison (0 ms total) [----------] 4 tests from LexNumCmp [ RUN ] LexNumCmp.Simple1 [ OK ] LexNumCmp.Simple1 (0 ms) [ RUN ] LexNumCmp.Simple2 [ OK ] LexNumCmp.Simple2 (0 ms) [ RUN ] LexNumCmp.LexOnly [ OK ] LexNumCmp.LexOnly (0 ms) [ RUN ] LexNumCmp.Substring1 [ OK ] LexNumCmp.Substring1 (0 ms) [----------] 4 tests from LexNumCmp (0 ms total) [----------] 1 test from IntegerToHex [ RUN ] IntegerToHex.VariousConversions [ OK ] IntegerToHex.VariousConversions (0 ms) [----------] 1 test from IntegerToHex (0 ms total) [----------] Global test environment tear-down [==========] 6 tests from 3 test cases ran. (0 ms total) [ PASSED ] 6 tests. /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/crypto/crypto_test Note: Google Test filter = -SASL* [==========] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from CryptoVectors [ RUN ] CryptoVectors.SHA1 [ OK ] CryptoVectors.SHA1 (0 ms) [ RUN ] CryptoVectors.HMACSHA1 [ OK ] CryptoVectors.HMACSHA1 (0 ms) [----------] 2 tests from CryptoVectors (2 ms total) [----------] Global test environment tear-down [==========] 2 tests from 1 test case ran. (3 ms total) [ PASSED ] 2 tests. /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/util/net/sock_test Note: Google Test filter = -SASL* [==========] Running 6 tests from 1 test case. [----------] Global test environment set-up. [----------] 6 tests from SocketFailPointTest [ RUN ] SocketFailPointTest.TestSend [ OK ] SocketFailPointTest.TestSend (0 ms) [ RUN ] SocketFailPointTest.TestSendVector [ OK ] SocketFailPointTest.TestSendVector (0 ms) [ RUN ] SocketFailPointTest.TestRecv [ OK ] SocketFailPointTest.TestRecv (0 ms) [ RUN ] SocketFailPointTest.TestFailedSendsDontSend [ OK ] SocketFailPointTest.TestFailedSendsDontSend (0 ms) [ RUN ] SocketFailPointTest.TestFailedVectorSendsDontSend [ OK ] SocketFailPointTest.TestFailedVectorSendsDontSend (0 ms) [ RUN ] SocketFailPointTest.TestFailedRecvsDontRecv [ OK ] SocketFailPointTest.TestFailedRecvsDontRecv (0 ms) [----------] 6 tests from SocketFailPointTest (0 ms total) [----------] Global test environment tear-down [==========] 6 tests from 1 test case ran. (0 ms total) [ PASSED ] 6 tests. g++ -o build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support_test -fPIC -Wl,-z,now -rdynamic -pthread build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support_test.o -L/usr/lib64 -L/lib64 build/linux2/c++11_on/opt_off/ssl/mongo/libunit_test_main.a build/linux2/c++11_on/opt_off/ssl/mongo/libmocklib.a build/linux2/c++11_on/opt_off/ssl/third_party/gtest-1.7.0/libgtest.a build/linux2/c++11_on/opt_off/ssl/libmongoclient.a -lm -lpthread -lssl -lcrypto -lboost_regex -lboost_thread -lboost_system -lrt -lsasl2 /builddir/build/BUILD/mongo-cxx-driver-legacy-1.1.2/build/linux2/c++11_on/opt_off/ssl/mongo/util/time_support_test Note: Google Test filter = -SASL* [==========] Running 11 tests from 2 test cases. [----------] Global test environment set-up. [----------] 7 tests from TimeFormatting [ RUN ] TimeFormatting.TimeTAsISO8601Zulu [ OK ] TimeFormatting.TimeTAsISO8601Zulu (0 ms) [ RUN ] TimeFormatting.DateAsISO8601UTCString [ OK ] TimeFormatting.DateAsISO8601UTCString (0 ms) [ RUN ] TimeFormatting.DateAsISO8601LocalString [ OK ] TimeFormatting.DateAsISO8601LocalString (0 ms) [ RUN ] TimeFormatting.DateAsCtimeString [ OK ] TimeFormatting.DateAsCtimeString (0 ms) [ RUN ] TimeFormatting.DateAsISO8601UTCStream [ OK ] TimeFormatting.DateAsISO8601UTCStream (0 ms) [ RUN ] TimeFormatting.DateAsISO8601LocalStream [ OK ] TimeFormatting.DateAsISO8601LocalStream (0 ms) [ RUN ] TimeFormatting.DateAsCtimeStream [ OK ] TimeFormatting.DateAsCtimeStream (0 ms) [----------] 7 tests from TimeFormatting (0 ms total) [----------] 4 tests from TimeParsing [ RUN ] TimeParsing.DateAsISO8601UTC [ OK ] TimeParsing.DateAsISO8601UTC (0 ms) [ RUN ] TimeParsing.DateAsISO8601Local [ OK ] TimeParsing.DateAsISO8601Local (0 ms) [ RUN ] TimeParsing.InvalidDates [ OK ] TimeParsing.InvalidDates (0 ms) [ RUN ] TimeParsing.LeapYears [ OK ] TimeParsing.LeapYears (1 ms) [----------] 4 tests from TimeParsing (1 ms total) [----------] Global test environment tear-down [==========] 11 tests from 2 test cases ran. (1 ms total) [ PASSED ] 11 tests. scons: done building targets. + exit 0 Processing files: mongo-cxx-driver-1.1.2-6.fc26.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FSTu6p + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-legacy-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/share/doc/mongo-cxx-driver + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/share/doc/mongo-cxx-driver + cp -pr README.md /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/share/doc/mongo-cxx-driver + cp -pr APACHE-2.0.txt /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64/usr/share/doc/mongo-cxx-driver + exit 0 Provides: libmongoclient.so.1()(64bit) libmongodb = 2.6.0-6.fc26 libmongodb(x86-64) = 2.6.0-6.fc26 mongo-cxx-driver = 1.1.2-6.fc26 mongo-cxx-driver(x86-64) = 1.1.2-6.fc26 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libboost_regex.so.1.63.0()(64bit) libboost_system.so.1.63.0()(64bit) libboost_thread.so.1.63.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(OPENSSL_1.0.2)(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libsasl2.so.3()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(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.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Obsoletes: libmongodb <= 2.4.9-8 Processing files: mongo-cxx-driver-devel-1.1.2-6.fc26.x86_64 Provides: libmongodb-devel = 2.6.0-6.fc26 libmongodb-devel(x86-64) = 2.6.0-6.fc26 mongo-cxx-driver-devel = 1.1.2-6.fc26 mongo-cxx-driver-devel(x86-64) = 1.1.2-6.fc26 mongodb-devel = 2.6.0-6.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libmongoclient.so.1()(64bit) Obsoletes: libmongodb-devel <= 2.4.9-8 mongodb-devel < 2.4 Processing files: mongo-cxx-driver-debuginfo-1.1.2-6.fc26.x86_64 Provides: mongo-cxx-driver-debuginfo = 1.1.2-6.fc26 mongo-cxx-driver-debuginfo(x86-64) = 1.1.2-6.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64 Wrote: /builddir/build/RPMS/mongo-cxx-driver-1.1.2-6.fc26.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-devel-1.1.2-6.fc26.x86_64.rpm Wrote: /builddir/build/RPMS/mongo-cxx-driver-debuginfo-1.1.2-6.fc26.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.J8G9kF + umask 022 + cd /builddir/build/BUILD + cd mongo-cxx-driver-legacy-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mongo-cxx-driver-1.1.2-6.fc26.x86_64 + exit 0 Child return code was: 0