Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193234 - [4.2/ICE] using i686-mingw32 to build gettext-0.16.1 fails
Summary: [4.2/ICE] using i686-mingw32 to build gettext-0.16.1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 19:12 UTC by Dmitry
Modified: 2009-05-02 02:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source of gettext-0.16.1/gettext-tools/src/msgl-check.c (ccpopjlq.out,70.98 KB, text/plain)
2007-09-21 09:20 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2007-09-20 19:12:01 UTC
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
Comment 1 SpanKY gentoo-dev 2007-09-21 00:44:22 UTC
post the file as an attachment ... if it's too big, compress it
Comment 2 Dmitry 2007-09-21 09:20:55 UTC
Created attachment 131499 [details]
Preprocessed source of gettext-0.16.1/gettext-tools/src/msgl-check.c
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2009-05-02 02:39:24 UTC
Looks to be fixed with gcc-4.3.