https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
--- Comment #6 from Ian Lance Taylor <ian at airs dot com> --- Thanks. Now I see that the runtime.lo.dep file that you attached earlier was in fact erroneous. I didn't see that before. It lists "bytes.gox flag.gox fmt.gox go/format.gox io.gox io/ioutil.gox log.gox math.gox os.gox", none of which should be listed. Also the file incorrectly lists mkfastlog2table.go and mksizeclasses.go. It looks like libgo/match.sh thinks that the files libgo/go/runtime/mkfastlog2table.go and libgo/go/runtime/mksizeclasses.go should be built as part of the runtime package. This should not happen because of the "// +build ignore" lines that appear in those files. What is the output of libgo/match.sh --goarch=sparc --goos=linux --srcdir=SRCDIR/libgo/go/runtime --extrafiles="runtime_sysinfo.go sigtab.go" --tag=libffi ? What is the output of sed '/^package /q' < SRCDIR/libgo/go/runtime/mksizeclasses.go | grep '^// +build ' | cat ?