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 D664F42A51; Wed, 3 May 2023 19:32:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B63341144; Wed, 3 May 2023 19:32:44 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id E95BF410F9; Wed, 3 May 2023 19:32:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683135163; x=1714671163; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uMeGdajV9I5qJPj4tlX7/qO5+IfjZpgQ/jzeHC0YWJo=; b=eM7GMp6wt/LIy+Oqn8my9vTU0hwafbW3PKFjq3hapmYvFIXWz9Yab6mj CdkkrE7YfZz/JxJsTJRcA6mJN3QKbSQYrfxwzCeLmsgW39MWO6hU3plQL f/jADzDS7UBVDSiNPxE4hoQnfAHmjNt6hl6cRMc5CEg6rRPmN0OgMCkqr qbNBjGldUS4s5/AuybrKsKd3DOV4lRAPk7Q0UoDTHCbJEKI2DAc71Y26d e2nFPekxLTXiEQA2kvIsPCBHOJgrpwH/QcfgX5w9RM1uKBK7IDIreTe1u TY96Y2QBHoB178ApS/QMbtV3C6noNLl/afp3XOKiGb82OSD8C5XSQCP1k w==; X-IronPort-AV: E=McAfee;i="6600,9927,10699"; a="351692155" X-IronPort-AV: E=Sophos;i="5.99,247,1677571200"; d="scan'208";a="351692155" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2023 10:31:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10699"; a="808355975" X-IronPort-AV: E=Sophos;i="5.99,247,1677571200"; d="scan'208";a="808355975" Received: from silpixa00401385.ir.intel.com ([10.237.214.40]) by fmsmga002.fm.intel.com with ESMTP; 03 May 2023 10:30:47 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: techboard@dpdk.org, Bruce Richardson , Tyler Retzlaff Subject: [PATCH v2] build: announce requirement for C11 Date: Wed, 3 May 2023 18:30:22 +0100 Message-Id: <20230503173022.22160-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230503151413.14915-1-bruce.richardson@intel.com> References: <20230503151413.14915-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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. + + 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. -- 2.39.2