Weak Symbol Resolution

May 30, 2026 | 5 min read

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.