[Bug other/80803] libgo appears to be miscompiled on powerpc64le since r247923
wschmidt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 22 18:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80803
--- Comment #3 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Looks like this arises from this code in libgo/Makefile.in:
if $(SHELL) $(srcdir)/testsuite/gotest --goarch=$(GOARCH)
--goos=$(GO\
OS) --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)"
--pkgfile\
s="$$files" $(GOTESTFLAGS) >>$@-testlog 2>&1; then \
echo "PASS: $(@D)" >> $@-testlog; \
echo "PASS: $(@D)"; \
echo "PASS: $(@D)" > $@-testsum; \
else \
echo "FAIL: $(@D)" >> $@-testlog; \
cat $@-testlog; \
echo "FAIL: $(@D)" > $@-testsum; \
exit 1; \
fi; \
gotest must be spewing garbage into net/check-testlog when $@=net/check, so
presumably gotest (or something it invokes) is miscompiled. It must return
failure to invoke "cat $@-testlog;".
More information about the Gcc-bugs
mailing list