https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81393
--- Comment #16 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Thu Jul 20 22:03:26 2017 New Revision: 250402 URL: https://gcc.gnu.org/viewcvs?rev=250402&root=gcc&view=rev Log: PR go/81393 syscall: don't use GETREGS/SETREGS on s390 They were removed in recent glibc. This is a backport of https://golang.org/cl/48231 to earlier branches. Define required type and constants in syscall package directly, don't try to pull them from the system header files. Modified: branches/gcc-7-branch/libgo/go/syscall/syscall_linux_s390.go branches/gcc-7-branch/libgo/go/syscall/syscall_linux_s390x.go