https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66508
--- Comment #5 from Fan You <youfan.noey at gmail dot com> --- (In reply to Iain Sandoe from comment #4) > (In reply to Fan You from comment #3) > > (In reply to Dominique d'Humieres from comment #2) > > > Duplicate of pr66448? Which revision are you using? > > > > Just updated and tried again, get the same result. > > > > Revision: 224410 > > > > After changing > > > > > get similar error as pr66448 > > > > /Users/jieyuandai/src/gcc/gcc/dwarf2out.c:5693:1: error: ‘void > > check_die(dw_die_ref)’ defined but not used [-Werror=unused-function] > > check_die (dw_die_ref die) > > ^ > > cc1plus: all warnings being treated as errors > > I think that should have been fixed by 224431, and Darwin bootstrap > (pr66448) should be OK as of r224451. Let us know if problems persist Fixed, Thanks.