While trying to clean, I noticed that
$ make -k -j6 clean
does:
make[5]: *** [insn-recog.o] Interrupt
make[5]: *** [s-attrtab] Interrupt
make[4]: *** [all-stage1-gcc] Interrupt
make[3]: *** [stage1-bubble] Interrupt
Reaping losing child 0x00383f20 PID 18728
make[2]: *** [all] Interrupt
Removing child 0x00383f20 PID 18728 from chain.
make[1]: *** [stage1-start] Interrupt
make: *** [clean-stage1-libiberty] Interrupt
:-( Building the entire compile to clean it isn't reasonable, honest.
Comes from:
maybe-clean-stage1-libiberty: clean-stage1-libiberty
clean-stage1: clean-stage1-libiberty
clean-stage1-libiberty:
@[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $
(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
|| exit 0 ; \
[ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
cd $(HOST_SUBDIR)/libiberty && \
$(MAKE) $(FLAGS_TO_PASS) \
CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$
(STAGE1_CFLAGS)" clean
where we do stage1-start.
Also, now make clean isn't reliable:
$ make -k clean
rm -f stage_current
mv: rename stage1-libdecnumber to prev-libdecnumber/stage1-
libdecnumber: Directory not empty
make[1]: *** [stage2-start] Error 1
make[1]: *** No rule to make target `clean'.
make: *** [clean-stage2-gcc] Error 2
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
make: Target `clean' not remade because of errors.
morgan $ echo $?
2
If I just configure and then do a make clean, it doesn't work either:
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
cat: stage_last: No such file or directory
make: invalid option -- a
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
[ ... ]
make: Target `clean' not remade because of errors.
:-(