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 868D042A50; Wed, 3 May 2023 17:35:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7794641144; Wed, 3 May 2023 17:35:46 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2E6F0410F9; Wed, 3 May 2023 17:35:45 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 7C69021C4249; Wed, 3 May 2023 08:35:44 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7C69021C4249 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1683128144; bh=AVIkO72moIBz6F5Kwzp/Zeg9Mj9ka0SEC34ATb38gKM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cW57v1T/gX69Oi5ShE3nKTtAUHb8eEhVRTSr2f+kVTWmWeb+sVIh2R6nQuvcJtkcN ekIY/m+UDCFDG4oA3sneJCvDGApiqwV3vYFbz9zN9fonQI2o68UocJu2Ze9Xibs33U HeN52K/sm0rn5ymmBe2uhbv7btBzYxcl9nXssqbk= Date: Wed, 3 May 2023 08:35:44 -0700 From: Tyler Retzlaff To: Bruce Richardson Cc: dev@dpdk.org, techboard@dpdk.org Subject: Re: [PATCH] build: announce requirement for C11 Message-ID: <20230503153544.GB7537@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20230503151413.14915-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230503151413.14915-1-bruce.richardson@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Wed, May 03, 2023 at 04:14:13PM +0100, 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 suggest adding an additional qualification that C11 conformant compiler including support for optional standard atomics does NOT #define __STDC_NO_ATOMICS__ 1 which requires providing the stdatomic.h header and feature. this shouldn't be contentious since both gcc and clang have support. Acked-by: Tyler Retzlaff > + > * kvargs: The function ``rte_kvargs_process`` will get a new parameter > for returning key match count. It will ease handling of no-match case. > > -- > 2.39.2