This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch committed: Update to current Go library
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Fri, 20 May 2011 15:51:11 +0200
- Subject: Re: Go patch committed: Update to current Go library
- References: <mcrvcx6jkb3.fsf@coign.corp.google.com> <yddoc2xxza0.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, May 20, 2011 at 03:44:07PM +0200, Rainer Orth wrote:
> Ian Lance Taylor <iant@google.com> writes:
>
> > I have committed a patch to update libgo to the current version of the
> > Go library. This patch includes some minor changes to the Go frontend
> > and to the testsuite. The patch is too large to include here, but most
> > of it is simply a copy of the changes to the master Go library. I have
> > appended the changes to the files which are not in the master library.
> > Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
> > Committed to mainline.
>
> This broke Solaris bootstrap:
It broke Linux bootstrap too.
<netdb.h> includes <netinet/in.h> which has:
enum
{
IPPORT_ECHO = 7, /* Echo service. */
...
IPPORT_RESERVED = 1024,
...
};
and later on has:
#ifdef __USE_XOPEN2K
/* Highest reserved Internet port number. */
# define IPPORT_RESERVED 1024
#endif
mksysinfo.sh then manages to put const _IPPORT_RESERVED into sysinfo.go
twice.
Jakub