https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #26 from Ian Lance Taylor <ian at airs dot com> --- This should let you run the test binary: cd TARGET/libgo make GOTESTFLAGS=--keep net/check cd gotest*/test LD_LIBRARY_PATH=../../.libs ./a.out -test.short The test binary is simply a.out in the gotestNNNNN/test directory. Run it with the command line option -test.short to see exactly what happens when you run `make check-target-libgo`.