[build] Link genmatch with $(LIBINTL)

2014-10-22 Thread Rainer Orth
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:

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread Jakub Jelinek
On Wed, Oct 22, 2014 at 05:53:22PM +0200, Rainer Orth wrote: 2014-10-22 Rainer Orth r...@cebitec.uni-bielefeld.de * Makefile.in (build/genmatch(build_exeext)): Add $(LIBINTL) to Shouldn't that be build/genmatch$(build_exeext) , both in the ChangeLog and more importantly, in the patch?

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread David Edelsohn
I reported the same problem in a separate thread. On AIX it needs LIBINTL and LIBICONV. Index: Makefile.in === --- Makefile.in (revision 216542) +++ Makefile.in (working copy) @@ -2520,7 +2520,7 @@ # These programs need libs over

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread Joseph S. Myers
On Wed, 22 Oct 2014, Rainer Orth wrote: 2014-10-22 Rainer Orth r...@cebitec.uni-bielefeld.de * Makefile.in (build/genmatch(build_exeext)): Add $(LIBINTL) to BUILD_LIBS. Add $(LIBINTL_DEP) dependency. No, this doesn't look right. A program built for the build system

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread Richard Biener
On October 22, 2014 7:13:41 PM CEST, David Edelsohn dje@gmail.com wrote: I reported the same problem in a separate thread. On AIX it needs LIBINTL and LIBICONV. I wonder what ends up linking those with Linux? Or is all the features available from glibc? Fixed patch is OK. Thanks, Richard.

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread David Edelsohn
On Wed, Oct 22, 2014 at 1:31 PM, Richard Biener rguent...@suse.de wrote: On October 22, 2014 7:13:41 PM CEST, David Edelsohn dje@gmail.com wrote: I reported the same problem in a separate thread. On AIX it needs LIBINTL and LIBICONV. I wonder what ends up linking those with Linux? Or is

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread Richard Biener
On October 22, 2014 7:19:33 PM CEST, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 22 Oct 2014, Rainer Orth wrote: 2014-10-22 Rainer Orth r...@cebitec.uni-bielefeld.de * Makefile.in (build/genmatch(build_exeext)): Add $(LIBINTL) to BUILD_LIBS. Add $(LIBINTL_DEP)

Re: [build] Link genmatch with $(LIBINTL)

2014-10-22 Thread Joseph S. Myers
On Wed, 22 Oct 2014, Richard Biener wrote: On October 22, 2014 7:19:33 PM CEST, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 22 Oct 2014, Rainer Orth wrote: 2014-10-22 Rainer Orth r...@cebitec.uni-bielefeld.de * Makefile.in (build/genmatch(build_exeext)): Add