This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC 3.0 bootstrap failure under AIX 4.3


Hello,

I'm attempting to bootstrap g++ 3.0 under AIX and I'm running
into a problem that appears to stem from the patch to
mknumeric_limits discussed in this thread:

http://gcc.gnu.org/ml/libstdc++/2001-05/msg00361.html

The bootstrap fails during configuring libstdc++ for
pcc64 saying:

Running configure in multilib subdirs pthread power powerpc ppc64
pthread/power pthread/powerpc pthread/ppc64
<snip>
running mknumeric_limits
/boreas/build-gcc3/gcc/xgcc -B/boreas/build-gcc3/gcc/
-B/boreas/tools-gnu/powerpc-ibm-aix4.3.3.0/bin/
-B/boreas/tools-gnu/powerpc-ibm-aix4.3.3.0/lib/ -isystem
/boreas/tools-gnu/powerpc-ibm-aix4.3.3.0/include  -maix64 -I. 
-I/boreas/build-gcc3/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/include
-DHAVE_CONFIG_H -fno-exceptions     -o
/boreas/build-gcc3/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/src/gen-num-limits
/boreas/gcc3/gcc/libstdc++-v3/src/gen-num-limits.cc
Could not load program
/boreas/build-gcc3/powerpc-ibm-aix4.3.3.0/ppc64/libstdc++-v3/src/gen-num-limits:
Cannot run a 64-bit program on a 32-bit machine.
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 `/boreas/build-gcc3'
gmake: *** [bootstrap] Error 2

This failure is after power/ and powerpc/ versions
are configured.  I'm not familiar with libstdc++ source,
but doesn't this patch prevent cross-compiling altogether?

Thanks,

Robert

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne@ricardo-us.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]