From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-id: <20010619074137.4732.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00768.html List-Id: >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 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: