This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bootstrap failure on Solaris7 in Intl code
- To: zack at codesourcery dot com
- Subject: Bootstrap failure on Solaris7 in Intl code
- From: Wolfgang Bangerth <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>
- Date: Mon, 5 Nov 2001 16:32:47 +0100 (MET)
- cc: gcc at gcc dot gnu dot org
Dear Zack,
I guess your patch
2001-10-31 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
...
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
...
breaks bootstrapping on my machine. The reason is that in aclocal.m4, we
now have
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
: ;
else
AC_MSG_RESULT(
[found msgfmt program is not GNU msgfmt; ignore it])
GMSGFMT=":"
fi
while in Makefile:
# Update files in $(srcdir) atomically.
.po.gmo:
test -d po || mkdir po
$(GMSGFMT) --statistics $< -o $@
$(SHELL) $(srcdir)/move-if-change $@ $(srcdir)/$@
On my machine, there's no suitable msgfmt program, so GMSGFMT==":", so the
second line in the make rule does not generate a sv.gmo file, so nothing
there to be moved in the last line, where make stops:
test -d po || mkdir po
: --statistics ../../gcc/gcc/po/sv.po -o po/sv.gmo
/bin/sh ../../gcc/gcc/move-if-change po/sv.gmo ../../gcc/gcc/po/sv.gmo
mv: po/sv.gmo: No such file or directory
make[2]: *** [po/sv.gmo] Error 1
make[2]: Leaving directory `/home/atlas2/wolf/var/gcc/gcc3.1/sun-bin/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/atlas2/wolf/var/gcc/gcc3.1/sun-bin/gcc'
make: *** [bootstrap] Error 2
Cheers
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: wolfgang.bangerth@iwr.uni-heidelberg.de
www: http://gaia.iwr.uni-heidelberg.de/~wolf