https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83308
--- Comment #7 from Ian Lance Taylor <ian at airs dot com> --- Sorry, I did not mean to imply that I listed all the changes required. I'm sure there will be many more, though likely mostly simple. For the ones you mention, you'll need to add "sh" to the +build lines in libgo/go/runtime/hash32.go and libgo/go/runtime/lfstack_32bit.go.