https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66457
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes you don't define NO_PROFILE_COUNTERS . That is the default i386-elf target defaults to NO_PROFILE_COUNTERS not being defined.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66457
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes you don't define NO_PROFILE_COUNTERS . That is the default i386-elf target defaults to NO_PROFILE_COUNTERS not being defined.