Everything builds fine except for:

gmake[2]: Entering directory
`/tmp/gfortran-20050616/ibin/mips-sgi-irix6.5/libgfortran'
/bin/sh ./libtool --mode=compile (CC_FOR_TARGET) -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I.  -iquote../../../gcc/libgfortran/io  -std=gnu99
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings (CFLAGS_FOR_TARGET) -c -o environ.lo `test -f
'runtime/environ.c' || echo '../../../gcc/libgfortran/'`runtime/environ.c
/bin/sh: syntax error at line 1 : `(' unexpected
gmake[2]: *** [environ.lo] Error 2

I don't know what to try or how to debug this one... This is a normal build
(languages: c and f95, multilib enabled (default)).

Going into the mips-sgi-irix6.5/libgfortran directory and then doing "gmake"
again works. But then up again in the build directory, it fails:

gmake[3]: *** [multi-do] Error 127
gmake[3]: Leaving directory
`/tmp/gfortran-20050616/ibin/mips-sgi-irix6.5/libgfortran'

I don't understand much about multilib, but it may be such a problem. If that
can help, the mips-sgi-irix6.5 directory now contains:

32/ (which contains libgfortran)
64/ (which contains libgfortran)
libgfortran/

-- 
           Summary: libgfortran build failure on mips-sgi-irix6.5
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: mips-sgi-irix6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22097

Reply via email to