Stefan Teleman wrote: > > > Steve Clamage wrote: > >> Apache libstdcxx is different -- it must be built for single-threaded >> or MT use. >> >> Let's take the case where we provide only an MT version of the >> runtime library. >> >> I'm not clear on the consequences of linking code compiled without >> -DRE_ENTRANT with MT code. Is that always safe? If so, maybe the only >> issue would be performance. (We don't yet know whether performance is >> an issue.) > > We can force stdcxx into thinking it's always MT, even for those cases > where the user application hasn't passed -mt -D_REENTRANT to the > compiler (by secretly raising _RWSTD_REENTRANT in the internal > config.h file). > > In my view the only issues here is performance. I concur.
As far as releases prior to S10, I would vote that we don't bother to retrofit this further back than S10. -- Garrett > > --Stefan >