https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67156
--- Comment #2 from Дилян Палаузов <dilyan.palauzov at aegee dot org> --- It is x86_64-pc-linux-gnu == host == target == build. To what I see in the root Makefile (copied below) at the end of the build files in stage2 and stage3 are compared with `cmp', which fails, if one file has debugging information and the other does not, even if both files have identical text/data/bss sections. --- do-compare = cmp --ignore-initial=16 $$f1 $$f2 compare: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ if test -f stage2-lean; then \ echo Cannot compare object files as stage 2 was deleted.; \ exit 0; \ fi; \ : $(MAKE); $(stage); \ rm -f .bad_compare; \ echo Comparing stages 2 and 3; \ sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \ files=`find stage3-* -name "*$(objext)" -print | \ sed -n s,^stage$$sed-,,p`; \ for file in $${files}; do \ f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \ if test ! -f $$f1; then continue; fi; \ $(do-compare) > /dev/null 2>&1; \ if test $$? -eq 1; then \ case $$file in \ gcc/cc*-checksum$(objext) | gcc/ada/*tools/*) \ echo warning: $$file differs ;; \ *) \ echo $$file differs >> .bad_compare ;; \ esac; \ fi; \ done; \ if [ -f .bad_compare ]; then \ echo "Bootstrap comparison failure!"; \ cat .bad_compare; \ exit 1; \ else \ echo Comparison successful.; \ fi; \ $(STAMP) compare if $(LEAN); then \ rm -rf stage2-*; \ $(STAMP) stage2-lean; \ fi