This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Compilation of gcc-3.2 failed
- From: Nicolas Ferre' <ferre at unisi dot it>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 07 Nov 2002 13:10:49 +0100
- Subject: Compilation of gcc-3.2 failed
- Organization: Universita` di Siena
Hi,
I try to compile gcc-3.2 on IBM aix5.1.0.0 but it failed during stage1
with:
gmake[1]: Entering directory `/tmp/ferre/gcc_obj/libiberty'
gmake[2]: Entering directory `/tmp/ferre/gcc_obj/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/tmp/ferre/gcc_obj/libiberty/testsuite'
gmake[1]: Leaving directory `/tmp/ferre/gcc_obj/libiberty'
gmake[1]: Entering directory `/tmp/ferre/gcc_obj/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g" "INSTALL=/bin/sh
/tmp/ferre/gcc-3.2/install-sh -c" "INSTALL_DATA=/bin/sh
/tmp/ferre/gcc-3.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/tmp/ferre/gcc-3.2/install-sh -c " "INSTALL_SCRIPT=/bin/sh
/tmp/ferre/gcc-3.2/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g"
"LIBCFLAGS_FOR_TARGET=-g" "MAKE=gmake" "MAKEINFO=makeinfo " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest"
"RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info"
"libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/powerpc-ibm-aix5.1.0.0" "AR=ar" "AS=as" "CC=cc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do
gmake[1]: Leaving directory `/tmp/ferre/gcc_obj/zlib'
Bootstrapping the compiler
gmake[1]: Entering directory `/tmp/ferre/gcc_obj/gcc'
gmake CC="cc" libdir=/usr/local/lib LANGUAGES="c " \
CFLAGS="-g " MAKEINFO="makeinfo " \
MAKEINFOFLAGS=""
gmake[2]: Entering directory `/tmp/ferre/gcc_obj/gcc'
(cd intl && gmake all)
gmake[3]: Entering directory `/tmp/ferre/gcc_obj/gcc/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/ferre/gcc_obj/gcc/intl'
cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.2/gcc
-I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config
-I../../gcc-3.2/gcc/../include ../../gcc-3.2/gcc/tradcif.c -o tradcif.o
"tradcif.y", line 222.17: 1506-196 (W) Initialization between types
"unsigned char*" and "const unsigned char*" is not allowed.
"tradcif.y", line 319.12: 1506-068 (W) Operation between types "unsigned
char*" and "const unsigned char*" is not allowed.
"tradcif.y", line 438.1: 1506-343 (S) Redeclaration of parse_escape
differs from previous declaration on line 35 of "tradcif.y".
"tradcif.y", line 438.1: 1506-381 (I) The type "const unsigned char**"
of parameter 1 in the prototype declaration is not compatible with the
corresponding parameter type "unsigned char**" in the nonprototype
declaration.
gmake[2]: *** [tradcif.o] Error 1
gmake[2]: Leaving directory `/tmp/ferre/gcc_obj/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/tmp/ferre/gcc_obj/gcc'
gmake: *** [bootstrap] Error 2
Any solution ? I noticed that someone has already compiled successfully
this gcc version with aix5.
Thanks. Nicolas
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nicolas FERRE' (PhD)
phone/fax : +39-0577-234278
Dipartimento di Chimica
Universita` di Siena mailto:ferre@unisi.it
via Aldo Moro
53100 SIENA (Italia) http://ccmaol1.chim.unisi.it/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~