This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/81421] Circular runtime.s-gox -> runtime.lo dependency dropped -> objcopy: 'runtime.s-gox.tmp': No such file
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Jul 2017 23:24:38 +0000
- Subject: [Bug go/81421] Circular runtime.s-gox -> runtime.lo dependency dropped -> objcopy: 'runtime.s-gox.tmp': No such file
- Auto-submitted: auto-generated
- References: <bug-81421-4@http.gcc.gnu.org/bugzilla/>
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
?