bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system

Craig Rodrigues rodrigc@mediaone.net
Fri Jan 18 08:00:00 GMT 2002


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'
===============================================================================



More information about the Gcc-bugs mailing list