This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libgo patch committed: Fix type of RawSockaddr Data field for PPC
- From: Ian Lance Taylor <iant at golang dot org>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Mon, 3 Aug 2015 14:18:59 -0700
- Subject: libgo patch committed: Fix type of RawSockaddr Data field for PPC
- Authentication-results: sourceware.org; auth=none
The gc compiler determines the type of the Data field in the
syscall.RawSockaddr type by looking at the system header files. The
gccgo library just has a fixed definition for it. Unfortunately the
fixed definition does not match the header files on PPC64 systems.
This is https://golang.org/issue/11469 . This patch from Lynn Boger
fixes this. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline.
Ian