public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/19995] New: libstdc++ fails to build correctly on AIX 5.2
@ 2005-02-16 12:32 quanah at stanford dot edu
  2005-02-16 12:36 ` [Bug libstdc++/19995] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: quanah at stanford dot edu @ 2005-02-16 12:32 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-01 14:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-16 12:32 [Bug libstdc++/19995] New: libstdc++ fails to build correctly on AIX 5.2 quanah at stanford dot edu
2005-02-16 12:36 ` [Bug libstdc++/19995] " pinskia at gcc dot gnu dot org
2005-02-16 19:47 ` quanah at stanford dot edu
2005-02-16 20:13 ` quanah at stanford dot edu
2005-02-17  5:24 ` quanah at stanford dot edu
2005-02-17 12:21 ` quanah at stanford dot edu
2005-02-17 15:05 ` quanah at stanford dot edu
2005-03-02 23:23 ` dje at gcc dot gnu dot org
2005-04-01 14:34 ` pcarlini at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).