On Wed, Jan 02, 2019 at 07:08:35PM +0100, Kamil Rytarowski wrote: > I've just submitted a request to Itanium C++ ABI team to make it > clearer how to handle the dlclose(3) + atexit(3) behavior.
Huh? Neither has anything to do with the C++ ABI. The use here is especially stupid since the setup of the atexit handler is from a global ctor, so it could as well just be a global dtor of the same object that calls the atexit handler... Joerg