https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108183
--- Comment #16 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 54170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54170&action=edit Patch registration constructors This modifies the registration CTORs that are currently defined in C++ to be defined as 'extern "C"' and registered to be run at program load time. This is as described in comments #14 and 15.