#6793: Issues with __cxa_atexit --------------------------------+------------------------------ Reporter: kaliber | Owner: axeld Type: bug | Status: closed Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/Development Resolution: fixed | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: --------------------------------+------------------------------ Changes (by bonefish): * status: new => closed * resolution: => fixed Comment: That verifies my suspicion. `__cxa_finalize()` isn't called by `__do_global_dtors_aux()`. This is a compiler/tool chain problem. When using gcc/binutils the respective code seems to stem from `crtbegin.o`/`crtend.o`. If you're still mixing clang and parts of gcc/binutils, then you might incorrectly use those files, too. -- Ticket URL: <http://dev.haiku-os.org/ticket/6793#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.