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 8BE6942A50; Wed, 3 May 2023 17:39:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CC4642BDA; Wed, 3 May 2023 17:39:24 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2074.outbound.protection.outlook.com [40.107.220.74]) by mails.dpdk.org (Postfix) with ESMTP id CF84D410F9; Wed, 3 May 2023 17:39:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RyXTMFk5i8crQ4xGVX6Qu9aCjB8J1e1JkWAsJzHkCTfOKXyYa67EGKzpAsh2cZIfGAgYRGXJd7tLSCz/+b+Y5/7GwMhqwmIitsBcQJfS/Bg3Xme9fdZ5029N+BTAG5XFnBKa1vaCj0ZmO/su4aGwhTQbnwM12XebYVtqnl/sKVTrjitbR2rOYMvAte/EN9lifrmP6/q9aLwcmU0/WQdM043B8cSevqs3liB8+rWvehZGZ7KFeR32Wu3CKHbcF08i3KkVfeH1a5GpfpupWmt/GPvCirZPPWF+dDLyxRWFWKieEJ/JpcjeHIwi0dkBfvvPmrUuKYTqHLtArbbGrE31Mg== 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=TYttG7ulQQg3qKHjQu+wBhqBMJ08IRT7pGo3Qtc7T1g=; b=OJ9+NnesSk7XShOX5pjKwWqG47V9HqxirlGhRMm4ODNi22P04NHU/sY7QJAJrqoM4N8zOSTcIcdfzItCzPeCJ/S5vwkZu8PPZ9YuqHJzd57e9cEWTyJB/j/i/k6wP7A2UG7o+wEkF1evR6tDNhTyPD8tPx8V4D8stI7QJ9tFruczwXzUAbFUM2a2cFYvjM0zg5x7XYPe+M2g+Z6YP0C/okhEfZnvPi+kuBpg4ST8BtuugB3aVcEJqSbIjJNa4ONQuMPacqfZzgwUUnXmwqG0KPiFjD9Jwp4jd3wt06/0Ot7pPtOoaVQIcA/b8BJgyf6Ctk29TXEn6p4om2aBjJ81cg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TYttG7ulQQg3qKHjQu+wBhqBMJ08IRT7pGo3Qtc7T1g=; b=geBaFQGi7eHRs49hycMN8QPteRXDV5nBZ2z0DdTPjOh8/xg5yor8PDOw0O6UMjxl5Xh+Uzs0CWZzmWckeOQh3RTQPXHMkXZkMSRQjpgE1X9AopWPvlUlJ1rW39cICms5qql0VnCioNG6hjiVluRGcDayYJnO7cuopXwYfMSHPVc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.22; Wed, 3 May 2023 15:39:20 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::e818:77ea:75b5:f8cc]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::e818:77ea:75b5:f8cc%5]) with mapi id 15.20.6363.022; Wed, 3 May 2023 15:39:19 +0000 Message-ID: <109ffc3a-faad-eef2-b44a-5838c4c2f184@amd.com> Date: Wed, 3 May 2023 16:39:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] build: announce requirement for C11 Content-Language: en-US To: Bruce Richardson , dev@dpdk.org, techboard@dpdk.org References: <20230503151413.14915-1-bruce.richardson@intel.com> From: Ferruh Yigit In-Reply-To: <20230503151413.14915-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0324.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::23) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN0PR12MB6101:EE_ X-MS-Office365-Filtering-Correlation-Id: e183d3c7-3a76-49bd-5943-08db4bec8f7e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cj+SJgeQkLgZw1QZ1NVtHAtaPvOQ+lqBiWCABkkc6gXgVakxIZYYxdTgtVOirImCIGAnzpqkXiNxdSCGpv4hrD5NUznmpCNXB28f/NYOtTduLT0cdi0o2fqCfZYYnBsgap+Oxmdbo4u4p0hdS19k16USW729xLA3tusWEQEj/s1utrAi0WjMB4yNXO2GuHhrrfidPE7CnkqI5VOnOYhyKHtA1kdivJPdjSJ3oeCB3Nv6bmxfpDlsH0V/JU9JGmeyOu1/fQM1aMFcLIbZecpVuXG3hkHdQ8FZgNzjJrkiUI8kH0qmpCGtcexc0b/bYqW/7NE84Q0pLRgCyXUaRb5oXdKykq6grUqNaF/sIYJRPSDOuN9uiqa97r8ei4//np8cq9feH4oLCOfpklSsCpJaHfpz3rkvTfLROKVQpPxqQrLDQRLQ0S7c8YyncY8mRSulvGxgzKh2EradbZ4lv4HeshfHRIgHuf5kB9H7D9FRVQVRN5L2OLE683S1TgdT8IRLMcpL4x3tJpZkBjgGnYx42A6gjGQ4/FWNxiVxul1F1nJv4YxMVcIJfcNPPU1xTekLJ0ikRpT4GDIIm8YsJUhaxunppxNoyQ+iAflm9/7z6tSFCFbJIxHhXKkG5pzFuu6kQ5ApBxRqL3oW49OO9XAxrQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(39860400002)(396003)(346002)(376002)(366004)(451199021)(966005)(6486002)(6666004)(83380400001)(36756003)(2616005)(186003)(38100700002)(31696002)(86362001)(53546011)(26005)(6512007)(6506007)(66476007)(66556008)(2906002)(66946007)(316002)(8676002)(8936002)(478600001)(44832011)(45080400002)(5660300002)(41300700001)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eXF6SERxR2x3ZVJyVUY3OVRjS1M5d1RRYytPL0ZXdWUyU090SXhOY1BocWRn?= =?utf-8?B?WEFjRk9HVkJGdm5IUTEzV2pYUGlPNnl0MnRleTI4L3JmU0F4LzJVVXhnenhp?= =?utf-8?B?cFY5NVorbFFUZlk3RUVaTHpxTStCeG5xNTl0MmlWOWtEUDQrR2ttc3pJSnpL?= =?utf-8?B?THBwdVFqQTF5dXIzUThaRVRseC9YK0diT0ViUDVTWFFXRGY2Y1ZwV0szY1JM?= =?utf-8?B?WGlRdzlFSVl3TW8xdW5BTnh1Tk5URWU2dkE0TUNnbUpGbllwZDk4cU9RYytN?= =?utf-8?B?RS9wNlBaVGg1bE5qQkFOQkFDOFhmQThJUGhaRThtNS8yYnM0SHptcXUxY0xp?= =?utf-8?B?TUhiWU5Ebis5TEVIU0JUV0pzTmVBdUlnTzA0TGMramV5Q0lwRFBCUXRJeE1O?=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S-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2023 15:39:19.7532 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z1E30S0qpiKN5uR6uEYkGPDfym6Yz2p4jUsqL7BxkE/Q0r2MvHag0Ng/ujzW90rO X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6101 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 5/3/2023 4:14 PM, Bruce Richardson wrote: > Add a deprecation notice informing users that we will require a C11 > compiler from 23.11 release onwards. This requirement was agreed by > technical board to enable use of newer C language features, e.g. > standard atomics. [1] > > [1] http://inbox.dpdk.org/dev/DBAPR08MB58148CEC3E1454E8848A938998AB9@DBAPR08MB5814.eurprd08.prod.outlook.com/ > > Signed-off-by: Bruce Richardson > --- > doc/guides/rel_notes/deprecation.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index dcc1ca1696..9a391d2c49 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -11,6 +11,12 @@ here. > Deprecation Notices > ------------------- > > +* C Compiler: From DPDK 23.11 onwards, > + building DPDK will require a C compiler which supports the C11 standard, or later. > + Please note: > + - C11 is supported from GCC version 5 onwards, and is the default language version in that release > + - C11 is the default compilation mode in Clang from version 3.6 > + > * kvargs: The function ``rte_kvargs_process`` will get a new parameter > for returning key match count. It will ease handling of no-match case. > This only applies to DPDK internals, right? Application linked with DPDK library won't have this requirement, meaning DPDK public headers won't rely on C99 and C11 features. Although this is a deprecation notice for DPDK, if above is correct, does it make sense to highlight it to not confuse users?