For background, see Symbol visibility, exceptions, runtime error.
I have a collection of Linux DSO's that are entirely under my own control. I wish to share STL containers amongst them. I have experienced mysterious SIGSEGV problems that appear to relate to ODR violations that in turn result from non-visible symbols.
It may be that the only sane answer here is to either gather all this code into one big DSO, or to give up on sharing STL containers. However, the purpose of this question is to look for an alternative. if the underlying problem is the default visibility rule, is there an option to change the default visibility rule that would make this work? I don't care much about 'throw', just about container operations. Yes, I know that containers can throw, but I'm prepared to code defensively to avoid it.