This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/25119] New: bootstrap failure on AIX 5.3

I have a 64bit GMP and want to bootstrap gcc with:

export CONFIG_SHELL=/path/to/bash
AR="ar -X64" CFLAGS="-maix64 -mminimal-toc"
/tmp/gfortran-20051127/gcc/configure --enable-languages=c,fortran

but this fails to bootstrap with:

ar rc ./libiberty.a \
  ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o
./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o
./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o
./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o
./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o
./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o
./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o
./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o
./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./asprintf.o ./mempcpy.o
./mkstemps.o ./strverscmp.o ./vasprintf.o
ar: 0707-126 ./regex.o is not valid with the current object file mode.
        Use the -X option to specify the desired object mode.
gmake[1]: *** [libiberty.a] Error 53
gmake[1]: Leaving directory

So it looks like my AR environement variable is not recognized, although the
output of configure is:

checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... no
checking for powerpc-ibm-aix5.3.0.0-ar... ar -X64
checking for powerpc-ibm-aix5.3.0.0-as... no
checking for as... as
checking for powerpc-ibm-aix5.3.0.0-dlltool... no
checking for dlltool... no
checking for powerpc-ibm-aix5.3.0.0-ld... no
checking for ld... ld
checking for powerpc-ibm-aix5.3.0.0-nm... no
checking for nm... nm
checking for powerpc-ibm-aix5.3.0.0-ranlib... no
checking for ranlib... ranlib
checking for powerpc-ibm-aix5.3.0.0-windres... no
checking for windres... no
checking for powerpc-ibm-aix5.3.0.0-objcopy... no
checking for objcopy... no
checking for powerpc-ibm-aix5.3.0.0-objdump... no
checking for objdump... no
checking for powerpc-ibm-aix5.3.0.0-ar... no
checking for ar... ar

Note that it's checking twice for powerpc-ibm-aix5.3.0.0-ar, and doesn't find
it the same way the second time.

           Summary: bootstrap failure on AIX 5.3
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
 GCC build triplet: powerpc-ibm-aix5.3
  GCC host triplet: powerpc-ibm-aix5.3
GCC target triplet: powerpc-ibm-aix5.3

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