I've configured with:
./configure --prefix=.../install --disable-nls --disable-libgcj
--enable-languages=c


Executed:
make all-gcc


Output:
...
make[2]: Leaving directory `.../intl'
cat: stage_last: No such file or directory
make: invalid option -- a
Usage: make [options] [target] ...
...

It appeared after: Revision 108512

I think the problem is the missing check for 'stage_last' file
in the Makefile.

The following modification solved the problem, but I didn't 
test it very thoroughly.

Makefile.tpl:

-unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
+unstage = [ -f stage_current ] || if [ -f stage_last ]; then $(MAKE) `cat
stage_last`-start; fi


-- 
           Summary: [4.2 Regression] build fail with 'make all-gcc'
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: loki at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


Reply via email to