This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libgo] Remove Solaris 11.1+ zone_net_addr_t treatment
- From: Ian Lance Taylor <iant at golang dot org>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Fri, 6 Feb 2015 08:18:16 -0800
- Subject: Re: [libgo] Remove Solaris 11.1+ zone_net_addr_t treatment
- Authentication-results: sourceware.org; auth=none
- References: <ydd61eww77v dot fsf at CeBiTec dot Uni-Bielefeld dot DE>
On Mon, Nov 3, 2014 at 8:59 AM, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
>
> The recent godump changes broke Solaris 11.1+ bootstrap in libgo:
> before, gen-sysinfo.so had
>
> type _zone_net_addr_t struct { zna_family uint16; zna_plen uint16; zna_addru struct { znau_addr6 _in6_addr; }; }
>
> which was filtered out by mksysinfo.sh due to the use of _in6_addr.
>
> After the change, there's now
>
> type _zone_net_addr_t struct { zna_family uint16; zna_plen uint16; zna_addru struct { znau_addr6 [16]byte; Godump_0_align [0]uint32; }; }
>
> instead, not filtered, but added a second time by the _zone_net_addr_t
> code in mksysinfo.sh, which leads to redefinition warnings/errors.
>
> Simply removing the old _zone_net_addr_t fragment fixes this and
> restores bootstrap.
>
> Bootstrapped without regressions on i386-pc-solaris2.1[01], ok for
> mainline?
I just got back to this. Committed to mainline. Thanks.
Ian