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 2669F43399; Wed, 22 Nov 2023 08:11:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ECBF7402EC; Wed, 22 Nov 2023 08:11:06 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) by mails.dpdk.org (Postfix) with ESMTP id 543884028C for ; Wed, 22 Nov 2023 08:11:05 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Rg44e9fvn5xR/UihvCuN22wVrVjwbLEKlEPSs1tXqQvsQmi/vg8cvcsG3L6Rga3X77EVWwUHC/4nmAWx/fevRiRzu5nJ5Ccb82mf1IkQRwsoNcTEUB9gM3DcAj8JniMHaw4W2nwmlnQB02mZYDiWTmkyZRBhK9v4osWbcMiisdZbX+L35nH9BHV3XPPCzyzL9WKVm+I81GfG0EMnMfDBo+1lY9L50Iulf4aJ9WZcVc6x/9/dMpPOzLk9H0s/LokK0I4QWHg52axTeS+Ijmo5ml+cQnwTQV7vgvg/Vi3v3eqPxijliykhwLXw7eiEXBNKbRpR9mgZC1BZQ76BSnOPIw== ARC-Message-Signature: i=2; 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=B4I/0yTtOca0N1qLG69iEsV1TTVoPMYI6dAFbGVUXTY=; b=NsA/VmB658p2u8OK/zi/0+LMmVCrqHLzFt+YshIzs9du3UNTxkMFqPH7JQPlUg+/Zp7OsOOC1cHs9I9+mO8B41FYTFaaeA5weIAOk/0ZBP5TUJMd2Nki9ZlXRD/WtmJxxkCX+V0whFVuNAp3SzW8nZoOonrU46demk2JEVBiBz3j9Cgw8PYZTyomZdGY0ohE/dgF0HuyHQ1FgWAxvg+TzCugbUUU0EIq4Wp04sP5d1OI4bWVgekg4QcQcHWX4Ha6IwNfEVP0eI93UJcp1tnQQ3qc3qh+EyvMnwdzcG5zEE89H9rkVx8MNKd6gCQNnFPhL+iAW/dBU7z5OQDZR9dKgA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B4I/0yTtOca0N1qLG69iEsV1TTVoPMYI6dAFbGVUXTY=; b=Q0OsF7X8P3KkOXbwnu2lXlW3HgoujyWd+qAVzGYvklKFKsA8kKJp8jyw8uiLbNJdZ1cKNxGYFmDVVVxREHFVRK+aU5Noi7KXJS4jQC8fRchUNztF9rxq+V0sNKMpd3k78Swbg5/Ww8Gcbs46fAWegQeKtZyyfIBHpKs+DX2x9sI= Received: from AS4P189CA0037.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::8) by AS1PR08MB7474.eurprd08.prod.outlook.com (2603:10a6:20b:4de::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.19; Wed, 22 Nov 2023 07:11:02 +0000 Received: from AM2PEPF0001C70C.eurprd05.prod.outlook.com (2603:10a6:20b:5dd:cafe::9) by AS4P189CA0037.outlook.office365.com (2603:10a6:20b:5dd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.31 via Frontend Transport; Wed, 22 Nov 2023 07:11:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM2PEPF0001C70C.mail.protection.outlook.com (10.167.16.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.13 via Frontend Transport; Wed, 22 Nov 2023 07:11:02 +0000 Received: ("Tessian outbound 5d213238733f:v228"); Wed, 22 Nov 2023 07:11:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 83adc2e9af66fcdc X-CR-MTA-TID: 64aa7808 Received: from c8f6efba2526.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 94D0FB33-DDB8-407F-9F25-479D009D6646.1; Wed, 22 Nov 2023 07:10:55 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c8f6efba2526.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 22 Nov 2023 07:10:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HCkv+IWlEz2OPiVAHolVP7+ibrYrxAr5M+/a0ZvtlMaqDF7aM+2gvcohmoG7h8BPLjl4SWjp47pjUqNQTrx1yuiztBdZl2ZNkKie9U8AJ6AxRzhf2ET/MVatWMpMR9V7K8ri2IJeeBF9/vCvsB0BC/BGBQoSo8gW0qarQXShtk39mI8qRNbBV1bOeIYqdZmtDyMr9QDvEWR2CcyyhdfSnduDoF9rvDxaeMz+m2F6Cpn75GXXE+I9F7emlIapxdLEtTdizPD8j8JIvWlSrhlCu7eSPEl+UaHRwjQtcObpbZcdZ97IhNjD43TM7Ce0fYYWmfaVFMKD/7oRl6uhbHgzww== 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=B4I/0yTtOca0N1qLG69iEsV1TTVoPMYI6dAFbGVUXTY=; b=QF3tbgl9IGbrb90jm/x+RdamarF9egzi9Sol9l7Fld/si51nSdc4Ge5iTQoyWVzC9uBt9PO+MNM2XVMOZFsKR4MwWbbvN3XqPuLG1giYAKqlPc+bdmOCAxOaXRoU3BqQIFVcMfQ40NwLCC0htT6ZCXPdGbpDIVr+4WIG8wtGnWlsW4SDL7tLmZbxOHZO5xGNsfF4pkp//kV7Qi5srG/8DJBIhSxRe0DzalXntRPXf2AdD35GtDtFmiB4e3EaDTUYSWP45YAHnb4wFWEb3YqcZ+0kDM43AY/l4IaV4wNriGBPKhrmgswCpZb1RPb28S4qDjNkHpAvMwc6Yj094fFz1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B4I/0yTtOca0N1qLG69iEsV1TTVoPMYI6dAFbGVUXTY=; b=Q0OsF7X8P3KkOXbwnu2lXlW3HgoujyWd+qAVzGYvklKFKsA8kKJp8jyw8uiLbNJdZ1cKNxGYFmDVVVxREHFVRK+aU5Noi7KXJS4jQC8fRchUNztF9rxq+V0sNKMpd3k78Swbg5/Ww8Gcbs46fAWegQeKtZyyfIBHpKs+DX2x9sI= Received: from AS4PR08MB7712.eurprd08.prod.outlook.com (2603:10a6:20b:513::6) by AS2PR08MB9073.eurprd08.prod.outlook.com (2603:10a6:20b:5fd::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Wed, 22 Nov 2023 07:10:52 +0000 Received: from AS4PR08MB7712.eurprd08.prod.outlook.com ([fe80::4bd:9642:ea78:a9a9]) by AS4PR08MB7712.eurprd08.prod.outlook.com ([fe80::4bd:9642:ea78:a9a9%5]) with mapi id 15.20.7025.019; Wed, 22 Nov 2023 07:10:52 +0000 From: Joyce Kong To: "thomas@monjalon.net" CC: Ruifeng Wang , "bruce.richardson@intel.com" , "dev@dpdk.org" , nd Subject: RE: [PATCH v3] config/arm: correct cpu arch for cross build Thread-Topic: [PATCH v3] config/arm: correct cpu arch for cross build Thread-Index: AQHaG5NsBsHxvhefIkW94hiv+JAM/bCDbV4AgACbqhA= Date: Wed, 22 Nov 2023 07:10:52 +0000 Message-ID: References: <20230822074743.3243015-1-joyce.kong@arm.com> <20231120092431.4010750-1-joyce.kong@arm.com> <3714579.MHq7AAxBmi@thomas> In-Reply-To: <3714579.MHq7AAxBmi@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS4PR08MB7712:EE_|AS2PR08MB9073:EE_|AM2PEPF0001C70C:EE_|AS1PR08MB7474:EE_ X-MS-Office365-Filtering-Correlation-Id: 289e743d-a3fd-4d3e-8167-08dbeb2a2faf x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Zn6e2GfOhvrCahA117jD/pzNPUMJ8VkFm1EC6HVlP9uEY8eLmvo1gvaxI6H2pmp1cv1c1y2cV21qKbOmvKikNaL1kBj1yIMAyZhJyYVclqAZRpDTiWa497Znt9wKhBnq+Az6kIFomHnlXZvA2z4wnMvpq6t8YAqY9pfkz0LRJGgIwzr2qG+7pOp4lOXy+v0ytgw5j/Ue+AKsQUl3k2gNJSZOe24FdoHgFcRLIdE8z8EAMm1EO9xL0J5DkQYD1ks2fM+SxMjWv9bKwwJZqITHXiB4/IAWCFrCSBJqU3tWD6EzmthUP0LYkwaz1lxEB+T6nfLa3x048UZG5BbpihXcSOnEhz/1coc4tchDRWVTSFkPcsBIeAFA83+/8O7tU+7TZ8jU7wshC6VykoDOSW1eGU2i1NqJq3GVzdTAeCTbkq7nDWAdoYKJiUV0496QEyvWcktDofZUg0OS5byeiAcV0I8jbYdBeT4P0lgt4RIx9tgWEkpgiZkcHJQgjwZ0FW87Y6KbrNauqdkSw8sWE7O412TRhFbggz4KsFN0wJhNJkjoSElNd5Vrd7L7UPZDSE4yGJ8jsd6lRssJJ5L1TrzBAd3dvm/DQqKzt3KgJ47TrF+BlzlK78n5lt3dwkirmVm7 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR08MB7712.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(376002)(396003)(136003)(366004)(346002)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(26005)(9686003)(7696005)(53546011)(6506007)(83380400001)(71200400001)(2906002)(4326008)(8676002)(8936002)(52536014)(41300700001)(5660300002)(478600001)(316002)(6916009)(64756008)(66446008)(66476007)(66556008)(76116006)(66946007)(86362001)(54906003)(122000001)(38100700002)(33656002)(38070700009)(55016003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9073 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM2PEPF0001C70C.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f9206a4a-c145-45d5-bf7a-08dbeb2a29f4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BybY3w+3rk3bDriJVm3twM+bf33WkWRmCyS1zYcKI2GPY91ApUN04GHcqK7p++fRsQJ+DkHv+ITrvVtSBE5vB+IQybDKuoUQcPDqGfio5XLCJqxkcFAPpEZvnIVyfOZ19OWo+p00UmabwBXFdnoytVKcexRoV5cBiWC+z11YBVk4BS/9E5ZVGEkGkT3z1t+CYlGZ6HbVCWDgNTD7D5R94q6NHThTLa7Eo/ANM5cRdPtqcAsZGMLmc3CdzNt7CMAevg5hEN7PDlBEFU/KKXz/1leNGG9OIU35R28aV2hX508b6NIgvo/NKkKETLfJlEweuIH2xnQWy9DX+5Ic2FvwQO2BrncLLFLkHi6JET47XPgpJnfmpnFX8brAYeQ8svK6a7VzMecqaAdm3jhuapLd8Nvxxv0XCmpczp3vAWVzdSTELJdO9avWlIjdFPVQKpZIC1wamee3kz2OFENCq1FQyKJuwiwIfHjpxsVGweni+Ua8sbksgNJgqc6csBfSS5yQER8pPMXO9/yaZbvMoRMg/jcQ0uzDFJv38A3IEXklha5VQJDuTC+QVVsZFYYjVaJaHd7APc5DVawE8KML45MS4PsBj2B3q73WdILSz9i68HDptsMQmMlRpvq//f+37yvhJ7ECkVjWeCjUEacQMu90toGViCLn4U5yfJiVmbE4DasReWehg+isu7ldfkdm5ky1XKfHwz0U8a0/mBLT8E41kE2CCzZ/4EOwXD1Jbsog5El7RjP6vGOBHMxohZOyoXJK X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(39860400002)(346002)(396003)(376002)(136003)(230922051799003)(82310400011)(1800799012)(64100799003)(186009)(451199024)(40470700004)(36840700001)(46966006)(55016003)(41300700001)(40480700001)(6862004)(86362001)(40460700003)(2906002)(5660300002)(83380400001)(81166007)(52536014)(356005)(4326008)(8676002)(316002)(54906003)(70586007)(33656002)(8936002)(7696005)(478600001)(6506007)(53546011)(9686003)(26005)(82740400003)(336012)(70206006)(47076005)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 07:11:02.3773 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 289e743d-a3fd-4d3e-8167-08dbeb2a2faf X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM2PEPF0001C70C.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR08MB7474 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 > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, November 21, 2023 12:55 AM > To: Joyce Kong > Cc: Ruifeng Wang ; bruce.richardson@intel.com; > dev@dpdk.org; nd > Subject: Re: [PATCH v3] config/arm: correct cpu arch for cross build >=20 > 20/11/2023 10:24, Joyce Kong: > > The cn10k cross build file sets cpu to 'armv8.6-a' while it is > > armv8.5-a arch. > > Meanwhile, the cpu field in the cross file doesn't take effect as > > config/arm/meson.build controls machine_args for march. Then change > > the 'cpu' value in all arm cross files to 'auto'. > > > > Signed-off-by: Joyce Kong > > Reviewed-by: Ruifeng Wang >=20 > What did you change compared to v2? > Please take care of providing a changelog after "---" >=20 > I still see the same error on my machine: > config/meson.build:178:8: ERROR: Problem encountered: > Compiler does not support "native" arch flag. >=20 The patch "config: verify machine arch flag (b7676fcccab4) " introduces a v= erification for specified cpu_instruction_set. When cpu set to 'auto' as my patch, the below code in config/meson.build ch= anges it to 'native' and triggers the verification error. However, the plat= form couldn't be 'native' or 'generic' for cross build. Changing cpu_instru= ction_set from 'auto' to 'native' is unreasonable here. I would like to sen= d a patch to move the below code to not cross build path. "if platform =3D=3D 'native' if cpu_instruction_set =3D=3D 'auto' cpu_instruction_set =3D 'native' endif elif platform =3D=3D 'generic' if cpu_instruction_set =3D=3D 'auto' cpu_instruction_set =3D 'generic' endif endif" And I would like to update cpu value in the cross file to aarch64 instead o= f auto, to avoid any further possible verification.