We have a Flow-based programming platform which consists of a shared object per component. Each component is also intelligent enough to pull in OS specific libs (as is the case where we wrap the Iron webserver into a component that is able to setup an iron dependency, namely openssl).
We very quickly run out of TLS initial-exec variables and it feels like we’re hitting a brick wall. Could a TLS expert please comment on this, and/or provide better resources to study?
- recompile every OS dep passing in certain flags (whatever they might be), undesirable, but possible.
- recompile libc, although recent versions of libc do not have the DTV_SURPLUS variable to alter, besides we’d like to support hundreds possibly thousands of shared libs.
Advice is most appreciated