Re: [libgo] Handle Solaris 11 Update 1 zone_net_addr_t

2012-03-28 Thread Ian Lance Taylor
Rainer Orth writes: > The following patch fixes this and allowed the bootstrap to complete, > but I wonder if it wouldn't be better to globally do a > > sed -e 's/_in6_addr/[16]byte/' > > instead of the current special-casing of _in6_addr in a couple of places. Yeah, probably. > 2012-03-

[libgo] Handle Solaris 11 Update 1 zone_net_addr_t

2012-03-28 Thread Rainer Orth
When I first tried to build mainline on Solaris 11 Update 1, the libgo build failed. In gen-sysinfo.go, I have type _zone_net_addr_t struct { zna_family uint16; zna_plen uint16; zna_addru struct { znau_addr6 _in6_addr; }; } type _zone_net_data_t struct { zn_type int; zn_linkid uint32; zn_naddrs