(*) This is actually running on i686-pc-linux-gnu, in a chroot which (with the help of Wine) masquerades as i686-pc-mingw32 so most packages can be compiled "natively" (cross support in general is weak, cross support to w32 even weaker).
/bin/bash ../libtool --tag=CC --mode=compile i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -g -O2 -c -o msgl-english.lo msgl-english.c i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-english.c -DDLL_EXPORT -DPIC -o .libs/msgl-english.o i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-english.c -o msgl-english.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=compile i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -g -O2 -c -o msgl-check.lo msgl-check.c i686-pc-mingw32-gcc -std=gnu99 -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -g -O2 -c msgl-check.c -DDLL_EXPORT -DPIC -o .libs/msgl-check.o msgl-check.c: In function 'plural_help': msgl-check.c:199: error: unrecognizable insn: (insn 40 39 41 6 msgl-check.c:184 (set (reg:SI 76) (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl 0x402cd9f8 plural_table>) [0 S4 A8]) (const_int 4 [0x4])))) -1 (nil) (nil)) msgl-check.c:199: internal compiler error: in extract_insn, at recog.c:2077 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [msgl-check.lo] Error 1 make[4]: Leaving directory `/BUILD/gettext-0.17/gettext-tools/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/BUILD/gettext-0.17/gettext-tools/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/BUILD/gettext-0.17/gettext-tools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/BUILD/gettext-0.17/gettext-tools' make: *** [all-recursive] Error 1 [EMAIL PROTECTED]:~/.../CHROOT$ sudo chroot /home/kai/.../CHROOT/MINGW/chroot /bin/bash -c '. /mingw/local/bin/mwpathset.sh; cd /BUILD/gettext-0.17; i686-pc-mingw32-gcc -v' Using built-in specs. Target: i686-pc-mingw32 Configured with: /home/kai/.../CHROOT/MINGW/sources/gcc-4.2.2/configure --prefix=/home/kai/.../CHROOT/MINGW/Prefix --target=i686-pc-mingw32 --build=i686-pc-linux-gnu --with-gcc --with-gnu-as --with-gnu-ld --with-sysroot=/home/kai/.../CHROOT/MINGW/Sysroot --with-dwarf2 --enable-static --enable-shared --enable-languages=c,objc,c++ --disable-multilib --enable-threads --enable-tls Thread model: win32 gcc version 4.2.2 -- Summary: msgl-check.c:199: error: unrecognizable insn: Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kai-gcc-bugs at khms dot westfalen dot de GCC build triplet: i686-pc-linux-gnu GCC host triplet: (*) GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34625