https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There has to be an ordering issue of the calling of the deconstructors vs the ordering of the constructors. Maybe the problem is the `eh_gloabls init` priority is not set correctly to be first/last.