This patch to libgo adds a missing build tag to runtime/flstack_32bit.go, fixing the build on 32-bit PPC. This should fix GCC PR 78143. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu, which admittedly does not have the problem. Committed to mainline.
Ian
Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 241655) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -7fb11c908ddab4932cc416f16657cec3bc878a1a +4a8df8f8622c140777996786866395448622ac3f The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: libgo/go/runtime/lfstack_32bit.go =================================================================== --- libgo/go/runtime/lfstack_32bit.go (revision 241427) +++ libgo/go/runtime/lfstack_32bit.go (working copy) @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build 386 arm nacl armbe m68k mips mipsle mips64p32 mips64p32le mipso32 mipsn32 s390 sparc +// +build 386 arm nacl armbe m68k mips mipsle mips64p32 mips64p32le mipso32 mipsn32 ppc s390 sparc package runtime