This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/81393] Bootstrap failure on s390x-linux while building libgo against recent glibc
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Jul 2017 20:32:36 +0000
- Subject: [Bug go/81393] Bootstrap failure on s390x-linux while building libgo against recent glibc
- Auto-submitted: auto-generated
- References: <bug-81393-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81393
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
https://kojipkgs.fedoraproject.org//work/tasks/6506/20616506/build.log
That fails to build:
../../../../libgo/go/syscall/syscall_linux_s390.go:28:33: error: reference to
undefined name 'regs'
uint32(uintptr(unsafe.Pointer(regs))),
^
make[8]: Leaving directory
'/builddir/build/BUILD/gcc-7.1.1-20170718/obj-s390x-redhat-linux/s390x-redhat-linux/32/libgo'
make[8]: *** [Makefile:3331: syscall.lo] Error 1
make[7]: *** [Makefile:2746: all-recursive] Error 1
Guess the each first
uint32(uintptr(unsafe.Pointer(regs)))
line should be actually
uint32(uintptr(unsafe.Pointer(regsout)))