Problems building 64-bit version of GCC on AIX (Power 4) 5.1 SP.

Ray Sheppard rsheppar@indiana.edu
Tue Jul 1 20:47:00 GMT 2003


Hello,
   I have been having quite a number of problems creating a 64-bit version
of the GCC suite on IBM's Power4 architecture under AIX 5.1.  I am not a
Sys Admin,  but I have some general knowledge.  I have read through most
of the documentation under http://www.gnu.org/software/gcc/ but I obviously
missed something.  If anyone knows any hints or has any suggestions, I would
very much appreciate any help they might give.  At present,  my configure
script is:
#!/bin/ksh
LOG="./MY_CONFIGURE.LOG"
export CFLAGS="-q64 -qtune=pwr4 -qarch=pwr4 -O"
export CC="/usr/vac/bin/cc"
export CXX=xlC
export CXXFLAGS="-q64 -qcplscmnt -qtune=pwr4 -qarch=pwr4 -O"
export LANG=C
./configure --prefix="/gpfs/ray/gcc-3.3" --with-included-gettext 
--with-cpu-ibm-aix  1>$LOG 2>&1

#####################

and my install script is:

################################

#!/bin/ksh
LOG="./MY_MAKE.LOG"
export OBJECT_MODE=64
export PATH=$PATH:/gpfs/ray/gcc-3.3/bin
gmake bootstrap  1>$LOG 2>&1
orion17 %

###########################################

My present error is:

#########################################3
/usr/vac/bin/cc -c -DIN_GCC -DLOCALEDIR=\"/gpfs/ray/gcc-3.3/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/gpfs/ray/gcc-3.3/share/locale
\" -DLIBDIR=\"/gpfs/ray/gcc-3.3/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I.. 
-I../config -I../../include  -g    ngettext.c -o
ngettext.o
bison -y -d --name-prefix=__gettext --output plural.c plural.y
conflicts: 7 shift/reduce
plural.y: expected 10 shift/reduce conflicts
gmake[3]: *** [plural.c] Error 1
gmake[3]: Leaving directory `/gpfs2/ray/gcc-3.3/gcc/intl'
gmake[2]: *** [intl.all] Error 1
gmake[2]: Leaving directory `/gpfs2/ray/gcc-3.3/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/gpfs2/ray/gcc-3.3/gcc'
gmake: *** [bootstrap] Error 2
~


                       Thank you very much for any insight!
                                            Ray



-- 
                          Respectfully,
                            Ray Sheppard
                            rsheppar@indiana.edu
                            317-274-0016

                    High Performance Computing Support
                    Research & Academic Computing
                    University Information Technological Services
                    IUPUI campus
                    Indiana University

     My "pithy" saying since everyone has one these days:
              "It is difficult to tell the depth of the water
               without penetrating the surface."



More information about the Gcc mailing list