-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
None
-
Server Security
-
ALL
-
The files that make up the socket module make use of types like SSLManagerInterface and SSLConnectionInterface that are defined in the library ssl_manager module. However, the socket library doesn't link to the ssl_manager.
For static builds, this isn't a problem. And for a number of dynamic builds, we happen to get away with it. But not for all builds. In particular, for the "!{A,UB}SAN Enterprise Ubuntu 18.04 DEBUG" build with the "--link-model=dynamic" flag, we find that some tests (such as transport_test) fail to link, presumably because their link graph include socket but not ssl_manager.
The goal of this task is to clarify the relationship between these two modules, and to make changes to scons and do whatever code movement/refactoring is needed to get the "!{A,UB}SAN Enterprise Ubuntu 18.04 DEBUG" build with the "--link-model=dynamic" flag working.
Take a look atĀ SERVER-48736 to see an example of a similar issue involving the query_exec module and the index_access_methods module and how the issue was fixed.
It looks like this might be the last issue blockingĀ SERVER-48892 .
- duplicates
-
SERVER-48741 Merge socket and ssl_manager libraries
- Closed
- is depended on by
-
SERVER-48892 {A,UB}SAN builder should use --link-model=dynamic
- Closed