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 0EE4A41BBF; Fri, 3 Feb 2023 19:00:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1FEF42D10; Fri, 3 Feb 2023 19:00:38 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 495B24067B for ; Fri, 3 Feb 2023 19:00:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675447237; x=1706983237; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=9Br2EYpOpOYtlVh8aGO4w6feaTcjuEGSvxb4L6WJdt4=; b=b1zgeG3FEYf4+jm8Ki/O9SnXOE9duSRGx/2SRyj1lIAXqocw03kxtqWL N7nnOM/q3IbqegDQyAXMj6uFCtU6P+APZNsU1QiLL4OyuzyDRdJLawfRH OBTvSRXqz7WscHx5XTrvf1xvFK8v2CMgFy8weqKmEmrDPn+1gfbZ9MyvS fHU7SUqLTKtXIH68K9Ys4dSqPXCHTDB5H4Bp5BaxiCNPrz5DSkB+pRUa4 hwZVmEDsgz/VUeO6vFA3XqGYoLYGb/yMsca9IP5W/IFk47PKHcOwyTlhu U0iJgtrT8MRn9zA86iR0WHHWaAjHqdo+pl1trrnM2IMkPB83HmPP6Hlhy g==; X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="327447855" X-IronPort-AV: E=Sophos;i="5.97,271,1669104000"; d="scan'208";a="327447855" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2023 10:00:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="729333034" X-IronPort-AV: E=Sophos;i="5.97,271,1669104000"; d="scan'208";a="729333034" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 03 Feb 2023 10:00:13 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 3 Feb 2023 10:00:12 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Fri, 3 Feb 2023 10:00:12 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Fri, 3 Feb 2023 10:00:12 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=In8vRXj/IMndiizbopzHmDuFn+CnbMgQEJ/X+E1bg18jv4rpYomi0GJpyWTFsD+mw8zuTFOB/emh+NyKV1geN54T7lcUttREvZCg+i8EBGzJANGBhoVyhuLIjF8A8IPw+QchoC1/IJ5ZdhNnzyyUBF/vGc+Put6Ux1IDwMvUcdmrAHqgstpDLQAGbKiCK8ccf+26XLyvyhZmVrWhhtUn1EL33SA5YVZIwlDT3NtkPb57RwS9d1rCGHvOa1svZlI91W9l5ZwnUu4o31tVRa2TvlbXklQpyuKPy6gvVi3jB2SudQTkyf34QOCAjNsMR1fWTNtr3e5bwUGK12RFakcMJA== 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=3iP2E23wo6AuBEZfWqKqkB8zazClhUSlTdIkaBAhfWw=; b=NoR1OCJESJaXMSjU/7mwtlPM9Wo73NTJpPjX4WN917iXUfwONQnvePcKnnPMoXPBySClYW4Q9ivIWCH7qciMPaTilqY9buAojibQhWyXNKUfHHTLAJln0GbDQzaey7qq/xXyEYXduPpMSUZZxIq8jbYmJSuD+nCF4JlUMUpY6RKwfbAPlVha8AHaID71vfB8+2R6AVgFCP6tlZWB9hhrd627XVmBCpH8Wyo77K5kJmfLIiSM+KpQOYahLXBwFFKNNwI99ixV8eT9GIyb/ZgoHSGbMXc3/YdqvbvkXh499/XXXKLIdTpTpLYRoX180r6E6I3ozSRe80gqt0Vcdd3anQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by MN0PR11MB5987.namprd11.prod.outlook.com (2603:10b6:208:372::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.29; Fri, 3 Feb 2023 18:00:10 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::aaba:abb7:8794:def]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::aaba:abb7:8794:def%7]) with mapi id 15.20.6064.024; Fri, 3 Feb 2023 18:00:10 +0000 Date: Fri, 3 Feb 2023 18:00:03 +0000 From: Bruce Richardson To: Ben Magistro CC: , , , , Subject: Re: [RFC PATCH 0/1] Specify C-standard requirement for DPDK builds Message-ID: References: <20230112113556.47485-1-bruce.richardson@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO4P123CA0243.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::14) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|MN0PR11MB5987:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c73c5ba-4fc1-4daa-1393-08db06107db4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HdPnfD2A1dtnzj07Dy58aK/4AYA84mYV46mxslGpSo4wY5Pc3n7DdkYziRWM8tZzXinRbbqEV52jZko+/G7qiUVVtqvs2QOTEuhCLigYOz/gPY0a7Mg8mrq5Ez6+wtQEoSoc3LMETaH6AROD6j+jVcgkX8tRcR0R3r7PGLTQaBzbKWEjQnikxg3otc2jacACFiXrPXNS9lYWHPKAIMtfjmmTIKTF1lxsEb7z+J6kPFjW7YAvGYqiCdRu/Cn6djE2P+kvF5FvAMYnRQIp7TdtSqxInMJockUmuoOct58Sqbwi/G6VxJ8n8EXv2QHTyUmMOuWm1s0qUcHdV/4+fGF/1B/dy30L/1gXKnQMZcn5i61o9m2hg1A2cXdS5skBnhGHVpCXHo/9N/D99wMmwYZfH33tSIJz2ib92st8HoWuDDuXClga85QLRiUty/De23KX6z9Dhz7QSbd95ltf30ZUgpEormuxzgKbztwlmlugFPnwmXTrWwTTBGAm0LzhrBhfjd1P54RynSioZkoZXVahvs+sTqLe6oeM4fdzmgog3xZdzqDw0rDRpYgkknEy4DQchPwd27rkf7FENgoeCjYTrY+kByIfUUEqHiW3sC6ysruxDs8gvCLhoMIkE1vSgqcU8UqzX1vSsdBjIkGMAAxp2JNR2vX7NpZvotrMyxKtrdY= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(396003)(376002)(366004)(136003)(346002)(451199018)(41300700001)(6666004)(6916009)(66556008)(4326008)(66946007)(66476007)(8676002)(2906002)(86362001)(6506007)(83380400001)(8936002)(82960400001)(5660300002)(186003)(44832011)(38100700002)(26005)(6512007)(6486002)(478600001)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?KCNj9352Y72H+Ym5l8y/lX9fU+1Xbx7m9s1d87mXL6dyrAsLj31zNlbSTMqK?= =?us-ascii?Q?d+JqiAaMvDkTUX0g303N05c06XdRablMb0aM31CYzFwv72v84E5c/x3ieBxh?= =?us-ascii?Q?KDIasLX2sepbyhazGjITJDklodB2pdXENPA38huJ3S7bxqHbAQJxugsZAFrx?= =?us-ascii?Q?OxpQio/+bXNoqxbTsx7/3M6TL4lNl7Jj0JjOfkAFBHfDP2Ff+mDtu+QkhdUB?= =?us-ascii?Q?T/oMO10uj1sk1FPoP1HLFrmqi8qCLAK5eKEyuxIBEMwjcbwF3yh0eWQ7CggU?= =?us-ascii?Q?Ywu2UYZlLe5M6SZJaCY7p/hdkm3OZQCai1Y/GIWNAtDSZhtYv0y7ZOfd9o5A?= =?us-ascii?Q?LBgGWNwscj7gHUEUT+IVCjF4EAPWRzlP9WAYcQ4al/jMdwwXZtyvqy4NZHNU?= =?us-ascii?Q?CwRXYQ/gtffi4qcEFVDhHXQpzuXc5Q6nc2KetjNWbcWQTd3zn8rZrJOu091D?= =?us-ascii?Q?ebBlGB/wV9EsVp+qoCzNbrJsemL8CxeFbOHfczvtsvNAdkG9YXX9ZEHmNf0V?= =?us-ascii?Q?Bijp2rjxSUgsX7gC3OrCyCIuT0SExACU8GK2R1Uxi8q0+iJ6KX9nEhdseFGp?= =?us-ascii?Q?M8Owyhw9Fx4xL5aG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us-ascii?Q?hztAKN9ef5Rsljegz08CdlY10D/VH6Uy1EXjk8C64BsVV9rSHscjlJ7+NrTx?= =?us-ascii?Q?qygKAKRsu9Z7Nmi7njs0PFqxAp9Tdoe8wy5BHXEIC7wLUZbRvSbQZCYaaskv?= =?us-ascii?Q?0nVjmmqG4rGpJn/OQeNuK74=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4c73c5ba-4fc1-4daa-1393-08db06107db4 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2023 18:00:10.3924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yR6t3DbQ3y5kYxfN3lS4fsWMUQA2J7yoKsCISQkWkrLFYa0NBNK/UTDhb3FucdDbqGVopPVfNgbOx+UCU4oGjYyKXdgNfGNXYhbgv5wh2MU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB5987 X-OriginatorOrg: intel.com 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 Fri, Feb 03, 2023 at 11:45:04AM -0500, Ben Magistro wrote: > In our case we have other libraries that we are using that have > required us to specify a minimum c++ version (14/17 most recently for > one) so it doesn't feel like a big ask/issue to us (provided things > don't start conflicting...hah; not anticipating any issue). Our > software is also used internally so we have a fair bit of control over > how fast we can adopt changes. > This got me wondering what some other projects in the DPDK ecosystem > are saying/doing around language standards/gcc versions. So some quick > checking of the projects I am aware of/looked at/using... > * trex: cannot find an obvious minimum gcc requirement > * tldk: we are running our own public folk with several fixes, need to > find time to solve the build sys change aspect to continue providing > patches upstream; I know I have hit some places where it was easier to > say the new minimum DPDK version is x at which point you just adopt the > minimum requirements of DPDK > * ovs: looks to be comfortable with an older gcc still > * seastar: seems to be the most aggressive with adopting language > standards/compilers I've seen [1] and are asking for gcc 9+ and cpp17+ > * ans: based on release 19.02 (2019), they are on gcc >= 5.4 [2] and is > the same on the main README file > I do understand the concern, but if no one is voicing an > opinion/objection does that mean they agree with/will not be affected > by the change.... > 1) [1]https://docs.seastar.io/master/md_compatibility.html > 2) [2]https://github.com/ansyun/dpdk-ans/releases > Cheers > Thanks for the info. I also notice that since gcc 5, the default language version used - if none is explicitly specified - is gnu11 (or higher for later versions). Clang seems to do something similar, but not sure at what point it started defaulting to a standard >=c11. /Bruce