If make dies in stage2 or stage3, starts over

Jerry Quinn Jerry.Quinn.jquinn@nt.com
Mon Nov 23 13:26:00 GMT 1998


This has been a problem for a while now:

I've been trying to build egcs in parallel on an 6 processor hpux-10.20
K-box a number of times and I try to do it with 
make -j -l 6.  Invariably, the load shoots through the roof (bug in
make?) and I will eventually die because of running out of processes.  I
would like to resume the build where I left off, but if I've already
started building the stage2 compiler, make assumes I've started over and
works on a stage1 compiler, even though there are stage2 objects in the
build directory.

Is there a good reason for not having a stage snapshot file touched so
that the build isn't started all over again?  Perhaps having separate
top-level targets for the gcc stages would be helpful.  As it is, I have
to try to fake all the arguments being passed down to the gcc makefile
if I want to resume stage2 correctly.

I can't use make -j 6 since only the infinite -j flag gets passed down
and parallel build in just the top directory isn't very useful.

-- 
Jerry Quinn                             Tel: (514) 761-8737
jquinn@nortel.ca                        Fax: (514) 761-8505
Speech Recognition Research



More information about the Gcc-bugs mailing list