https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311
--- Comment #40 from anlauf at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #38) > At the moment unfortunately too busy to provide a smaller reproducer (which > also still has a small dependency on a dynamic library), I have just commented out the references to dlopen, dlclose, dlsym, dlerror in os_interface_sub.f90, removed the -ldl and can still reproduce the failure.