public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: steve@smc.vnet.net
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
Date: Tue, 19 Jun 2001 00:46:00 -0000	[thread overview]
Message-ID: <20010619074137.4732.qmail@sourceware.cygnus.com> (raw)

>Number:         3250
>Category:       bootstrap
>Synopsis:       gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 19 00:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Steve Christensen
>Release:        gcc 3.0
>Organization:
>Environment:
SPARCstation 10 system with Solaris 2.5.1
>Description:
gunzipped and untarred gcc-3.0.tar.gz

Using gcc-2.95.3 and /usr/ccs/bin/as and GNU make.

in gcc-3.0 ran mkdir objdir
cd objdir
../configure --disable-nls --disable-libgcj --enable-languages=c++,f77,objc
make bootstrap

after some time gives output

gcc  -DIN_GCC  -DSVR4  -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  \
  -DTARGET_NAME=\"sparc-sun-solaris2.5.1\" \
  -c ../../gcc/toplev.c
../../gcc/toplev.c: In function `main':
../../gcc/toplev.c:4655: warning: implicit declaration of function `setlocale'
../../gcc/toplev.c:4655: `LC_ALL' undeclared (first use in this function)
../../gcc/toplev.c:4655: (Each undeclared identifier is reported only once
../../gcc/toplev.c:4655: for each function it appears in.)
make[2]: *** [toplev.o] Error 1
make[2]: Leaving directory `/free3/SOURCES/S25/gcc-3.0/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/free3/SOURCES/S25/gcc-3.0/objdir/gcc'
make: *** [bootstrap] Error 2


and then quits.  Had no problem creating gcc-2.95.3 on
this exact same machine.
>How-To-Repeat:
Run the same commands as above.
>Fix:
If I go into the toplev.c file and add a

#include <locale.h>

the LC_ALL message goes away.  This has to be done
to several other files also.  Eventually, a missing
localedir message comes and I cannot figure that out.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-19  0:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-19  0:46 steve [this message]
2001-12-26 20:13 rodrigc
2002-01-04 19:46 Tom Tromey
2002-01-04 21:06 Craig Rodrigues
2002-01-18  8:06 Craig Rodrigues
2002-01-18  8:16 Craig Rodrigues
2002-02-17 18:30 rodrigc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010619074137.4732.qmail@sourceware.cygnus.com \
    --to=steve@smc.vnet.net \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).