when compiling gettext at mingw32 (Linux ghost 2.6.22-gentoo-r5 #1 SMP Fri Sep 7 14:38:07 MSD 2007 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux) compilation fails. i686-mingw32-gcc (GCC) 4.2.0 (Gentoo 4.2.0 p1.4) Reproducible: Always Steps to Reproduce: 1. ./configure --host=i686-mingw32 --prefix=/usr/i686-mingw32/usr 2. loaded 'http://aur.archlinux.org/packages/mingw32-gettext/mingw32-gettext/gettext-0.16.1-build.patch' and applyed 3. make Actual Results: not compiled! Expected Results: must compiling... make[4]: Entering directory `/home/ghost99/sources/gtk/gettext-0.16.1/gettext-tools/src' /bin/sh ../libtool --tag=CC --mode=compile i686-mingw32-gcc -DLOCALEDIR=\"/usr/i686-mingw32/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/i686-mingw32/usr/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/i686-mingw32/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/i686-mingw32/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/i686-mingw32/usr/lib\" -DGETTEXTDATADIR=\"/usr/i686-mingw32/usr/share/gettext\" -DPROJECTSDIR=\"/usr/i686-mingw32/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/usr/i686-mingw32/usr/include -g -O2 -c -o msgl-check.lo msgl-check.c i686-mingw32-gcc -DLOCALEDIR=\"/usr/i686-mingw32/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/i686-mingw32/usr/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/i686-mingw32/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/i686-mingw32/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/i686-mingw32/usr/lib\" -DGETTEXTDATADIR=\"/usr/i686-mingw32/usr/share/gettext\" -DPROJECTSDIR=\"/usr/i686-mingw32/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/usr/i686-mingw32/usr/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:195: error: unrecognizable insn: (insn 40 39 41 6 msgl-check.c:180 (set (reg:SI 76) (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl 0x4024b9f8 plural_table>) [0 S4 A8]) (const_int 4 [0x4])))) -1 (nil) (nil)) msgl-check.c:195: internal compiler error: in extract_insn, at recog.c:2077 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/ccpopjlq.out file, please attach this to your bugreport. make[4]: *** [msgl-check.lo] Ошибка 1 make[4]: Leaving directory `/home/ghost99/sources/gtk/gettext-0.16.1/gettext-tools/src' make[3]: *** [all] Ошибка 2 make[3]: Leaving directory `/home/ghost99/sources/gtk/gettext-0.16.1/gettext-tools/src' make[2]: *** [all-recursive] Ошибка 1 make[2]: Leaving directory `/home/ghost99/sources/gtk/gettext-0.16.1/gettext-tools' make[1]: *** [all] Ошибка 2 make[1]: Leaving directory `/home/ghost99/sources/gtk/gettext-0.16.1/gettext-tools' make: *** [all-recursive] Ошибка 1 Preprocessed source stored into /tmp/ccpopjlq.out http://www.kazaupload.com/08ERH3IQLNS2/ccpopjlq.out
post the file as an attachment ... if it's too big, compress it
Created attachment 131499 [details] Preprocessed source of gettext-0.16.1/gettext-tools/src/msgl-check.c
Looks to be fixed with gcc-4.3.