public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 3.2: make bootstrap failed on Solaris 8 (2.8)
@ 2002-10-10 13:01 Paul Lew
  0 siblings, 0 replies; only message in thread
From: Paul Lew @ 2002-10-10 13:01 UTC (permalink / raw)
  To: gcc-help

Background Information:

    We have been using gcc-2.95.3 built on solaris 2.6 for our project
    on Solaris 2.[678].  There were no problems.

    Now we would like to upgrade to gcc-3.2.  We have a successfully
    built gcc-3.2 (built on solaris 2.6) which exhibits problem when
    running under solaris 2.8.  So we're trying to build gcc-3.2 on
    solaris 2.8 instead.

Problem Description:

    The 'make bootstrap' failed when linking cc1, some of the symbols
    are undefined:

	* libintl_bindtextdomain
	* libintl_gettext
	* libintl_textdomain

    We issued the same commands when build on solaris 2.6 but there
    were no such problem.

    If we added '--disable-nls' then this problem went away.  Later
    we also added '--with-libiconv-prefix=/auto/insbu-cnstools' in
    order to have gcc build to completion.

    So what's wrong with the nls part on solaris 2.8?

Commands Used:

    > mkdir ../gcc-3.2-solaris28
    > cd ../gcc-3.2-solaris28
    > ../gcc-3.2/configure --prefix=/auto/insbu-cnstools \
			   --with-local-prefix=/auto/insbu-cnstools \
			   --enable-version-specific-runtime-libs \
			   --enable-languages=c,c++,java
    > export CONFIG_SHELL=/bin/ksh
    > make bootstrap
    ...
    gcc-2.95.3 -DIN_GCC -g -W -Wall -Wwrite-strings
			-Wstrict-prototypes -Wmissing-prototypes
			-Wtraditional -pedantic -Wno-long-long
			-DHAVE_CONFIG_H  -o cc1 
			c-parse.o c-lang.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-format.o c-semantics.o c-objc-common.o
			libcpp.a  main.o libbackend.a ./intl/libintl.a
			../libiberty/libiberty.a
    Undefined                       first referenced
     symbol                             in file
    libintl_bindtextdomain              libbackend.a(intl.o)
    libintl_gettext                     c-parse.o
    libintl_textdomain                  libbackend.a(intl.o)
    ld: fatal: Symbol referencing errors. No output written to cc1


Environment Description:

    > uname -a
    SunOS cns-build4 5.8 Generic_108528-07 sun4u sparc

    > which ld
    /usr/ccs/bin/ld

    > gcc-2.95.3 -v
    Reading specs from
    /auto/insbu-cnstools/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
    gcc version 2.95.3 20010315 (release)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-10 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-10 13:01 gcc 3.2: make bootstrap failed on Solaris 8 (2.8) Paul Lew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).