https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107500
--- Comment #30 from R. Diez <rdiez-2006 at rd10 dot de> --- I just hit a similar atexit problem with GCC 14.2, this time for immortal instances generic_category_instance and system_category_instance. See here for more information: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117630