https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114735
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The "fix" was to how to build to be able to use gcov. Basically you build to an object file first and then link the object file to get the old behavior and the behavior that gcov expects.