seen with trunk 20210102 on sparc64-linux-gnu, while building the 32bit multilib: ../../../../src/libgo/go/syscall/setuidgid_linux.go:19:25: error: reference to undefined name 'SYS_SETRESGID' 19 | sys_SETRESGID = SYS_SETRESGID | ^ ../../../../src/libgo/go/syscall/setuidgid_linux.go:20:25: error: reference to undefined name 'SYS_SETRESUID' 20 | sys_SETRESUID = SYS_SETRESUID | ^ make[10]: *** [Makefile:2972: syscall.lo] Error 1 make[10]: *** Waiting for unfinished jobs.... make[10]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/32/libgo' make[9]: *** [Makefile:2302: all-recursive] Error 1 make[9]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/32/libgo' make[8]: *** [Makefile:1197: all] Error 2 make[8]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/32/libgo' make[7]: *** [Makefile:3218: multi-do] Error 1 make[7]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/libgo' make[6]: *** [Makefile:3171: all-multi] Error 2 make[6]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/libgo' make[5]: *** [Makefile:2302: all-recursive] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/libgo' make[4]: *** [Makefile:1197: all] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/sparc64-linux-gnu/libgo' make[3]: *** [Makefile:22102: all-target-libgo] Error 2
*** Bug 98511 has been marked as a duplicate of this bug. ***
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>: https://gcc.gnu.org/g:f47c00cf95d7dbbe7147c61a4a6bc20921c3da2c commit r11-6489-gf47c00cf95d7dbbe7147c61a4a6bc20921c3da2c Author: Ian Lance Taylor <iant@golang.org> Date: Mon Jan 4 13:10:38 2021 -0800 syscall: don't define sys_SETREUID and friends We don't use them, since we always call the C library functions which do the right thing anyhow. And they aren't defined on all GNU/Linux variants. Fixes PR go/98510 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/281473
Should be fixed.