[{"id":1760729,"web_url":"http://patchwork.ozlabs.org/comment/1760729/","msgid":"<yddpobc17m5.fsf@CeBiTec.Uni-Bielefeld.DE>","list_archive_url":null,"date":"2017-08-31T08:09:22","subject":"Re: libgo patch committed: netinet/icmp6.h require netinet/in.h on\n\tAIX","submitter":{"id":4362,"url":"http://patchwork.ozlabs.org/api/people/4362/","name":"Rainer Orth","email":"ro@CeBiTec.Uni-Bielefeld.DE"},"content":"Hi Ian,\n\n> This patch from Tony Reix fixes the libgo configure script to\n> correctly decide whether netinet/icmp6.h exists on AIX.  Bootstrapped\n> and ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.\n\nunfortunately, this patch broke Solaris bootstrap (seen on Solaris 11.4,\nbut the headers are the same all the way back to Solaris 10):\n\nruntime_sysinfo.go:1504:32: error: use of undefined type '_mld_hdr_t'\n type _mld2q struct { mld2q_hdr _mld_hdr_t; mld2q_sqrv uint8; mld2q_qqic uint8; mld2q_numsrc uint16; }\n                                ^\nruntime_sysinfo.go:1504:32: error: use of undefined type '_mld_hdr_t'\n\ngen-sysinfo.go has\n\ngen-sysinfo.go:type _mld_hdr_t struct { mld_icmp6_hdr _icmp6_hdr; mld_addr _in6_addr; }\n\nwhich is lost in sysinfo.go due to the use of _in6_addr.  The solution\nis the same as for AIX _arpcom, and the following patch allowed an\ni386-pc-solaris2.11 bootstrap to finish.\n\n\tRainer","headers":{"Return-Path":"<gcc-patches-return-461197-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461197-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"gwAMzrvN\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjZmP508yz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 18:09:56 +1000 (AEST)","(qmail 62818 invoked by alias); 31 Aug 2017 08:09:40 -0000","(qmail 62575 invoked by uid 89); 31 Aug 2017 08:09:37 -0000","from smtp.CeBiTec.Uni-Bielefeld.DE (HELO\n\tsmtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tThu, 31 Aug 2017 08:09:26 +0000","from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1])\tby\n\tsmtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id\n\t99CBFF0B; Thu, 31 Aug 2017 10:09:24 +0200 (CEST)","from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1])\tby localhost\n\t(malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new,\n\tport 10024)\twith LMTP id FIsdpDS-cLsn;\n\tThu, 31 Aug 2017 10:09:22 +0200 (CEST)","from lokon.CeBiTec.Uni-Bielefeld.DE\n\t(lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152])\t(using\n\tTLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\t(No\n\tclient certificate requested)\tby\n\tsmtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id\n\t736B4F0A; Thu, 31 Aug 2017 10:09:22 +0200 (CEST)","(from ro@localhost)\tby lokon.CeBiTec.Uni-Bielefeld.DE\n\t(8.15.2+Sun/8.15.2/Submit) id v7V89M7F023490;\n\tThu, 31 Aug 2017 10:09:22 +0200 (MEST)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:from\n\t:to:cc:subject:references:date:in-reply-to:message-id\n\t:mime-version:content-type; q=dns; s=default; b=dKjJEkOKLoNJY7Bd\n\twxHPVsxrfuZ5jZCHiZx26BcGZpmr2JrlHuHej03dY92/Flwf2t8pG1jmbuY+gAxp\n\tDVrnQjvxLgsHHfRBQGg34xpJ8zUYGBQ73FAMcHGCk/uVZsgVaptnv1S0f2VeIQL9\n\t+meP4ZU4bLX6kjeBr+FXxZ8Ou28=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender:from\n\t:to:cc:subject:references:date:in-reply-to:message-id\n\t:mime-version:content-type; s=default; bh=j2B9X8VYKncA4uWmt1ZdoJ\n\t/GbF0=; b=gwAMzrvN1M6rAkhO81XJQd2VgMDtfqZvhtiUBi0T9IJGivCj/1Y285\n\tgGpSgBx2MMdic+Yp+CoVmBNpd9hCiii2QAa6Ibev8NCaDzChTukNopDoA616wu2J\n\tTnhxii8ZuI6fRFH2OO0mdIKnCi2kqrKeAoueUpEE2YVYm5aqd8FtE=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-19.2 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=","X-HELO":"smtp.CeBiTec.Uni-Bielefeld.DE","From":"Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>","To":"Ian Lance Taylor <iant@golang.org>","Cc":"gcc-patches <gcc-patches@gcc.gnu.org>,\n\t\"gofrontend-dev\\@googlegroups.com\" <gofrontend-dev@googlegroups.com>","Subject":"Re: libgo patch committed: netinet/icmp6.h require netinet/in.h on\n\tAIX","References":"<CAOyqgcUg+tjBsfY4qWx=+AQS-EswShQU0tdXD+d=wa=885HTRQ@mail.gmail.com>","Date":"Thu, 31 Aug 2017 10:09:22 +0200","In-Reply-To":"<CAOyqgcUg+tjBsfY4qWx=+AQS-EswShQU0tdXD+d=wa=885HTRQ@mail.gmail.com>\t(Ian\n\tLance Taylor's message of \"Tue, 29 Aug 2017 14:51:58 -0700\")","Message-ID":"<yddpobc17m5.fsf@CeBiTec.Uni-Bielefeld.DE>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v)","MIME-Version":"1.0","Content-Type":"multipart/mixed; boundary=\"=-=-=\"","X-IsSubscribed":"yes"}},{"id":1761293,"web_url":"http://patchwork.ozlabs.org/comment/1761293/","msgid":"<CAOyqgcWqH15x=JbsRhBhRMjFnz0q+r1q2ODx_S6tPVvKMqP5Nw@mail.gmail.com>","list_archive_url":null,"date":"2017-08-31T20:07:57","subject":"Re: libgo patch committed: netinet/icmp6.h require netinet/in.h on\n\tAIX","submitter":{"id":36501,"url":"http://patchwork.ozlabs.org/api/people/36501/","name":"Ian Lance Taylor","email":"iant@golang.org"},"content":"On Thu, Aug 31, 2017 at 1:09 AM, Rainer Orth\n<ro@cebitec.uni-bielefeld.de> wrote:\n>\n>> This patch from Tony Reix fixes the libgo configure script to\n>> correctly decide whether netinet/icmp6.h exists on AIX.  Bootstrapped\n>> and ran Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.\n>\n> unfortunately, this patch broke Solaris bootstrap (seen on Solaris 11.4,\n> but the headers are the same all the way back to Solaris 10):\n>\n> runtime_sysinfo.go:1504:32: error: use of undefined type '_mld_hdr_t'\n>  type _mld2q struct { mld2q_hdr _mld_hdr_t; mld2q_sqrv uint8; mld2q_qqic uint8; mld2q_numsrc uint16; }\n>                                 ^\n> runtime_sysinfo.go:1504:32: error: use of undefined type '_mld_hdr_t'\n>\n> gen-sysinfo.go has\n>\n> gen-sysinfo.go:type _mld_hdr_t struct { mld_icmp6_hdr _icmp6_hdr; mld_addr _in6_addr; }\n>\n> which is lost in sysinfo.go due to the use of _in6_addr.  The solution\n> is the same as for AIX _arpcom, and the following patch allowed an\n> i386-pc-solaris2.11 bootstrap to finish.\n\nThanks.  Committed.\n\nIan","headers":{"Return-Path":"<gcc-patches-return-461231-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461231-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"Qr7WDRDF\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjtjD6fHVz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 06:08:14 +1000 (AEST)","(qmail 9185 invoked by alias); 31 Aug 2017 20:08:06 -0000","(qmail 9130 invoked by uid 89); 31 Aug 2017 20:08:05 -0000","from mail-pf0-f178.google.com (HELO mail-pf0-f178.google.com)\n\t(209.85.192.178) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tThu, 31 Aug 2017 20:08:04 +0000","by mail-pf0-f178.google.com with SMTP id n73so1975970pfj.0 for\n\t<gcc-patches@gcc.gnu.org>; Thu, 31 Aug 2017 13:08:03 -0700 (PDT)","by 10.100.149.12 with HTTP; Thu, 31 Aug 2017 13:07:57 -0700 (PDT)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:mime-version:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; q=dns; s=default; b=C6t+JhoDcyesQoP\n\tytdO8tq6iHELc3XsrVXoyF2PPykjxtwrAhpSEqpHs6U7dLmEkwSpugdOXeDPqt3o\n\tsjFJqq+OdMiw7dyxRe2CE71BQw8ZIfhM1PVQ3UPazC3IElh+gIzJpmbm1PPlSHKF\n\t1YPJG3/ictbddyx04JM2wU1HsBeA=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:mime-version:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; s=default; bh=ifkMAYrdQSh+U49ZfwcNS\n\t0SzMVU=; b=Qr7WDRDFFObr7fQPMxP5L8coGbEwEgDCq2O5OOLaRYzbHT1JdcAlU\n\tdKr0Lp2P8Kyh/UXqjf4bzw0wgM49lTld5MFVf5sFqu887exx+R5TS41nwsNzpoI2\n\tA0UG7GrC/f9MtMFYnJyg5RXQE3+qwom5al7C6s4Y0bbEXOwCkuDXLI=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-2.5 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-pf0-f178.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=Qu4Xt14wneGejRxY4Pp3uYJ1p/hutuV7ppSErNqx+rg=;\n\tb=AmfTAMZK001IvfpwxfJd5piDJGBgKgnRLNQmya8LpsxDhactAGSavRbEtQSeB+3LKU\n\tjjtoxgv6m065l34n2KhdzgmUIJ9sGBuX37oHxrYrAzlzkTkKkauaFR0vJ6DgT3s5jvLb\n\tUvsVhBLvVCIUwGMkyl5alVquL+bG3SWbSa4HwNmGHElNpKfd33D/tEFXOQE1O8ipxZOJ\n\tM2QeT5QifJf8zqT+zLiZLDb18x4G9rT6ZWuhppNeFX4MZYcAil01tQInTnyyj1phn0SS\n\t/eHbSZimNyPgP2oaaX3N9E77AQ1Y66wopBLM+QiEehjx7lbw9r51YJ6tnWJnlGb5YDWG\n\tuF4Q==","X-Gm-Message-State":"AHYfb5gDHxnhRhCJLauL0JLkPSQYlRG0e8v268n4GfwgbE+KZcUwmbSD\t75pKBdhqQifo+daJGCwDbLq576zXq1CH","X-Google-Smtp-Source":"ADKCNb7eSFNDBIY35gDtMU7E0UXjwRXodxTo8gQHCDb++Fn2Z+ZhviXlwEL2OdvmiZrxoaNlpmzRKmcI5+UXSJwm5QA=","X-Received":"by 10.98.204.221 with SMTP id j90mr3568900pfk.119.1504210077570;\n\tThu, 31 Aug 2017 13:07:57 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<yddpobc17m5.fsf@CeBiTec.Uni-Bielefeld.DE>","References":"<CAOyqgcUg+tjBsfY4qWx=+AQS-EswShQU0tdXD+d=wa=885HTRQ@mail.gmail.com>\n\t<yddpobc17m5.fsf@CeBiTec.Uni-Bielefeld.DE>","From":"Ian Lance Taylor <iant@golang.org>","Date":"Thu, 31 Aug 2017 13:07:57 -0700","Message-ID":"<CAOyqgcWqH15x=JbsRhBhRMjFnz0q+r1q2ODx_S6tPVvKMqP5Nw@mail.gmail.com>","Subject":"Re: libgo patch committed: netinet/icmp6.h require netinet/in.h on\n\tAIX","To":"Rainer Orth <ro@cebitec.uni-bielefeld.de>","Cc":"gcc-patches <gcc-patches@gcc.gnu.org>,\n\t\"gofrontend-dev@googlegroups.com\" <gofrontend-dev@googlegroups.com>","Content-Type":"text/plain; charset=\"UTF-8\""}}]