This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap broken because of missing intl routines


Zack - bootstrap on solaris2 was broken today because of missing intl
functions:

 > cc -g -DIN_GCC -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o
 > 	c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o
 > 	c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
 > 	c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o
 > 	c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o
 > 	c-pch.o libcpp.a main.o libbackend.a ../libiberty/libiberty.a
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libbackend.a(toplev.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libbackend.a(timevar.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libbackend.a(rtl-error.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libbackend.a(final.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libbackend.a(diagnostic.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libcpp.a(line-map.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libcpp.a(cpperror.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of libcpp.a(cppfiles.o)
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of c-incpath.o
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of c-format.o
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of c-opts.o
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of c-typeck.o
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of c-decl.o
 > ild: (undefined symbol) libintl_gettext -- referenced in the text segment of c-parse.o
 > ild: (undefined symbol) libintl_bindtextdomain -- referenced in the text segment of libbackend.a(intl.o)
 > ild: (undefined symbol) libintl_textdomain -- referenced in the text segment of libbackend.a(intl.o)
 > make[2]: *** [cc1] Error 5

The top level intl directory gets built, but as you can see above the
libintl.a library isn't linked with cc1.  The INTLLIBS and INTLDEPS
variables in gcc/Makefile get set to empty.

(An obvious work-around is to configure with --disable-nls)

This error may occur everywhere but perhaps is only noticeable on
systems that don't have intl in libc. (?)

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]