diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2020-03-05 14:43:54 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-26 20:32:42 +0000 |
commit | 5514680bff53e8371b4db6a7a5cd73009530ab47 (patch) | |
tree | b9fff7fb94a979b2f53e9c7bcbbc669089d52918 /SConstruct | |
parent | d6d9a516635688bc11451bca1fbfbf86071a1920 (diff) | |
download | mongo-5514680bff53e8371b4db6a7a5cd73009530ab47.tar.gz |
SERVER-46008 Remove thread specific attributes feature from boost::log
Because we prefer to compile with BOOST_LOG_USE_COMPILER_TLS for performance reasons it is not safe to log during global shutdown because of the uses of thread_local.
We are not using this feature so we remove it instead of removing BOOST_LOG_USE_COMPILER_TLS and affecting the server.
The issue only affects unittests as we only do clean shutdown there.
(cherry picked from commit 23a5160098996b401a1145504a7be356a3e6c8f1)
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 16c2beb170f..2a6e86f0711 100644 --- a/SConstruct +++ b/SConstruct @@ -3456,6 +3456,7 @@ def doConfigure(myenv): "BOOST_ENABLE_ASSERT_DEBUG_HANDLER", "BOOST_LOG_NO_SHORTHAND_NAMES", "BOOST_LOG_USE_NATIVE_SYSLOG", + "BOOST_LOG_WITHOUT_THREAD_ATTR", "ABSL_FORCE_ALIGNED_ACCESS", ] ) |