From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31347 invoked by alias); 16 Feb 2005 05:11:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31334 invoked by uid 48); 16 Feb 2005 05:11:10 -0000 Date: Wed, 16 Feb 2005 12:32:00 -0000 From: "quanah at stanford dot edu" To: gcc-bugs@gcc.gnu.org Message-ID: <20050216051109.19995.quanah@stanford.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/19995] New: libstdc++ fails to build correctly on AIX 5.2 X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg01723.txt.bz2 List-Id: 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: 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