|
From: Earnie B. <ear...@ya...> - 2003-06-11 13:23:53
|
Chris Bishop wrote: > > make[2]: Entering directory `/home/kit/xmingw/binutils-2.13.90-20030111-1/intl' > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 intl-compat.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 bindtextdom.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 dcgettext.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 dgettext.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 gettext.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 finddomain.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 loadmsgcat.c > gcc -c -DLOCALEDIR=\"/opt/xmingw32/share/locale\" -DGNULOCALEDIR=\"/opt/xmingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/xmingw32/share/locale:.\" -DHAVE_CONFIG_H -I. -I. -s -O2 localealias.c > localealias.c:156:42: warning: unknown escape sequence '\M' > localealias.c:156:42: warning: unknown escape sequence '\o' > localealias.c:156:42: \x used with no following hex digits > localealias.c:156:42: warning: unknown escape sequence '\s' > localealias.c:156:42: warning: unknown escape sequence '\l' > make[2]: *** [localealias.o] Error 1 > > On examining localealias.c, it would appear that the problem is > related to the ":." at the end of aliaspath in > binutils-2.13.90-20030111-1/intl/Makefile. > > At least, removing the :. does fix this problem even if it isn't the > correct solution. > This is a result of translating variables with path lists within MSYS. The rule I use is that a path list must contain a \ directory separator and not a / directory separator. This causes the four warnings and one error and line 156 because when gcc sees LOCALE_ALIAS_PATH it has a value of "C:\MSYS\opt\xmingw32\share\locale:.". And gcc treats \ as translate the next character to an escape sequence. By removing :. the value is "C:/MSYS/opt/xmingw32/share/locale" and gcc likes this. > With this change (even if not totally appropriate), binutils build > seems to complete OK. > > I now execute: > cd binutils-2.13.90-20030111-1 && \ > make install > ../binutils-install.log 2>&1 > > This fails and the last few relevant lines of binutils-install.log > are: > > make[4]: Entering directory `/home/kit/xmingw/binutils-2.13.90-20030111-1/bfd/doc' > make[4]: Nothing to be done for `install-exec-am'. > make[4]: Nothing to be done for `install-data-am'. > make[4]: Leaving directory `/home/kit/xmingw/binutils-2.13.90-20030111-1/bfd/doc' > gcc -c -I.. -I./.. -I./../../include -I./../../intl -I../../intl -g -O2 ./chew.c > 0 [main] sh 1352 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump > make[3]: *** [chew.o] Segmentation fault (core dumped) > > The contents of sh.exe.stackdump are: > I think I've found this problem. I'll upload a snapshot shortly. Earnie. |