With the match-and-simply patch, Solaris 10 bootstrap is broken:
Undefined first referenced
symbol in file
libintl_bindtextdomain ../libcpp/libcpp.a(init.o)
libintl_dgettext ../libcpp/libcpp.a(errors.o)
ld: fatal: symbol referencing errors. No output written to build/genmatch
collect2: error: ld returned 1 exit status
make[3]: *** [build/genmatch] Error 1
It seems the following patch fixes this, at least a i386-pc-solaris2.10
bootstrap is in stage2 now.
Ok for mainline?
Rainer
2014-10-22 Rainer Orth <[email protected]>
* Makefile.in (build/genmatch(build_exeext)): Add $(LIBINTL) to
BUILD_LIBS.
Add $(LIBINTL_DEP) dependency.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2519,8 +2519,9 @@ genprog = $(genprogerr) check checksum c
# These programs need libs over and above what they get from the above list.
build/genautomata$(build_exeext) : BUILD_LIBS += -lm
-
-build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) \
+build/genmatch(build_exeext) : BUILD_LIBS += $(LIBINTL)
+
+build/genmatch$(build_exeext) : $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) \
$(BUILD_ERRORS) build/vec.o build/hash-table.o
# These programs are not linked with the MD reader.
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University