building gcc/g++ 3.0 on aix: gen-num-limits failed to execute

Robert A Nesius rnesius@ichips.intel.com
Tue Jul 10 15:16:00 GMT 2001


On 10 Jul 2001, Alexandre Oliva wrote:

> On Jul  9, 2001, "Paul DeMello" <paul@oax.com> wrote:
>
> > ./configure --enable-threads=pthreads
>
> > Cannot run a 64-bit program on a 32-bit machine.
>
> Add --disable-aix64 to the configure command line.
>
> But beware: C++ exception handling is quite broken on AIX in GCC 3.0,
> unfortunately.  Hopefully, the problems are going to be fixed in time
> for GCC 3.0.1.

I broke down in a similar place.  This is after the compiler has
bootstrapped.   Line 178 in mknumeric_limits is the area where
that script tries to compile gen-num-limits but I wasn't able to root
cause it.  I ran the compile that dumped core by hand and it worked
fine.  Running 'gmake bootstrap' again got the build to continue
on its way (it is still building - takes over 14 hours for this
build to complete on this machine/os).

--host=rs6000-ibm-aix4.1.4.0

-Rob

============================
<...>
with_multisubdir=powerpc
running mkc++config
running mknumeric_limits
/fs29/comp.apps.3/00r1.builds/rnesius/gcc-3.0/aix4/gcc/xgcc -B/fs29/comp.apps.3/00r1.builds/rnesius/gcc-3.0/aix4/gcc/ -B/usr/intel/pkgs/gcc/3.0/rs6000-ibm-aix4.1.4.0/bin/ -B/usr/intel/pkgs/gcc/3.0/rs6000-ibm-aix4.1.4.0/lib/ -isystem /usr/intel/pkgs/gcc/3.0/rs6000-ibm-aix4.1.4.0/include  -mcpu=powerpc -I.  -I/fs29/comp.apps.3/00r1.builds/rnesius/gcc-3.0/aix4/rs6000-ibm-aix4.1.4.0/powerpc/libstdc++-v3/include -DHAVE_CONFIG_H -fno-exceptions     -o /fs29/comp.apps.3/00r1.builds/rnesius/gcc-3.0/aix4/rs6000-ibm-aix4.1.4.0/powerpc/libstdc++-v3/src/gen-num-limits ../../../../gcc-3.0/libstdc++-v3/src/gen-num-limits.cc
../../../../gcc-3.0/libstdc++-v3/mknumeric_limits[178]: 39000 Illegal instruction(coredump)
gen-num-limits failed to execute, exiting.
mknumeric_limits failed to execute properly: exiting
gmake[1]: *** [configure-target-libstdc++-v3] Error 1
gmake[1]: Leaving directory `/auto_mnt/pdxfs29/fs29/comp.apps.3/00r1.builds/rnesius/gcc-3.0/aix4'
gmake: *** [bootstrap] Error 2

-Rob


-- 
#include <sig.h>
------------------------------------------------------------------
Robert Nesius             rnesius@ichips.intel.com    503.712.2181
DPG Engineering Computing SW Applications Team





More information about the Gcc-help mailing list