https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91617
--- Comment #3 from Ian Lance Taylor <ian at airs dot com> --- To see how to run libgo tests, see the Debugging section in libgo/README. The problem you are having with runtime.osinit looks related to a recent libgo patch (https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01916.html). It looks like you somehow linked against an older version of libgo.