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]

Re: GCC 3.0 bootstrap failure under AIX 4.3


Robert Boehne <rboehne@ricardo-us.com> writes:

| 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. 
                                                    ^^^^^^^
[...]

| Cannot run a 64-bit program on a 32-bit machine.

I don't know configure managed to pass that flag.  AIX people, do you
have any idea?

| 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?

mknumeric_limits builds native <limits>, it is definitely not suitable
for cross-compiling.

-- Gaby


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