OK, that's not a compiler/linker/loader bug at all. That is correct behaviour. I have seen many such static ctor/dtor DSO bugs on various Unixes before, but not Linux, at least not for ~10 years.
The real problem must be globals using other globals during their construction/destruction (again). That's what really needs fixing I think.
OK, that's not a compiler/ linker/ loader bug at all. That is correct behaviour. I have seen many such static ctor/dtor DSO bugs on various Unixes before, but not Linux, at least not for ~10 years.
The real problem must be globals using other globals during their construction/ destruction (again). That's what really needs fixing I think.