Created attachment 577670 [details] build.log The funny thing is that there is at least one "go" configuration that actually builds: USE='cxx -doc fortran go nls -nptl -objc -objc++ -objc-gc -openmp pch -pgo -pie -sanitize -ssp -vanilla -vtv' failed for =sys-devel/gcc-8.3.0-r1 USE='cxx doc fortran go nls nptl objc -objc++ -objc-gc openmp -pch pgo pie -sanitize -ssp vanilla -vtv' failed for =sys-devel/gcc-8.3.0-r1 USE='-cxx -doc -fortran go -nls -nptl -objc -objc++ objc-gc openmp -pch pgo pie sanitize -ssp -vanilla vtv' succeeded for =sys-devel/gcc-8.3.0-r1 The actual failure is this: version.go:61:13: error: expected ‘;’ or ‘)’ or newline BigEndian = ^ version.go:61:3: error: reference to undefined name ‘BigEndian’ BigEndian = ^ I guess the reason is this: for a in I386 ALPHA AMD64 ARM ARM64 IA64 M68K MIPS MIPS64 PPC PPC64 RISCV64 S390 S390X SH SPARC SPARC64; do \ echo " ${a}" >> version.go.tmp; \ done echo ")" >> version.go.tmp echo >> version.go.tmp for a in 386 alpha amd64 amd64p32 arm armbe arm64 arm64be ia64 m68k mips mipsle mips64 mips64le mips64p32 mips64p32le ppc ppc64 ppc64le riscv64 s390 s390x sh shbe sparc sparc64; do \ f=`echo ${a} | sed -e 's/\(.\).*/\1/' -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`; \ n="${f}`echo ${a} | sed -e 's/.//'`"; \ if test "${a}" = "unknown"; then \ echo "const Goarch${n} = 1" >> version.go.tmp; \ else \ echo "const Goarch${n} = 0" >> version.go.tmp; \ fi; \ done Both loops lack hppa.
Looks like ./configure needs quite a bit of plumbing to add hppa support.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2a3ffbf6144abcb45f996985cf3bf31b0985a0f commit c2a3ffbf6144abcb45f996985cf3bf31b0985a0f Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-05-25 08:39:10 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-05-25 08:40:22 +0000 profiles/arch/hppa/package.use.mask: mask gcc[go], bug #686624 USE=go is not ported to hppa. Reported-by: Rolf Eike Beer Closes: https://bugs.gentoo.org/686624 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> profiles/arch/hppa/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)