https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67156
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It should have stripped out the debugging info before doing the cmp. That is do-compare gets to be: do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 >From bootstrap-debug.mk.