From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AD24CA0545 for ; Mon, 20 Jun 2022 17:06:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A064740151; Mon, 20 Jun 2022 17:06:46 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id A1A1240151; Mon, 20 Jun 2022 17:06:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655737605; x=1687273605; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Hiju0dcYmfKOuSKzkNlQRLVBx5bMBQzqn0VT6OZEdto=; b=cW31VF0GuXEGQjUScd7CHIzEHSnXVDFL+ng7z0k97NpXiOJNdHf99O/J 4g99Eux9+Ow9230yr+8AHZAvRkWtwtCfeYMK+Kn4PATG3bbvVhDPW5d2h WWdXbqXVqdjuxb63dkTbnGhCmjPRE0ol9eowbIqNavSCoFuIgp3lj9xUm Maytl+DkxNFqP+X8m8pTPKmj7A+zlpRchTm/y8J80cEuRJxmjUd14P0MD p/+d5ot5m/VaXAEkpGw7bOmCf4aCio2GPDbOu8zo4mD5dDMHzuVLmB9Lc 4VN2Es+C+QDUms7BqM63d7oLQABW8IPoESjJWV/wl5LjoMAa6K9BpqAFg w==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="259738491" X-IronPort-AV: E=Sophos;i="5.92,207,1650956400"; d="scan'208";a="259738491" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 08:06:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,207,1650956400"; d="scan'208";a="833149101" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga006.fm.intel.com with ESMTP; 20 Jun 2022 08:06:20 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 20 Jun 2022 08:06:17 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 20 Jun 2022 08:06:17 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 20 Jun 2022 08:06:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nu7Vgbin+TLXCBXp3QJAbOcsZP6F1wwW0yw7ZXMYmK8yJLy4UpeeAVJku61d7Li8es/FFkxDIRdjJs6/8MNHmJip1loD66s6P6AxrttaS2z0GHCWOO01Y+3z/pyoR8nwpMKQoIq0uqj2v6Hy+thBLTOSHjCSdkeNmpK3+ZK7DytSZo2qq7ES0C+918CO+W+wlT99xA/risb+6mI+vASGzWrvjx7TBXAY86kWcg0n4bTI8eRqkfOMqQk5y5qIWOJDieOS/5yR8rTB+Cnhi5dr4fHsVMnVZhRuNbojxmUReQXJqwUFOAepJ3GA81QD5c2ernwvGjDuGGAKbou0kbelPg== 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=D1JkVEz6rjLNgKq61xk2gU/LNO4eudDtlRsUk+5yzfE=; b=RHE9rwXclvJlmQ8KaFhra6OzjeCNAy96Bhppy5uTHHLbkXiFk/0+XNL0qlVfj45KbKMYl8IYR59sOij/wIEoWENb2aJIdtO7Dr53Sqt5Ha/UwHmW8PEInh3SY1ZUDhUJI9BQ+VWLscS9zd2llxqfSHoM4gF/smKSSel8N3IXMR6iSRoFsAtPWXPJYIqsQ7WZa7aRW3/dZhpKhsqxY7ECy8TcfclVN23xiTnNUrEV3xLEq5zL33qoWmFyCp4N1sfEUSNH2VABV0dJ71qXtZ0bTFcp0kZbhici2R+nbZjr3/eeXCoWxXgWov+WFbpzPkfVtwsyvR6xsl+ijw/2NQhmnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) by SA1PR11MB5779.namprd11.prod.outlook.com (2603:10b6:806:232::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Mon, 20 Jun 2022 15:06:15 +0000 Received: from SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::21c2:10bc:efb:9cf5]) by SJ0PR11MB5772.namprd11.prod.outlook.com ([fe80::21c2:10bc:efb:9cf5%6]) with mapi id 15.20.5353.014; Mon, 20 Jun 2022 15:06:15 +0000 Message-ID: Date: Mon, 20 Jun 2022 16:06:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2] test/ipsec: fix build with GCC 12 Content-Language: en-US To: David Marchand , dev CC: Bruce Richardson , dpdk stable , Konstantin Ananyev , Bernard Iremonger References: <20220518101657.1230416-13-david.marchand@redhat.com> <20220616093320.884583-1-david.marchand@redhat.com> From: "Medvedkin, Vladimir" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0032.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ae::18) To SJ0PR11MB5772.namprd11.prod.outlook.com (2603:10b6:a03:422::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 628b913e-4739-4eb6-3ffe-08da52ce6b9d X-MS-TrafficTypeDiagnostic: SA1PR11MB5779:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PNDJnoHMtK9i4BbTq2WI9ryBjTIW5PTFNRvrKMlFwT30sriVaPJX5JnODvJ2CNC9aloomDTQFQHq24jvzWopFFtbVBH0kEtprz+ECPVKd/6dJOZ38wFYmV2+AiO4hNVsJ8ujhJzAG/CxKUbQDcMka8Zlf1Ah9HRxNGljM40Pmjy71ox7v2OlcrNIToSGRho+jFS/hy7cWZd81O3Vhxvi+N41Dpb5Xjnpy5MNT4whLd1m4twxA0Y6L00MXV1ocse8WzFDSzmpzdL3f14xoPzbRfgxbN7Q/NEViMOZIWJTADxsGZDnXcOqRFCyWNAy8rsyl+nDpUFYrnn7ptpFUFsdMM3tjBb6mx/L0YEPVUxGTpeaNV9d5aE8n7IXx3FgkBOYhir51Sip/h4m5o3tHAKpwHNzMgwHG2vBI7fD7AktOjuhP9GhPZvDphUvKk+PTqr6S3QbILc0HA/Ecp0mo80FbnVgJ0dDWQXPKZZWAK3oSK7d/5VPJvm6KyfCxVd7HmIHny/Fi52ANTCFUsqpMTzLaQJLadw/YZ1K7QDJVdVqwRzr8xWafm2OPnYbe+8ESX1qXY4KKA4Unoxex44BWwSrPreAKEXTc1opm5NPR413g35DrYNgBb2R1D9CWUu8sNNPfPvRPE5rcu2yP9OlWS3/KebX0w5RIjuYxFH52g/VtgIrtwKbvD/RN5pSWazQTET7L1GByiBl8XZRrx1k7OeIBE26wWC34rS0PR1X7hFVfts= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5772.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(346002)(396003)(376002)(39860400002)(366004)(82960400001)(38100700002)(2616005)(41300700001)(26005)(6512007)(54906003)(107886003)(86362001)(31696002)(186003)(2906002)(66476007)(8676002)(4326008)(110136005)(83380400001)(36756003)(8936002)(316002)(53546011)(6486002)(478600001)(66946007)(6506007)(6666004)(66556008)(5660300002)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QS83b2NkY0wyTU1tODNITnRrbHJ4blJSZnZvbVRXZzJwL3pqL1lUa3dJQk9G?= =?utf-8?B?MmJVL213Z3ZFVFVsTk95ajU3OTNzaFJsbjAyVmNDMFpSa0gwUHBTZEZ5Z040?= =?utf-8?B?WG9oZXJObE5IazgrUVU4aXdjWkhZdWlQUFBOTk5BT3llZHRPbTRiZEtzL3hv?= =?utf-8?B?VTl3dTFSK0s0OW5UMUUyNXliakdkNzVHQ1V1RWx2Q0ZLVnVKem9JZU5TLzNP?= =?utf-8?B?RGVaVmp5TXFkREs1VkpXZHVlbkhOcGFDeEZZeGQ4b3oxUThpSHdJZnd1Mk1O?= =?utf-8?B?V2RESk1YSXJ2QTdQM1ZTZ21xanUxNTR4YVNKdmoyK0t0V1EwdkVJN04vQkNL?= =?utf-8?B?aXBOT0pTV0MwTlhX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04x?= =?utf-8?B?M3FaaCtJU0VuaC9RZC8xcENkSldyeG4xQ28zeVZJQ2VwNEY4TC9BdGF1YnlQ?= =?utf-8?B?QXgyODNHWW43NDRnaXdGNVY4QTRpam0vVTVrSzlHNUxwSGxtV3ZNdWlBVFpj?= =?utf-8?B?NDRiZjNwOGpNQTVnYk81Z1JJUExTNGw5bXFFR1lQb1hzQ1BnNWtuOEdadDF1?= =?utf-8?Q?IUv/HpkMOPR56hBA=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 628b913e-4739-4eb6-3ffe-08da52ce6b9d X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5772.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2022 15:06:15.0743 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aIEmtzZENCsN7kdKjFkcJRQ2qItzRo2AxskTuZmQ2cua57OcRCK5tU+FGMugnKD5q85PTc9/OHSVNha9mIhONLkZQg+b+Zfh0OnT3XlP0o8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB5779 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 17/06/2022 13:06, David Marchand wrote: > On Thu, Jun 16, 2022 at 11:33 AM David Marchand > wrote: >> GCC 12 raises the following warning: >> >> In function ‘_mm256_loadu_si256’, >> inlined from ‘rte_mov32’ at >> ../lib/eal/x86/include/rte_memcpy.h:319:9, >> inlined from ‘rte_mov128’ at >> ../lib/eal/x86/include/rte_memcpy.h:344:2, >> inlined from ‘rte_memcpy_generic’ at >> ../lib/eal/x86/include/rte_memcpy.h:438:4, >> inlined from ‘rte_memcpy’ at >> ../lib/eal/x86/include/rte_memcpy.h:882:10, >> inlined from ‘setup_test_string.constprop’ at >> ../app/test/test_ipsec.c:572:4: >> /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:929:10: error: >> array subscript ‘__m256i_u[3]’ is partly outside array bounds of >> ‘const char[108]’ [-Werror=array-bounds] >> 929 | return *__P; >> | ^~~~ >> ../app/test/test_ipsec.c: In function ‘setup_test_string.constprop’: >> ../app/test/test_ipsec.c:539:12: note: at offset 96 into object >> ‘null_plain_data’ of size 108 >> 539 | const char null_plain_data[] = >> | ^~~~~~~~~~~~~~~ >> >> Add a hint so that the compiler understands the copied data is within >> the passed string boundaries. >> > Ferruh had opened a bz. > > Bugzilla ID: 848 >> Cc: stable@dpdk.org >> >> Signed-off-by: David Marchand Acked-by: Vladimir Medvedkin > -- Regards, Vladimir