- My executable dynamically links two libraries (d1.so and d2.so).
- d1.so statically links to libstdc++.
- d2.so dynamically links to libstdc++.
Assuming d1.so is loaded first, which stdlib (dynamic or static) method will get called in following scenarios,
- d1.so makes a call to stdlib method.
- d2.so makes a call to stdlib method.
- Executable makes a call to stdlib method.
If both d1.so and d2.so are compiled by different compiler versions, can it cause problems in runtime due to mixing of stdlib?