[build] Link genmatch with $(LIBINTL)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Oct 22 15:56:00 GMT 2014


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  <ro@CeBiTec.Uni-Bielefeld.DE>

	* Makefile.in (build/genmatch(build_exeext)): Add $(LIBINTL) to
	BUILD_LIBS.
	Add $(LIBINTL_DEP) dependency.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gm.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141022/083d6339/attachment.bin>
-------------- next part --------------

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Gcc-patches mailing list