I think Kai has a patch for this waiting for approval. In case he doesn't, does this look familiar to anyone? ../../../gcc/libssp/ssp.c: In function 'fail': ../../../gcc/libssp/ssp.c:109: warning: implicit declaration of function 'alloca' ../../../gcc/libssp/ssp.c:109: warning: incompatible implicit declaration of built-in function 'alloca' ../../../gcc/libssp/ssp.c: In function '__stack_chk_fail_local': ../../../gcc/libssp/ssp.c:177: warning: visibility attribute not supported in this configuration; ignored ../../../gcc/libssp/gets-chk.c: In function '__gets_chk': ../../../gcc/libssp/gets-chk.c:66: warning: implicit declaration of function 'alloca' ../../../gcc/libssp/gets-chk.c:66: warning: incompatible implicit declaration of built-in function 'alloca' libtool: link: warning: undefined symbols not allowed in x86_64-pc-mingw32 shared libraries ../../../gcc/libssp/ssp-local.c: In function '__stack_chk_fail_local': ../../../gcc/libssp/ssp-local.c:50: warning: visibility attribute not supported in this configuration; ignored libtool: link: warning: undefined symbols not allowed in x86_64-pc-mingw32 shared libraries libtool: link: warning: undefined symbols not allowed in x86_64-pc-mingw32 shared libraries ../../../gcc/libgfortran/runtime/backtrace.c:66: warning: 'local_strcasestr' defined but not used ../../../gcc/libgfortran/runtime/main.c: In function 'cleanup': ../../../gcc/libgfortran/runtime/main.c:175: warning: passing argument 1 of 'free' discards qualifiers from pointer target type ../../../gcc/libgfortran/runtime/select.c: In function 'select_string': ../../../gcc/libgfortran/runtime/select.c:56: warning: 'default_jump' may be used uninitialized in this function ../../../gcc/libgfortran/generated/product_c4.c: In function 'mproduct_c4': ../../../gcc/libgfortran/generated/product_c4.c:358: error: invalid rtl sharing found in the insn (insn 594 593 595 35 ../../../gcc/libgfortran/generated/product_c4.c:321 (set (subreg:DI (reg:SC 298) 0) (reg:DI 383)) -1 (nil)) ../../../gcc/libgfortran/generated/product_c4.c:358: error: shared rtx (subreg:DI (reg:SC 298) 0) ../../../gcc/libgfortran/generated/product_c4.c:358: internal compiler error: internal consistency failure Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[3]: *** [product_c4.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-target-libgfortran] Error 2 make: *** [all] Error 2 \nDone.