public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2001-12-26 20:13 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2001-12-26 20:13 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, steve, tromey, rodrigc
Synopsis: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Wed Dec 26 20:13:07 2001
State-Changed-Why:
According to:
http://gcc.gnu.org/gcc-3.0/buildstat.html
we have successful build reports of gcc 3.0 on
Solaris 2.5.1. Can you try again with gcc 3.0.3?
tromey, didn't we see similar problems before where
the configure script was not correctly detecting
the locale headers/libraries?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3250
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2002-02-17 18:30 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2002-02-17 18:30 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, steve, tromey, rodrigc, jzago
Synopsis: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Feb 17 18:30:00 2002
State-Changed-Why:
Fixed on HP-UX, no feedback on Solaris 2.5.1 issues.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3250
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2002-01-18 8:16 Craig Rodrigues
0 siblings, 0 replies; 7+ messages in thread
From: Craig Rodrigues @ 2002-01-18 8:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/3250; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, steve@smc.vnet.net,
tromey@gcc.gnu.org, rodrigc@gcc.gnu.org, jzago@ifaedi.insa-lyon.fr,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1
system
Date: Fri, 18 Jan 2002 11:07:10 -0500
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3250
jzago,
toplevc.c includes intl.h. In intl.h there are these lines:
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
If locale.h is not getting included, then that means that HAVE_LOCALE_H
is not defined, so the configure script might not be working on
your system.
Can you provide a copy of the config.log and config.cache
files that are created on your system when you try to configure
gcc 3.0.3 for building?
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2002-01-18 8:06 Craig Rodrigues
0 siblings, 0 replies; 7+ messages in thread
From: Craig Rodrigues @ 2002-01-18 8:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/3250; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, steve@smc.vnet.net,
tromey@gcc.gnu.org, rodrigc@gcc.gnu.org, jzago@ifaedi.insa-lyon.fr,
gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1
system
Date: Fri, 18 Jan 2002 11:00:44 -0500
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3250
==================================================================
PR 5425,
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5425
is a followup to this PR, but occurs under HPUX with gcc 2.95. I have
attached topleve-hpux.i.bz2
to this PR. This wasposted
by jzago@ifaedi.insa-lyon.fr:
=====================================================================================
This is actually a followup of #3250, for a different release and
environment. Feel free to ask more details.
mkdir /reengineering/.jza
cd /reengineering/.jza
~/src/orig/gcc-3.0.3/configure --prefix=$HOME
--exec-prefix=$HOME/arch/`hostname` --enable-shared
--enable-threads=posix
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap
$ gcc -v -save-temps -DIN_GCC -g -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long -DHAVE_CONFIG_H -I. -I.
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc/.
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc/config
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc/../include -DUSE_COLLECT2
-DTARGET_NAME=\"hppa2.0w-hp-hpux11.00\" -c
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c
Reading specs from
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/specs
gcc version 2.95.3 20010315 (release)
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/cpp0
-lang-c -v -I. -I. -I/users/ie/jza/src/orig/gcc-3.0.3/gcc
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc/.
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc/config
-I/users/ie/jza/src/orig/gcc-3.0.3/gcc/../include -D__GNUC__=2
-D__GNUC_MINOR__=95 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB
-Dhpux -Dunix -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__
-D__PWB__ -D__hpux__ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8
-D__PWB -D__hpux -D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa)
-Amachine(hppa) -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -Wno-long-long -pedantic
-D__hp9000s700 -D_PA_RISC1_1 -D_HPUX_SOURCE -D_HIUX_SOURCE
-D__STDC_EXT__ -DIN_GCC -DHAVE_CONFIG_H -DUSE_COLLECT2
-DTARGET_NAME="hppa2.0w-hp-hpux11.00"
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c toplev.i
GNU CPP version 2.95.3 20010315 (release) (hppa)
#include "..." search starts here:
#include <...> search starts here:
.
/users/ie/jza/src/orig/gcc-3.0.3/gcc
/users/ie/jza/src/orig/gcc-3.0.3/gcc/config
/users/ie/jza/src/orig/gcc-3.0.3/gcc/../include
/usr/local/include
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/../../../../../hppa2.0w-hp-hpux11.00/include
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/../../../../../../include/g++-
End of omitted list.
In file included from /users/ie/jza/src/orig/gcc-3.0.3/gcc/system.h:50,
from /users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:30:
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/include/stdio.h:24:
warning: `__size_t' redefined
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/include/stddef.h:165:
warning: this is the location of the previous definition
In file included from /users/ie/jza/src/orig/gcc-3.0.3/gcc/system.h:94,
from /users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:30:
/usr/include/errno.h:26: warning: `__va__list' redefined
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition
/users/ie/jza/arch/lauhpj7/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/cc1
toplev.i -quiet -dumpbase toplev.c -g -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -Wno-long-long
-pedantic -version -o toplev.s
cc1: warning: -g is only supported when using GAS on this processor,
cc1: warning: -g option disabled.
GNU C version 2.95.3 20010315 (release) (hppa2.0w-hp-hpux11.00) compiled
by GNU C version 2.95.3 20010315 (release).
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c: In function
`read_integral_parameter':
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:1543: warning: implicit
declaration of function `atoi'
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c: In function `main':
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:4655: warning: implicit
declaration of function `setlocale'
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:4655: `LC_ALL' undeclared
(first use in this function)
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:4655: (Each undeclared
identifier is reported only once
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:4655: for each function it
appears in.)
/users/ie/jza/src/orig/gcc-3.0.3/gcc/toplev.c:5002: warning: implicit
declaration of function `system'
===============================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2002-01-04 21:06 Craig Rodrigues
0 siblings, 0 replies; 7+ messages in thread
From: Craig Rodrigues @ 2002-01-04 21:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/3250; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: Tom Tromey <tromey@redhat.com>
Cc: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, steve@smc.vnet.net,
gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
Date: Sat, 5 Jan 2002 00:03:44 -0500
On Fri, Jan 04, 2002 at 08:53:01PM -0700, Tom Tromey wrote:
> We have seen problems like this in some situations.
>
> In this case, toplev.c needs <locale.h>. I don't see this include.
> Perhaps it is hidden somewhere, though I failed to find that as well.
>
> Steve's approach to a fix seems reasonable to me.
>
> Tom
Tom,
toplev.c already includes intl.h which has:
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
If the configure script did not correctly detect
locale.h on the system, then that might cause
problems. I'm wondering, is this a repeat of the problems
you saw in:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?pr=4972&database=gcc&cmd=view
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2002-01-04 19:46 Tom Tromey
0 siblings, 0 replies; 7+ messages in thread
From: Tom Tromey @ 2002-01-04 19:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/3250; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: rodrigc@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, steve@smc.vnet.net, gcc-gnats@gcc.gnu.org,
rodrigc@gcc.gnu.org
Subject: Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
Date: 04 Jan 2002 20:53:01 -0700
>>>>> "Craig" == rodrigc <rodrigc@gcc.gnu.org> writes:
Craig> tromey, didn't we see similar problems before where the
Craig> configure script was not correctly detecting the locale
Craig> headers/libraries?
Please call me "Tom".
We have seen problems like this in some situations.
In this case, toplev.c needs <locale.h>. I don't see this include.
Perhaps it is hidden somewhere, though I failed to find that as well.
Steve's approach to a fix seems reasonable to me.
Tom
^ permalink raw reply [flat|nested] 7+ messages in thread
* bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
@ 2001-06-19 0:46 steve
0 siblings, 0 replies; 7+ messages in thread
From: steve @ 2001-06-19 0:46 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-02-18 2:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-26 20:13 bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system rodrigc
-- strict thread matches above, loose matches on Subject: below --
2002-02-17 18:30 rodrigc
2002-01-18 8:16 Craig Rodrigues
2002-01-18 8:06 Craig Rodrigues
2002-01-04 21:06 Craig Rodrigues
2002-01-04 19:46 Tom Tromey
2001-06-19 0:46 steve
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).