On 06/23/2017 07:25 PM, Ian Lance Taylor wrote:
> I committed that change to GCC trunk and GCC 7 branch. It seems
> clearly correct though I don't know whether it will your specific
> problem.
I tried again on both mips32 big-endian and little-endian with gcc-7 (r249793)
from the gcc-7 branch (snapshot taken on 2017-06-29).
Still fails, unfortunately:
(sid_mipsel-dchroot)glaubitz@eller:~/golang-1.8/go/src$ GOROOT_BOOTSTRAP=/usr ./make.bash
##### Building Go bootstrap tool.
cmd/dist
##### Building Go toolchain using /usr.
bootstrap/cmd/internal/sys
bootstrap/cmd/internal/dwarf
bootstrap/cmd/asm/internal/flags
bootstrap/cmd/internal/bio
go build bootstrap/cmd/asm/internal/flags: /usr/bin/mipsel-linux-gnu-gccgo-7: waitid: bad address
bootstrap/cmd/compile/internal/syntax
bootstrap/cmd/internal/gcprog
bootstrap/cmd/internal/obj
bootstrap/math/big
bootstrap/debug/pe
bootstrap/cmd/internal/obj/arm
bootstrap/cmd/internal/obj/arm64
bootstrap/cmd/internal/obj/mips
bootstrap/cmd/internal/obj/ppc64
bootstrap/cmd/internal/obj/s390x
bootstrap/cmd/internal/obj/x86
bootstrap/cmd/link/internal/ld
bootstrap/cmd/asm/internal/arch
bootstrap/cmd/compile/internal/ssa
bootstrap/cmd/link/internal/amd64
bootstrap/cmd/link/internal/arm
bootstrap/cmd/link/internal/arm64
bootstrap/cmd/link/internal/mips
bootstrap/cmd/link/internal/mips64
bootstrap/cmd/link/internal/ppc64
go build bootstrap/cmd/link/internal/mips: /usr/bin/mipsel-linux-gnu-gccgo-7: waitid: bad address
bootstrap/cmd/link/internal/s390x
go build bootstrap/cmd/link/internal/mips64: /usr/bin/mipsel-linux-gnu-gccgo-7: waitid: bad address
bootstrap/cmd/link/internal/x86
bootstrap/cmd/compile/internal/gc
bootstrap/cmd/compile/internal/amd64
bootstrap/cmd/compile/internal/arm
bootstrap/cmd/compile/internal/arm64
bootstrap/cmd/compile/internal/mips
bootstrap/cmd/compile/internal/mips64
bootstrap/cmd/compile/internal/ppc64
bootstrap/cmd/compile/internal/s390x
go build bootstrap/cmd/compile/internal/arm: /usr/bin/mipsel-linux-gnu-gccgo-7: waitid: bad address
bootstrap/cmd/compile/internal/x86
go tool dist: FAILED: /usr/bin/go install -gcflags=-l -tags=math_big_pure_go -v bootstrap/cmd/...: exit status 1
(sid_mipsel-dchroot)glaubitz@eller:~/golang-1.8/go/src$ go version
go version go1.8.1 gccgo (Debian 7.1.0-8) 7.1.0 linux/mipso32
(sid_mipsel-dchroot)glaubitz@eller:~/golang-1.8/go/src$