make bootstrap-lean failure

Erik Mouw J.A.K.Mouw@ITS.TUDelft.NL
Mon Feb 26 11:24:00 GMT 2001


On Mon, Feb 19, 2001 at 05:17:51PM +0100, Erik Mouw wrote:
> On Mon, Feb 19, 2001 at 02:39:01PM +0100, Erik Mouw wrote:
> > I just got this "make bootstrap-lean" failure on a sparc-unknown-linux-gnu
> > system:
> > 
> > gcc  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
> > -Wmissing-prototypes   -DHAVE_CONFIG_H -DGENERATOR_FILE  -I. -If
> > -I../../../shannon/erik/tmp/gnu/gcc/gcc/gcc
> > -I../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/f
> > -I../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/config
> > -I../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/../include \
> > 	  ../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/f/intdoc.c -o f/intdoc
> > make[3]: Leaving directory /tmp/gcc/gcc'
> > f/intdoc > ../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/f/intdoc.texi
> > /bin/sh: ../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/f/intdoc.texi: Permission denied
> > make[2]: *** [../../../shannon/erik/tmp/gnu/gcc/gcc/gcc/f/intdoc.texi] Error 1
> > make[2]: Leaving directory /tmp/gcc/gcc'
> > make[1]: *** [stage1_build] Error 2
> > make[1]: Leaving directory /tmp/gcc/gcc'
> > make: *** [bootstrap-lean] Error 2
> > 
> > Looks like the build process wants to regenerate intdoc.texi in the
> > source tree, but that file is read-only so it fails. At the same time I
> > was building a mips-sgi-irix6.5 compiler using "make bootstrap" from
> > the same source tree, and that succeeded without any problem.
> > 
> > Oh, I'm talking about the gcc-3.0 branch.
> 
> Just retried with a normal "make bootstrap", and still the same
> problem. I found another difference between the two systems: the
> SparcLinux machine has all the standard GNU tools, while the IRIX
> system doesn't have makeinfo and doesn't try to build any info files at
> all.

OK, found it. The file gcc/f/intdoc.texi wasn't touched for ages and
apparently has dependencies on gcc/f/intdoc.in. intdoc.in was newer
than intdoc.texi, so the build process wanted to regenerate the texi
file and couldn't because it was read-only. The IRIX system doesn't
have makeinfo, so it didn't even try to build info files.

So either intdoc.texi is out of date w.r.t. intdoc.in, or
contrib/gcc_update needs to touch it.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/



More information about the Gcc mailing list