On Fri, May 20, 2011 at 03:44:07PM +0200, Rainer Orth wrote: > Ian Lance Taylor <i...@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