architecture
Weak Symbol Resolution
How runtime libraries resolve symbols with RTLD_GLOBAL.
Published May 30, 2026
Weak Symbols
Some runtime libraries contain weak fallback stubs that return default values.
Loading Order
With RTLD_GLOBAL, the first symbol loaded wins. Strong implementations must load before weak stubs.
The Fix
dict_runtime.so loads before list_runtime.so to prevent weak dict stubs from shadowing strong symbols.