https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70173
Bug ID: 70173 Summary: make distclean: leaves stage_final and libcc1/compiler-name.h Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dilyan.palauzov at aegee dot org Target Milestone: --- make distclean leaves these files: ./stage_final ./libcc1 ./libcc1/compiler-name.h and prints: make[1]: Entering directory '/home/d/gcc' rm -f stage_current make[1]: Leaving directory '/home/d/gcc' rm -rf stage1-* rm -rf stage2-* rm -rf stage3-* compare cat: stage_last: No such file or directory rm -rf stage4-* compare3 cat: stage_last: No such file or directory rm -rf stageprofile-* cat: stage_last: No such file or directory rm -rf stagefeedback-* make[1]: Entering directory '/home/d/gcc' Doing distclean in libcc1 make[2]: Entering directory '/home/d/gcc/libcc1' test -z "libcc1.la" || rm -f libcc1.la rm -f "./so_locations" rm -rf .libs _libs test -z "libcc1plugin.la" || rm -f libcc1plugin.la rm -f "./so_locations" rm -f *.o rm -f *.lo rm -f *.tab.c test -z "" || rm -f test . = "/git/gcc/libcc1" || test -z "" || rm -f rm -f cc1plugin-config.h stamp-h1 rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -rf ./.deps rm -f Makefile make[2]: Leaving directory '/home/d/gcc/libcc1' make[1]: Leaving directory '/home/d/gcc' rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log rm -f Makefile config.status config.cache mh-frag mt-frag rm -f maybedep.tmp serdep.tmp if [ "x86_64-pc-linux-gnu" != "." ]; then \ rm -rf x86_64-pc-linux-gnu; \ else true; fi rm -rf build-x86_64-pc-linux-gnu if [ "." != "." ]; then \ rm -rf .; \ else true; fi rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile rm -f texinfo/doc/Makefile texinfo/po/POTFILES rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null Makefile:2159: recipe for target 'local-distclean' failed make: [local-distclean] Error 1 (ignored) rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null Makefile:2159: recipe for target 'local-distclean' failed make: [local-distclean] Error 1 (ignored) rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null Makefile:2159: recipe for target 'local-distclean' failed make: [local-distclean] Error 1 (ignored) find . -name config.cache -exec rm -f {} \; \; 2>/dev/null Makefile:2159: recipe for target 'local-distclean' failed make: [local-distclean] Error 1 (ignored)