Details
-
Bug
-
Resolution: Done
-
Major - P3
-
legacy-0.0-26compat-2.6.0-rc0
-
None
Description
The client lib requires that some MONGO_INITIALIZERS be run which live in translation units that are otherwise unnecessary for some output binaries. I.e. they exist in cpp files which resolve no symbols in a hypothetical, useful output binary.
In the case of the static archive build of the library, this means that clients must link with --whole-archive, or in the case of windows, that they cannot use the static archive at all.
Attachments
Issue Links
- related to
-
CXX-82 runGlobalInitializersOrDie returns BadValue when using C++ driver
-
- Closed
-