When running the following: ../gcc/configure --target=x86_64-pc-mingw32 --prefix=/tmp/rt64/scripts/buildsystem/root --with-sysroot=/tmp/rt64/scripts/buildsystem/root --disable-nls --enable-languages=fortran
and make > /dev/null I receive the following output (tail only): ../../../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:179: warning: passing argument 1 of 'free' discards qualifiers from pointer target type ../../../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 600 599 601 35 ../../../gcc/libgfortran/generated/product_c4.c:321 (set (subreg:DI (reg:SC 303) 0) (reg:DI 388)) -1 (nil)) ../../../gcc/libgfortran/generated/product_c4.c:358: error: shared rtx (subreg:DI (reg:SC 303) 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 -- Summary: Building fortran fails with ICE on target=x86_64-pc- mingw32 Product: gcc Version: unknown Status: UNCONFIRMED Severity: major Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nightstrike at gmail dot com GCC build triplet: x86_64-unknown-linux GCC host triplet: x86_64-unknown-linux GCC target triplet: x86_64-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33530