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-06 20:15:53 +0000 |
commit | 23a5160098996b401a1145504a7be356a3e6c8f1 (patch) | |
tree | 90eac0551c8987063812d6790424f1cb0ece7a4c /SConstruct | |
parent | 5eee2d71a04e027b6a27053e41df211b923bcf38 (diff) | |
download | mongo-23a5160098996b401a1145504a7be356a3e6c8f1.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.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 2b96f7a1e8c..e2516093ca4 100644 --- a/SConstruct +++ b/SConstruct @@ -3448,6 +3448,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", ] ) |