https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82348
--- Comment #4 from Ian Lance Taylor <ian at airs dot com> --- My apologies for jumping to conclusions. If you are building from trunk there should not be any references to internal/cpu.gox. What does your TARGET/libgo/math.lo.dep file look like?