Bug 11388 - gcc 3.3 fails to bootstrap on AIX 5.2 due to errors compiling plural.c in directory gcc/intl
Summary: gcc 3.3 fails to bootstrap on AIX 5.2 due to errors compiling plural.c in dir...
Status: RESOLVED DUPLICATE of bug 7771
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.3
: P3 critical
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-01 06:35 UTC by rolf-alois.walter
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: powerpc-ibm-aix5.2.0.0
Target: powerpc-ibm-aix5.2.0.0
Build: powerpc-ibm-aix5.2.0.0
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rolf-alois.walter 2003-07-01 06:35:33 UTC
I have configured with the command

/software/gcc-3.3/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld

cc -c -DIN_GCC -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DH
AVE_CONFIG_H -I.. -I. -I/software/gcc-3.3/gcc/intl -I/software/gcc-3.3/gcc
-I/software/gcc-3.3/gcc/config -I/software/gcc-3.3/gcc/../i
nclude  -g    /software/gcc-3.3/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 wi
th the corresponding parameter type "unsigned char**" in the nonprototype
declaration.
gmake[3]: *** [plural.o] Error 1
gmake[3]: Leaving directory `/software/gcc-3.3-obj/gcc/intl'
gmake[2]: *** [intl.all] Error 1
gmake[2]: Leaving directory `/software/gcc-3.3-obj/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/software/gcc-3.3-obj/gcc'
gmake: *** [bootstrap] Error 2
Comment 1 Andrew Pinski 2003-07-01 11:07:59 UTC
This is a dup of bug 7771 which is closed, either use --disable-nls or bootstrap beginning 
with a version of gcc.

*** This bug has been marked as a duplicate of 7771 ***