[Bug libgcc/68720] New: Build failure on AIX 5.2

bugzilla-gcc at thewrittenword dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 5 15:55:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68720

            Bug ID: 68720
           Summary: Build failure on AIX 5.2
           Product: gcc
           Version: 4.7.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bugzilla-gcc at thewrittenword dot com
  Target Milestone: ---

Created attachment 36933
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36933&action=edit
libgcc config.log

I tried building gcc-4.7.4 on AIX 5.2 as follows:
  $ gtar jxf gcc-4.7.4.tar.bz2
  $ cd gcc-4.7.4
  $ mkdir .obj
  $ cd .obj
  $ PATH=/opt/TWWfsw/gcc44/bin:$PATH LDR_CNTRL=MAXDATA=0x70000000 \
SHELL=/opt/fsw/bin/bash CONFIG_SHELL=/opt/fsw/bin/bash \
/opt/fsw/bin/bash ../configure LDFLAGS="-Wl,-brtl \
-Wl,-blibpath:/opt/TWWfsw/libgmp51/lib:/opt/TWWfsw/libmpc10/lib:\
/opt/TWWfsw/libmpfr31/lib:/usr/lib" --enable-nls --with-included-gettext \
--enable-shared --enable-threads --enable-languages="c,c++" \
--with-local-prefix=/tmp/gcc47 --with-gmp=/opt/TWWfsw/libgmp51 \
--with-mpc=/opt/TWWfsw/libmpc10 --with-mpfr=/opt/TWWfsw/libmpfr31 \
--prefix=/tmp/gcc47
  ...
  $ PATH=/opt/TWWfsw/gcc44/bin:$PATH LDR_CNTRL=MAXDATA=0x70000000 \
SHELL=/opt/fsw/bin/bash CONFIG_SHELL=/opt/fsw/bin/bash gmake

The build failed with the following:
checking for powerpc-ibm-aix5.2.0.0-ranlib... ranlib
checking for powerpc-ibm-aix5.2.0.0-strip... strip
checking whether ln -s works... yes
checking for powerpc-ibm-aix5.2.0.0-gcc...
/opt/build/china/gcc-4.7.4/.obj/./gcc/xgcc
-B/opt/build/china/gcc-4.7.4/.obj/./gcc/
-B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/bin/
-B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/lib/ -isystem
/tmp/gcc47/powerpc-ibm-aix5.2.0.0/include -isystem
/tmp/gcc47/powerpc-ibm-aix5.2.0.0/sys-include  -maix64
checking for suffix of object files... configure: error: in
`/opt/build/china/gcc-4.7.4/.obj/powerpc-ibm-aix5.2.0.0/ppc64/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
gmake[2]: *** [configure-stage1-target-libgcc] Error 1
gmake[2]: Leaving directory `/opt/build/china/gcc-4.7.4/.obj'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/opt/build/china/gcc-4.7.4/.obj'
gmake: *** [all] Error 2

According to
/opt/build/china/gcc-4.7.4/.obj/powerpc-ibm-aix5.2.0.0/ppc64/libgcc/config.log:
configure:3562: checking for suffix of object files
configure:3584: /opt/build/china/gcc-4.7.4/.obj/./gcc/xgcc
-B/opt/build/china/gcc-4.7.4/.obj/./gcc/
-B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/bin/
-B/tmp/gcc47/powerpc-ibm-aix5.2.0.0/lib/ -isystem
/tmp/gcc47/powerpc-ibm-aix5.2.0.0/include -isystem
/tmp/gcc47/powerpc-ibm-aix5.2.0.0/sys-include  -maix64 -c -g -O2  conftest.c
>&5
<built-in>:0:0: internal compiler error: in altivec_init_builtins, at
config/rs6000/rs6000.c:12322
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3588: $? = 1


More information about the Gcc-bugs mailing list