bootstrap/5883: gcc-20020304 bootstrap failure on IBM SP/2 AIX 4.3: inconsistent declarations in gcc/intl/plural.y

Nelson H. F. Beebe beebe@math.utah.edu
Fri Mar 8 06:56:00 GMT 2002


>Number:         5883
>Category:       bootstrap
>Synopsis:       gcc-20020304 bootstrap failure on IBM SP/2 AIX 4.3: inconsistent declarations in gcc/intl/plural.y
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 08 06:56:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nelson H. F. Beebe
>Release:        3.1 20020304 (prerelease)
>Organization:
Department of Mathematics, University of Utah
>Environment:
IBM SP2 (166 MHz);  AIX 4.3.2.0
		% uname -a
		AIX sp-i 3 4 000152774C00

host: powerpc-ibm-aix4.3.2.0
build: powerpc-ibm-aix4.3.2.0
target: powerpc-ibm-aix4.3.2.0
configured with: ../gcc-20020304/configure --prefix=/usr/local/test --enable-cpplib --enable-libgcj --enable-shared --enable-version-specific-runtime-libs --with-local-prefix=/usr/local --enable-threads
>Description:
After filing bug report bootstrap/5872 for a build attempt of
gcc-20020304 on IBM AIX 4.3 using gcc-2.95.3 as the bootstrap
compiler, I made a fresh attempt using the IBM native cc compiler
for the bootstrap.

The make died like this:

% cc -c -DIN_GCC \
	-DLOCALEDIR=\"/uufs/inscc.utah.edu/common/home/mthnhb/ppc/local/test/share/locale\" \
	-DLOCALE_ALIAS_PATH=\"/uufs/inscc.utah.edu/common/home/mthnhb/ppc/local/test/share/locale\" \
	-DLIBDIR=\"/uufs/inscc.utah.edu/common/home/mthnhb/ppc/local/test/lib\" \
	-DHAVE_CONFIG_H -I.. -I. -I../../../gcc-20020304/gcc/intl \
	-I../../../gcc-20020304/gcc -I../../../gcc-20020304/gcc/config \
	-I../../../gcc-20020304/gcc/../include -g \
	../../../gcc-20020304/gcc/intl/plural.c -o plural.o
"plural.y", line 264.1: 1506-343 (S) Redeclaration of __gettextlex differs from previous declaration on line 73 of "plural.y".
"plural.y", line 264.1: 1506-381 (I) The type "const unsigned char**" of parameter 2 in the prototype declaration is not compatible with the corresponding parameter type "unsigned char**" in the nonprototype declaration.
make[3]: *** [plural.o] Error 1
make[3]: Leaving directory `/uufs/inscc.utah.edu/common/home/mthnhb/ppc/build/gcc-20020304-build/gcc/intl'


>How-To-Repeat:
 env CC=cc ../gcc-20020304/configure \
	--prefix=/uufs/inscc.utah.edu/common/home/mthnhb/ppc/local/test \
	--enable-cpplib \
	--enable-libgcj \
	--enable-shared \
	--enable-version-specific-runtime-libs \
	--with-local-prefix=/usr/local \
	--enable-threads &&
		 make bootstrap
>Fix:

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: beebe@math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe@acm.org  beebe@computer.org -
- 155 S 1400 E RM 233                       beebe@ieee.org                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list