seen with trunk 20201127 on mipsel-linux-gnu: cpugen.go:2:7: error: redefinition of 'CacheLinePadSize' 2 | const CacheLinePadSize = 32 | ^ ../../../../src/libgo/go/internal/cpu/cpu_mips64x.go:9:7: note: previous definition of 'CacheLinePad Size' was here 9 | const CacheLinePadSize = 32 | ^ make[10]: *** [Makefile:2962: internal/cpu.lo] Error 1 make[10]: Leaving directory '/<<PKGBUILDDIR>>/build/mipsel-linux-gnu/64/libgo' make[9]: *** [Makefile:2292: all-recursive] Error 1 make[9]: Leaving directory '/<<PKGBUILDDIR>>/build/mipsel-linux-gnu/64/libgo' make[8]: *** [Makefile:1184: all] Error 2 make[8]: Leaving directory '/<<PKGBUILDDIR>>/build/mipsel-linux-gnu/64/libgo' make[7]: *** [Makefile:3203: multi-do] Error 1 make[7]: Leaving directory '/<<PKGBUILDDIR>>/build/mipsel-linux-gnu/libgo' make[6]: *** [Makefile:3156: all-multi] Error 2
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>: https://gcc.gnu.org/g:eafb46ce90c23efd22c61d941face060bb9f11f3 commit r11-5591-geafb46ce90c23efd22c61d941face060bb9f11f3 Author: Ian Lance Taylor <iant@golang.org> Date: Sat Nov 28 11:29:25 2020 -0800 internal/cpu: don't define CacheLinePadSize for mips64x For libgo the definition comes from the generated file cpugen.go. Fixes PR go/98041 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/273866
Fixed on trunk.