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 1F0FA42A59; Thu, 4 May 2023 09:50:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC88D42BDA; Thu, 4 May 2023 09:50:12 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id 3E9BF40141; Thu, 4 May 2023 09:50:11 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id B90EC6329; Thu, 4 May 2023 09:50:10 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id B7D4F650A; Thu, 4 May 2023 09:50:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED, AWL, NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.6 X-Spam-Score: -3.6 Received: from [192.168.1.59] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 1D34862C5; Thu, 4 May 2023 09:50:09 +0200 (CEST) Message-ID: Date: Thu, 4 May 2023 09:50:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2] build: announce requirement for C11 Content-Language: en-US To: Bruce Richardson , dev@dpdk.org Cc: techboard@dpdk.org, Tyler Retzlaff References: <20230503151413.14915-1-bruce.richardson@intel.com> <20230503173022.22160-1-bruce.richardson@intel.com> From: =?UTF-8?Q?Mattias_R=c3=b6nnblom?= In-Reply-To: <20230503173022.22160-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP 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 2023-05-03 19:30, 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 > Acked-by: Tyler Retzlaff > > --- > > V2: > - add requirement for stdatomics > - fix sphinx formatting > --- > doc/guides/rel_notes/deprecation.rst | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index dcc1ca1696..70c6019d26 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -11,6 +11,15 @@ here. > Deprecation Notices > ------------------- > > +* C Compiler: From DPDK 23.11 onwards, > + building DPDK will require a C compiler which supports the C11 standard, > + including support for C11 standard atomics. The whole of C11, or just the mandatory parts (+atomics)? > + > + 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. >