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 A3012431A1; Wed, 25 Oct 2023 16:30:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 762A8402B3; Wed, 25 Oct 2023 16:30:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id E483E40273 for ; Wed, 25 Oct 2023 16:30:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698244222; x=1729780222; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=UalAcQ0Sg43Jn8dZo+2mw11/U8VRlkbKaEUY+PfjjOQ=; b=mKpWlxSg8k0hhYh+MpSpq/MH7mZVIzTEs21loEGpsU2nJ9TN90iOilWE hXikgiyu/S3flR5bgXegxXjbb8uaeFmWMJ2/feisLiPPBASfeo+IPi2nh zdqkHMrC+6t9JZ0hSgnxnHJzmtbcXCUWKr+VFHP6rM0wFCqEAKs7AK8R1 HSWTl3K4+dh8JTwLQVjpLSe7KHyJ8Z34i8zIxqdySJljxUF/byTQPiezJ J5HQaQzG+JgPqav1xq3YLPbYBRDxrFxjZJD4AmjvHjbfRVHW/dGMD2eSW isdSJSavdOHwXM4nb13JX8gpvyTcUbFeZcmfD2ai9u2wpjhC6CkO6XlfO w==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="451544863" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="451544863" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 07:29:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="902563986" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="902563986" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Oct 2023 07:26:56 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 25 Oct 2023 07:29:18 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 25 Oct 2023 07:29:18 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Wed, 25 Oct 2023 07:29:18 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Wed, 25 Oct 2023 07:29:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aKXLi68nAKrB9B9k0HNpV4fruXdYKwzMOjIZkyRAAL+Wq1CvIipRtZbCU/iOpga+zrdwJoHulEwSbuwWk3ThjP/8ZqYg+2Iit4sR46pKeqNOikWSTlatrBp4rhY99e+pmqKblC4rdSm5rIm+MwI/AdyyJwp62c+sbOX0Pn6eYd/vmxFTIV3H5AzX6QXrq/W+pLUdG6CYWtj/PRGyPxJFqd2ld1eyOsjAOBPnVjWcdd3kDHYjB+AhWyn7VaLFbatju0BRR6dHn2wC4tGAslOXudMy4wS+aUzjzU3YG55jr+lZAmaMt587NMg1BIF2x74H7KJy4J5kLSfMWmLENK1/lg== 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=P0isGzKvAeZVEcnPQMbbexgnnyxRcKSPJPfLZVMQLg0=; b=UsudugIAG9/uBI4xAf31ftx1Fzvxx3ozz7ibV36eRw58xJ7qeBvkwVHouzSxxVvS6cAw3kJydT7uziVI07WBamJKfg+wPHg7OmgKz+nuKcVQh7ThHEj5+l8NMQWbGOvuM99Jdupvp4yXXgnCM8mfWImYHws+G9AL/Und0vOWkcOBIFpzNy+vmqK7WDxpSsOg46dZ9VsqwWk68L97Gdc8kKHHvdu6lI+WjpyL6Br+rv1jCiPRjh/76WWuJg+kT643lNTEjAfY4FrWC8M0AKZHdGlKUYuWF7Q3lSHFLkPReim07WZtSxH9Rc0++w7d0MIJC6nuQDGprppxo9QEQASLcA== 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 DS7PR11MB6151.namprd11.prod.outlook.com (2603:10b6:8:9c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Wed, 25 Oct 2023 14:29:15 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::d70b:11a0:d28f:ec44]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::d70b:11a0:d28f:ec44%6]) with mapi id 15.20.6907.032; Wed, 25 Oct 2023 14:29:14 +0000 Date: Wed, 25 Oct 2023 15:29:10 +0100 From: Bruce Richardson To: Sivaprasad Tummala CC: , , , , Subject: Re: [PATCH] config: compiler support check for machine arch flags Message-ID: References: <20231025141709.1448007-1-sivaprasad.tummala@amd.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231025141709.1448007-1-sivaprasad.tummala@amd.com> X-ClientProxiedBy: DUZPR01CA0341.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b8::11) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|DS7PR11MB6151:EE_ X-MS-Office365-Filtering-Correlation-Id: 8369f6cf-7697-4dca-29bb-08dbd566c38b X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fEGi9PBk94EG8kRvma9RzSd7t3CrPBd1qukz5f+avJdDaN9Fpzynoaq8PqrzNv7Mp18dfbsP/zbyUvUHqYBWV56ln7n6TznOAvtKE5Z8qC+TEzUtUyZSZ2UY0cDW2t9NaPfer/8TWeRVxrZ3PfQaATOxenPZ6HRHrFbdts4DpGpbH7lXUfWJ6MbX2cs1qJxSCmP65Te3jdvLPv588CtKWyiI3hPXJYzjJRaYUHI6h3NxpGJ7TRBTw7tsoVBqz+zvp1/qCGGvaFSEiYV1x5k1WrgQ9gy5DCZ25ia6RT16V2UMLSDPno9Pd5UWkX8QW/CwQdznz6AiwR57aa05t8ZtU6tqclUtPr1C4DfNzSQAJKK+Kiif3Z/uiw5ViTqkmb/Maiar5xL1o9uJnxGICuHIAEO80xXRuMkHbjTSTh1vTJ+8guwOzALT5UN55UfEzvq4CROQrkEU4peiNd8TNpw5/FjC1zHCVrSjB7HBYWDx7L4OTNNlx13DPhleA7vzwmBgOUyxwO2J08uE5b97htffNbFWsZt68AxxEp9d/2643OuQoTa6/ekZif3cTMmbA3WH 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:(13230031)(396003)(376002)(136003)(39860400002)(366004)(346002)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(26005)(38100700002)(2906002)(4744005)(86362001)(41300700001)(44832011)(5660300002)(4326008)(8676002)(8936002)(478600001)(6506007)(66476007)(82960400001)(66946007)(66556008)(316002)(6916009)(6486002)(6512007)(6666004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?U1FKgqvRJXMl2La+VJ5GF95cir34MtGw9ZuZVmr7qlUHgzBuqDMo8AHVZSvT?= =?us-ascii?Q?iKj9glcfEiR5ZxOcefZhorDsuRd5AYlio3F21nLKyz3OUMx0ILA0tNfG0jDS?= =?us-ascii?Q?FIe2CKHcNdDrsFybhtO90f4sHUucShwckO0u3bf77z8xncFGjfzBHluXeONe?= =?us-ascii?Q?gV6a6uhHAotu3EZhLH5EmhwEOb5RUvaX+ODiGIXznwghqXLbe2xf0jo9CflE?= =?us-ascii?Q?we0OaGEdvcrJzGgXZ8q8qDTiwCq5p11kYEWMRsO/9Mz5OWMOGczJCqltgsRK?= =?us-ascii?Q?syi/m+xVW7sTAypgjLmF5h7LlPkI+JHlobvZXZLrxar87pGaA5U4EjfF/XzC?= =?us-ascii?Q?eP/tSwLOPKEa4MGs80AMZm5oyXTl6O8iS4w/kHTltxlcHyU6wv9wVLo8fqbA?= =?us-ascii?Q?m9Q5NMxC2cdQI3lcOIdOMiwGKHo/JlQywJT/HS1H7efWQZ0aQG92nlke+3Bm?= =?us-ascii?Q?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VOLjTJldx5D4ukJ4KsVw?= =?us-ascii?Q?OG0Cv0jY1mvGxOGK8+cPU6f/4qmWN2RNQkYrOVmiozppAUaE+gUYyCepQiOw?= =?us-ascii?Q?WpVaZaSXK6J6zkJWibUDT1Y1S5lpot9lzB18c0yuaPkCFlz94ZmMNjTX2F5k?= =?us-ascii?Q?Gyfs5+Ac9ZVFmRHGX0zRd2jIkZdJzkpGZd1uhd+ECuW1qvsbaiiB17TecQfJ?= =?us-ascii?Q?l1JPkOZb+wnfHuLWfqxMdqFfY1bVOdM8GQ95de1q5/kDOwUmFiD00jStn2yO?= =?us-ascii?Q?jA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8369f6cf-7697-4dca-29bb-08dbd566c38b X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2023 14:29:14.9041 (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: u1UG3I0YKf4ofm43t9LJHxElXlAO+xyNuLGNvQqYuMWtnQFQWARsskP7e2rz3e4sTaM1Y/JJJIcOiYuPcBDdXEl5kK0gBLnFbv8vSNih7a0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6151 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 Wed, Oct 25, 2023 at 07:17:09AM -0700, Sivaprasad Tummala wrote: > Added additional checks for compiler support of specific cpu arch > flags to fix incorrect error reporting. > > Without this patch, meson build reports '__SSE4_2__' not defined > error for x86 builds when the compiler does not support the specified > cpu_instruction_set (or) machine argument. > > Signed-off-by: Sivaprasad Tummala > --- > config/meson.build | 5 +++++ > 1 file changed, 5 insertions(+) > Acked-by: Bruce Richardson