This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go patch committed: Update to current Go library


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]