https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108259
--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 54173 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54173&action=edit Make module registration constructors visible. The issue here was that the code translating these into "GCC" form was marking them as hidden. Fixing this solves the link problem and then triggers a different issue (to be reported at a later time)