https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69929
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-02-24 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Related to/duplicate of pr47030? I get the ICE with 5.3.0 and trunk (6.0). With 4.8 and 4.9 I get pr69929.f90: In function 'system_get_procedure': pr69929.f90:76:0: warning: 'stdcall' attribute ignored [-Wattributes] cproc = c_get_procedure( handle, cname ) ^ pr69929.f90: In function 'system_load_library': pr69929.f90:55:0: warning: 'stdcall' attribute ignored [-Wattributes] handle = c_load_library( cname ) ^ Undefined symbols for architecture x86_64: "_GetProcAddress", referenced from: ___system_dynamic_libraries_MOD_system_get_procedure in cc0fEtL3.o "_LoadLibraryA", referenced from: ___system_dynamic_libraries_MOD_system_load_library in cc0fEtL3.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status