This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/19995] New: libstdc++ fails to build correctly on AIX 5.2
- From: "quanah at stanford dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2005 05:11:10 -0000
- Subject: [Bug libstdc++/19995] New: libstdc++ fails to build correctly on AIX 5.2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I had no problem building gcc-3.3.1 on this system. However, when I went to
build gcc-3.4.3, it failes in the ppc64 portion of libstdc++. The error given
is the same as seen in this very old thread:
<http://gcc.gnu.org/ml/gcc/2001-06/msg01217.html>
Configure is run as:
cd ../gcc-build/rs_aix52 && CONFIG_SHELL=/usr/pubsw/bin/bash CFLAGS=-O CC=gcc sh
../../gcc-3.4.3/configure \
--datadir='${prefix}/lib' --libexecdir='${prefix}/lib' \
--sharedstatedir='${prefix}/lib' --prefix=/usr/pubsw \
--with-as=/usr/bin/as \
--with-ld=/usr/bin/ld \
--with-ar=/usr/bin/ar \
--with-included-gettext \
--with-libintl-prefix=/usr/pubsw \
--with-libiconv-prefix=/usr/pubsw \
--enable-languages=c,c++,f77,java,objc
The failure error is:
checking for powerpc-ibm-aix5.2.0.0-gcc...
/afs/ir/src/pubsw/languages/gcc-build/@sys/gcc/xgcc
-B/afs/ir/src/pubsw/languages/gcc-build/@sys/gcc/ -B/usr/pubsw/bin/
-B/usr/pubsw/lib/ -isystem /usr/pubsw/include -isystem /usr/pubsw/sys-include
-maix64
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory
`/afs/ir.stanford.edu/src/pubsw/languages/gcc-build/rs_aix52'
make: *** [bootstrap] Error 2
config.log shows:
configure:2397: /afs/ir/src/pubsw/languages/gcc-build/@sys/gcc/xgcc
-B/afs/ir/src/pubsw/languages/gcc-build/@sys/gcc/ -B/usr/pubsw/bin/
-B/usr/pubsw/lib/ -isystem /usr/pubsw/include -isystem /usr/pubsw/sys-include
-maix64 -O2 -O -O2 -O conftest.c >&5
configure:2400: $? = 0
configure:2446: result: a.out
configure:2451: checking whether the C compiler works
configure:2457: ./a.out
Could not load program ./a.out:
Cannot run a 64-bit program on a 32-bit machine.
configure:2460: $? = 255
configure:2469: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
--
Summary: libstdc++ fails to build correctly on AIX 5.2
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: quanah at stanford dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-ibm-aix5.2.0.0
GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19995