msgl-check.c: In function 'plural_help': msgl-check.c:194: error: unrecognizable insn: (insn 41 40 42 4 msgl-check.c:179 (set (reg:SI 75) (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl 0xb7e11b58 plural_table>) [0 S4 A8]) (const_int 4 [0x4])))) -1 (nil) (nil)) msgl-check.c:194: internal compiler error: in extract_insn, at recog.c:2084 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I get this when I try to cross compile gettext for mingw from linux. It is being compiled with this command line. /crosstools/crosscc/bin/i686-pc-mingw32-gcc -DLOCALEDIR="/crosstools/crosscc/share/locale" -DBISON_LOCALEDIR="" -DLOCALE_ALIAS_PATH="/crosstools/crosscc/share/locale" -DUSEJEXE=1 -DGETTEXTJEXEDIR="/crosstools/crosscc/lib/gettext" -DGETTEXTJAR="/crosstools/crosscc/share/gettext/gettext.jar" -DLIBDIR="/crosstools/crosscc/lib" -DGETTEXTDATADIR="/crosstools/crosscc/share/gettext" -DPROJECTSDIR="/crosstools/crosscc/share/gettext/projects" -DHAVE_CONFIG_H -c -I. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/crosstools/crosscc/include -g -O2 msgl-check.c -o msgl-check.o This is the output for i686-pc-mingw32-gcc -v Using built-in specs. Target: i686-pc-mingw32 Configured with: ../gcc-4.1.2/configure --prefix=/crosstools/crosscc --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-mingw32 --enable-shared --enable-threads --disable-nls --enable-c99 --enable-long-long --disable-multilib --enable-languages=c,c++,java,objc,obj-c++,fortran --enable-libgcj --enable-boehm-gc --with-gcj --enable-sjlj-exceptions Thread model: win32 gcc version 4.1.2 -- Summary: ICE During Gettext Build Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arcangelpip at hotmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31275