This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
more bootstrap problems with AIX
- To: gcc at gcc dot gnu dot org
- Subject: more bootstrap problems with AIX
- From: simon <sk2alexa at math dot uwaterloo dot ca>
- Date: Tue, 26 Jun 2001 12:11:37 -0400
Hi again,
Thanks to those who pointed out the "--disable-aix64" fix for my mknumeric_limits problem under AIX. That got
me further in the process, but the bootstrap is still failing.
Now it gets through the stage1 build and fails at the beginning of stage2:
gmake[2]: Entering directory `/home/simon/src/gcc-3.0/objdir/gcc'
stage1/xgcc -Bstage1/ -B/opt/gcc-3.0/powerpc-ibm-aix4.3.3.0/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/gengenrtl.c
In file included from ../../gcc/gengenrtl.c:23:
../../gcc/system.h:293: conflicting types for `sbrk'
/usr/include/unistd.h:586: previous declaration of `sbrk'
gmake[2]: *** [gengenrtl.o] Error 1
gmake[2]: Leaving directory `/home/simon/src/gcc-3.0/objdir/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/home/simon/src/gcc-3.0/objdir/gcc'
gmake: *** [bootstrap-lean] Error 2
bash-2.00$
This is the first file in stage2 build.
Can anyone who has successfully built on powerpc AIX 4.3 comment?
I am using gmake (version 3.79.1) and the stage1 build uses gcc 2.8.1.
Everything else is AIX system tools.
Thanks,
S.
ps: here is config.status:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../configure --with-gcc-version-trigger=/home/simon/src/gcc-3.0/gcc/version.c --host=powerpc-ibm-aix4.3.3.0 --disable-aix64 --prefix=/opt/gcc-3.0 --enable-languages=c,c++ --enable-multilib --norecursion
# using "mt-frag"