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: Thu, 20 Jul 2017 19:57:24 +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 #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #12)
> That is better, syscall_linux_s390.go already compiles, but
> syscall_linux_s390x.go still doesn't:
> ../../../libgo/go/syscall/syscall_linux_s390x.go:28:3: error: incompatible
> type for field 3 in struct construction (cannot use type uint32 as type
> uint64)
> uint32(uintptr(unsafe.Pointer(regs))),
> ^
> ../../../libgo/go/syscall/syscall_linux_s390x.go:37:3: error: incompatible
> type for field 3 in struct construction (cannot use type uint32 as type
> uint64)
> uint32(uintptr(unsafe.Pointer(regs))),
> ^
> Those s390x two occurrences of uint32(uintptr(unsafe.Pointer(regs))) really
> should be uint64(uintptr(unsafe.Pointer(regs))). Let me test that now.
With that change it passed bootstrap/regtest on s390x-linux.