[Bug c++/54601] AIX uses atexit which causes unloading of shared modules to break
hugo.koblmueller at dynatrace dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 10 15:57:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54601
--- Comment #14 from Hugo Koblmueller <hugo.koblmueller at dynatrace dot com> ---
David, which version does/will include these recent additions?
I recently encountered a crash on program exit in AIX 6.1, in a setup where I
used a static C++ objects inside functions within a shared library (accessed
via dlfcn interfaces & closed via dlclose), compiled with a gcc-4.6.3.
Having the gcc configure flag "--enable-__cxa_atexit" in place and working
(meaning cxa_atexit is present) shall fix this issue.
More information about the Gcc-bugs
mailing list