From patchwork Thu Feb 17 17:30:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 1594410 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=LVxiYSEA; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K021x3lyGz9sG0 for ; Fri, 18 Feb 2022 04:31:47 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 38E38385AC3B for ; Thu, 17 Feb 2022 17:31:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 38E38385AC3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1645119103; bh=E9TbpnMWTy48n90Fw/9O74pahin5QK54xiWNrRAjmeA=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=LVxiYSEAf3TGz1A3p4d3cS+9KXjKxL2+JDu1uAqmS6UnIAP+bMP1hYrAxk4Q6YJz9 n+yz88YPGkWNzAlkfaduFN3Tocg9PNxyAVCY9Dr7KvpS7CnRB0WZksZtPR3nhBI0iE 9WG2Exjx5gU9T+vCJy0771z8LNayfY/zQmLpGfkM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by sourceware.org (Postfix) with ESMTPS id E3621385AC19 for ; Thu, 17 Feb 2022 17:30:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E3621385AC19 Received: by mail-ed1-x534.google.com with SMTP id f17so10984934edd.2 for ; Thu, 17 Feb 2022 09:30:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E9TbpnMWTy48n90Fw/9O74pahin5QK54xiWNrRAjmeA=; b=lzyhqBDJMxwRfqmezGLGHtRCWH821MlshziUNWsj+nwEP9W8hGIo0HPtOQahiW4e6t OhCV5E+rU7J43121dUNSX5QGKst2IPt0/WX0zFapMFSzY3W5CMxfCpQPAaKNcUciyVx9 PSGhaMx3lk4zFuSroX3TZjl+qt0RBZs2ze1DHXnQCusbAzId1s7nBRYyn4H/xUiVqhwW hgDq4MD5bkRA3vw0vwbUj8MPd0GYSbyRYP/GXKkTkWycMKztEkQAZj69l3LrwX38s0aQ lAl9IqhASrl0m8rsJzrr+03siVcAL/T90i0FSF+4NcRIxp0sDjCfZnI2pB9+Wu/B+CLS Kdzw== X-Gm-Message-State: AOAM533HTI51SIAoOQH/IogfsAzvlpvSsIzl+tffWN+tIyLvyLXCGE2S HlMQ1mOn18s5dAj/gcX/9DXDq209u5OzHEfE2GPqubC69BnMXA== X-Google-Smtp-Source: ABdhPJwcZz0ASO6cLv/ZDv45kG4YrHvDE6Zi6LH+cvO7IjxxKJ2+8Vg9hUrrFHPbjCxwEMk+ek0Pd5/wUfoDqrheknI= X-Received: by 2002:a05:6402:4414:b0:408:4dc0:3ee9 with SMTP id y20-20020a056402441400b004084dc03ee9mr3661857eda.203.1645119023717; Thu, 17 Feb 2022 09:30:23 -0800 (PST) MIME-Version: 1.0 Date: Thu, 17 Feb 2022 09:30:12 -0800 Message-ID: Subject: libgo patch committed: Add hurd build tag for setReadMsgCloseOnExec To: gcc-patches , gofrontend-dev X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Ian Lance Taylor via Gcc-patches From: Ian Lance Taylor Reply-To: Ian Lance Taylor Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" This libgo patch, from Svante Signell, adds a hurd build tag for setReadMsgCloseOnExec. This fixes GCC PRs 103573 and 104290. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu (which doesn't test much). Committed to mainline. Ian 8ec374f329b72e640bffe3abf8c082f9a287adb3 diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 3742414c828..1fdc5a95d44 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -3742e8a154bfec805054b4ebf0809f12dc7694da +90ed127ef053b758288af9c4e43473e257770bc3 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/net/unixsock_readmsg_cloexec.go b/libgo/go/net/unixsock_readmsg_cloexec.go index fa4fd7d9331..84479e58d65 100644 --- a/libgo/go/net/unixsock_readmsg_cloexec.go +++ b/libgo/go/net/unixsock_readmsg_cloexec.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build aix || darwin || freebsd || solaris +//go:build aix || darwin || freebsd || hurd || solaris package net