https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78737
--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I am not sure what you are expecting. The module has an empty main program and nothing allocated to link to.. Since the interface is abstract it creates nothing until it is used I think. $ gfc pr78737.f03 /tmp/ccBH9og7.o: In function `__object_interface_MOD_assert': pr78737.f03:(.text+0x59): undefined reference to `write_formatted_interface_' collect2: error: ld returned 1 exit status $ gfc -c pr78737.f03 $