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 0234442A5E; Thu, 4 May 2023 17:24:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82BF041144; Thu, 4 May 2023 17:24:03 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 779E9410DC; Thu, 4 May 2023 17:24:02 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id B314820E9BE9; Thu, 4 May 2023 08:24:01 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B314820E9BE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1683213841; bh=rsOZ8wvOyLlA6EO/U+tjKSYEBm9L8BDoM5vAaGkM8g0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e/3BiEshIL6koyZa6TjZkAr0BcFcAO30auQTkuTIFn0QfP5CKypANbG1zFOVWSs7O gdz3gQOZ68GpB+pto3WwjZuFQ/jvyGwWt9TUXu6emBDpdIYFfmC7wUwPKtvw63nwr/ AVGnoQ2yRJBaVsMjD/jbgVxhJL8Wl13Vrn76aBfE= Date: Thu, 4 May 2023 08:24:01 -0700 From: Tyler Retzlaff To: Bruce Richardson Cc: Mattias =?iso-8859-1?Q?R=F6nnblom?= , dev@dpdk.org, techboard@dpdk.org Subject: Re: [PATCH v2] build: announce requirement for C11 Message-ID: <20230504152401.GA11327@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20230503151413.14915-1-bruce.richardson@intel.com> <20230503173022.22160-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Thu, May 04, 2023 at 09:48:59AM +0100, Bruce Richardson wrote: > On Thu, May 04, 2023 at 09:50:09AM +0200, Mattias Rönnblom wrote: > > 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)? > > > I assume we only need mandatory + atomics, however perhaps someone more > knowledgable about what the optional parts of the spec are, can correct me > on this. Once clarified, I maybe should reword this yet again to call it > out even more specificallly. mandatory + atomics, no more than that. so -std=c11 and __STDC_NO_ATOMICS__ is not defined, that is all. > > /Bruce