https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535
--- Comment #29 from Ian Lance Taylor <ian at airs dot com> --- The runtime_sysinfo.go is manually generated by mkrsysinfo.sh. I don't know where the _thread definition is coming from, but probably the simplest approach is to remove it via the list of grep -v call nears the start of mkrsysinfo.sh.