From patchwork Tue Apr 25 15:00:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 87471 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3468523vqo; Tue, 25 Apr 2023 08:01:04 -0700 (PDT) X-Google-Smtp-Source: AKy350ZsgkKK32JL9E9tfJs9thuCrvzIRrDWkqWO0kwq+GEnIy+QxpPSnquvPjoYS7GEAaoGuqTG X-Received: by 2002:a17:906:17d6:b0:94f:3728:7047 with SMTP id u22-20020a17090617d600b0094f37287047mr12641831eje.6.1682434864507; Tue, 25 Apr 2023 08:01:04 -0700 (PDT) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id mb21-20020a170906eb1500b0094f3023fe7fsi10036485ejb.373.2023.04.25.08.01.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 08:01:04 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=a8gQ8EVH; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1DD143858416 for ; Tue, 25 Apr 2023 15:01:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1DD143858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682434863; bh=zY3JMPyQUPxFzu90dfxOyZP44M3gFW0atsgw9bRcYxo=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=a8gQ8EVHW09q37mwFMi9jtfaVkrXP+Uts/oEX9YddfANLf1P9KiwhiqKt431hYGU2 ngh33f/W8ri56ovXNm77tVhom8Q69N500CTfyz/eOggJLS48EIMPlaQoi5fGMnG5BV 5inLXoJlPnzQBbbrtp1bsEJf3Yb0BvDjWtDrQADA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2044.outbound.protection.outlook.com [40.107.247.44]) by sourceware.org (Postfix) with ESMTPS id 758BA3858D32 for ; Tue, 25 Apr 2023 15:00:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 758BA3858D32 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VluGtGbksn4i23vzLolq+56zI7WipcOhhVvyrZykjXRP2rzVybc7QAHMtOQk6NTUuYjFQ0xDWaHHLuHez6vW3nLa2IB/SXm35XCJc5POBFPhNlX7MvQA0LqxY2C4Zn3oqfd3N2tfVhJEV10Og/0PFaam7kT0ak2+FcKGL68GkmS3yj8st4S3/M7vi7ejMTNY1a3m6ua1dUIH3MiUqw2SrDw5Ffbxnch5SzKLnoNxE1z9AW+UsZPoS8pjLA42zUR6VuAwSF9/CExxnYr4AUJHS6A7l7eeEt8VLqIV0hMosClG/mdGUUQZ9Nw6am9tgZ1sBob/dzJKnqDani8CCNqD9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zY3JMPyQUPxFzu90dfxOyZP44M3gFW0atsgw9bRcYxo=; b=iZ+6YzZ7fkyk4v/gX4dGdvooRCEfJfY7MqOHfXusAhk9YKF/xs0IdrhNU1qS0aYSTal0nmOR1BLMQiMXOwbKR80qa1tOYjyizbHp9zDs9YTFZXzZ5Jnb1IfaCKs3s5Rov48sVHJv56yx6/CtIq/jA3a+6IA0cRostboJPGkE00ZBmHqBbApnKXoqligNzbA1mqk6RV8me5cOLoPAmGF8Q3EHkA11CD378QDkedOxskBu9UcSMoiGmyRWB5bB4Idw8BDSllZbEvxVxwfHl3AMtmYrdyedJRe6PdB3YtyQgBE2zWuhS0lM6ZTUhT3cFfNnYgPDlKAw7eBfks0SH1FwkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by GV1PR04MB9053.eurprd04.prod.outlook.com (2603:10a6:150:1c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34; Tue, 25 Apr 2023 15:00:14 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::52b2:f58:e19:56ae]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::52b2:f58:e19:56ae%2]) with mapi id 15.20.6319.033; Tue, 25 Apr 2023 15:00:07 +0000 Message-ID: <27a0e26d-dd2d-5072-613c-8fcce513eaec@suse.com> Date: Tue, 25 Apr 2023 17:00:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: [PATCH v2] testsuite/C++: cope with IPv6 being unavailable To: "gcc-patches@gcc.gnu.org" Cc: Jason Merrill , Nathan Sidwell Content-Language: en-US X-ClientProxiedBy: FRYP281CA0018.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10::28) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|GV1PR04MB9053:EE_ X-MS-Office365-Filtering-Correlation-Id: d07d6a6b-250a-4b2c-e56d-08db459dc252 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eXbDMFdb5Nv5Co8gyuN25CnYy3vkN8kNemPteDjKpYye+Ckh2MfH4ylm8esBPjsA40LKSoqmnPym/MKvrs0YNdLxcNYRjMGxEoBv8tscvNUZQDrs3BASSpAa50WyLEdr3gKPZW6A0Nr2C/I0bw8DjbX+EzphPG7nTjgWcBLFOL7TPHNSglOKkdZxQeB1hGAZ2K2AkQ+8ogl/7bZAKVazsIxe2cF1j8/g1O136/0oMrT94RZeOkjI21wPBsa1PCQhs7ylVtMjHwuIPnYPKA3TxPePIWir5X0HOT0Hx7qDAfPRAVWs7CYQJA/XPRlOL+BTKgbEENAPU5OQvy2kCpcSm2VWFEqEL/aFtla9wQMQcdG4IvsUoToErAoPNh8Y1d6AISRx4wcAJYcAmB2a35ZFjL6oBl7wUK+sce19bcFsDRhMpQUArsNoaZ+L7Rddp3RRPTGD0qlxkXHJe9GntxO+U68pvtTNrTK76H9q/DDrO+89gR3iopXhvhlRz3RQlEuoZl56zfOxlxUrPzvwFM8ptGbCZSO4pLUKpszSneMkb2POK+ceHsf6zV4FXZ/Zfg3pEG5Ma0IDlx0lRftdnACmo3Nf73fb549b1GDi/n5tw2ZKm+NRG6mhw45dUsDZivgAfPB/Sw9RoW1dGO1cyFKKRA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6560.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(346002)(396003)(39860400002)(366004)(376002)(451199021)(186003)(31696002)(54906003)(478600001)(86362001)(36756003)(6486002)(38100700002)(2906002)(4744005)(5660300002)(8676002)(8936002)(66556008)(66476007)(4326008)(6916009)(66946007)(41300700001)(316002)(26005)(6506007)(6512007)(2616005)(83380400001)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?voFP/4lQXNeqDq4gZXC7HRcM9AuR?= =?utf-8?q?62xqO/htMe8uUIi9BhCUU0roUOftkdgA5JjMsT7vXW/F2qHh+Jy7WBn3DOWP6Wcmb?= =?utf-8?q?73pVu0vxeWQwfi80AKvu8xSsWHTfdA/ZWXOUGuI4IrgTvi1DbxvO9D6i2LZgfpETO?= =?utf-8?q?LoMtrgZ4b/jypcGW5wpJwNUP1wMTtRG7Uz/su6cK9bNJ7C5BFZuxjEdcB8c/NzxSL?= =?utf-8?q?HO3YPhLng2A2ew38zZCcCWJyagC5bwVgijX2OjNI8QAMZ/oDtZKEyP7mfgbbtHUfM?= =?utf-8?q?ZmqWX61/sVZRIf+i9o9F5IdExoZiOp26GheuWrkhdVVhe1iDLEgLTOBSboimvMM2I?= =?utf-8?q?hHVygGUge8Q/HwYzYP9K6068joiit6XetZJy97nNG5ZzscGJtLLMP57jrVmCNmX3a?= =?utf-8?q?bgZ3LW5VNTDStTcr897TB3R6EuwMtFHo9ov9StvG5kGL9+d0YpUWOjPbjLOY9sK1p?= =?utf-8?q?f9Qb69mJ1f5JFip1Y1qia4pCW1RyouxJNOZ4Sk8auCBqXXvr09zg7pjNxwSJTp3bi?= =?utf-8?q?+k4gQolkQUbMBMzRfswBcBzRMZSHZ75C9Av4lVRA/b+Ix4C6dIIOic8F5BAMpDMsF?= =?utf-8?q?cfcCsEmLVMGoISmdZgfP3G8odGfA0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mHTpLkoCgtxqHz9ZRVFn9BmJ8XqLsmwH7t8ysfJTtT?= =?utf-8?q?vj47Sb9xZ7u/?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d07d6a6b-250a-4b2c-e56d-08db459dc252 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 15:00:07.7663 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bKGTNBcv8wnWJkfYDH4xbTenLqOMQlsDxkK7whpFkZshG4vuw0qvsjI43ceXBhtUYY//5taQVFLVTHTqt8mcpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9053 X-Spam-Status: No, score=-3027.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: Jan Beulich via Gcc-patches From: Jan Beulich Reply-To: Jan Beulich Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764160820243785710?= X-GMAIL-MSGID: =?utf-8?q?1764160820243785710?= When IPv6 is disabled in the kernel, the error message coming back from Cody::OpenInet6() is different from the sole so far expected one. --- v2: Re-base. --- a/gcc/testsuite/g++.dg/modules/bad-mapper-3.C +++ b/gcc/testsuite/g++.dg/modules/bad-mapper-3.C @@ -1,6 +1,6 @@ // { dg-additional-options "-fmodules-ts -fmodule-mapper=localhost:172477262" } import unique3.bob; -// { dg-error {failed (connecting|disabled) mapper 'localhost:172477262'} "" { target *-*-* } 0 } +// { dg-error {failed (socket|connecting|disabled) mapper 'localhost:172477262'} "" { target *-*-* } 0 } // { dg-prune-output "fatal error:" } // { dg-prune-output "failed to read" } // { dg-prune-output "compilation terminated" }