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 2A0CE43382; Wed, 22 Nov 2023 14:27:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED04B40ED0; Wed, 22 Nov 2023 14:27:10 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id CC3424028C for ; Wed, 22 Nov 2023 14:27:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+rc/96pLZ9eOmUya4MzalMYUQ/gv4kkLz9jMYQ3J6A+7CODd2WMoXNJ1bbVb3+S0MclFn2KL+AnVAmRzbs9GrW2mBGBWv4qvfRV3OxjhR08hCH0Qr1mGLuiJtai7i6SR9wci6pVeLwyhhEQgZPS7/NAnc0o5jNN239/cOOD29lCS1MBPoJToujz8VTvpCQ5v3dhWSp4vJE4UijAqgK8UNEfHj75A1rE3N0xnC9WJhLGFVMBevDZB/FiB6/IezRxT7BWfzB6lzC2bUp3Pqyg7xo2AnyKGdKKfNecxFJHwKMbqiGtOxc6ELAuuPAZiAyriJ7Vumss0pXD21yBH7VpgA== 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=+JSYVPXqpVFbZ8Ke98RacS4XqhV7V07OPbDN2Fa0KFU=; b=YfFmyeDWMcaTrBHZh1OeitzD36sL36vUr1p7cLQ6QtK454FeJE4PBQDWX4K4F649/EwOETXjzliDMBrV8nrKH3f13UO82P1wnWcxemT0bprO/ySMMyn8ADGBEP5NGwalIRTmp5oXgXxPuOGAaxO9bwik4E0QsTBZ9M5IFKlToZep98sb5f0zTxVi00hp9Aoz8BVEZN1STIs4ywXSbDVZpPZ+Auf5anjIp5/HGIJfMOyNW3nYF2u6OIWxfRAP2CyD5ES58J/t8hIvdORe7hZHuyr7pZWu97tV6QDyyRkDFawAJrXhGvTKrC3lawASNpH3XnNx/BdTq1Y75f5QfCoY2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+JSYVPXqpVFbZ8Ke98RacS4XqhV7V07OPbDN2Fa0KFU=; b=L2yfki1Zxifbl9zxjnhL7ioMtp7BgO2In9hwjSLfh6FglSQKEJIjsrBncuOe5LJhHEBE4nzI4nJxHiH86CeHc/ycHQYt8Ft5SX5PnGzGhzYl9a94S4pyqHvZwKr9e1L3OXaYzLsGqTZYnP9GS86r/IWgVv/db1PtDmsjce4kBLQ= Received: from DM3PR12MB9286.namprd12.prod.outlook.com (2603:10b6:8:1ae::6) by IA0PR12MB7604.namprd12.prod.outlook.com (2603:10b6:208:438::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.28; Wed, 22 Nov 2023 13:27:05 +0000 Received: from DM3PR12MB9286.namprd12.prod.outlook.com ([fe80::2f17:4c1d:b750:cc44]) by DM3PR12MB9286.namprd12.prod.outlook.com ([fe80::2f17:4c1d:b750:cc44%4]) with mapi id 15.20.7025.017; Wed, 22 Nov 2023 13:27:05 +0000 From: "Tummala, Sivaprasad" To: "christian.ehrhardt@canonical.com" , dev , Thomas Monjalon CC: Luca Boccassi Subject: RE: [PATCH] build: riscv is not a valid -march value Thread-Topic: [PATCH] build: riscv is not a valid -march value Thread-Index: AQHaHJqqD7lapRgTZkidnVccgFWtpbCGU38A Date: Wed, 22 Nov 2023 13:27:05 +0000 Message-ID: References: <20231121164903.3982163-1-christian.ehrhardt@canonical.com> In-Reply-To: <20231121164903.3982163-1-christian.ehrhardt@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=583ccbe8-a3bc-448a-bb6a-78a9b3b80dfa; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-11-22T13:18:16Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM3PR12MB9286:EE_|IA0PR12MB7604:EE_ x-ms-office365-filtering-correlation-id: 4f0aeb12-d878-4bbb-ee20-08dbeb5eb820 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: numXrqhC2ncDxHE09vuio39jjeqrHqNuKeRw7/cWA+v8ce/xjzrzy9iMIyfZb8+38JSjJvzMCvJMBcm9zNaQpE5SurdNycMc67K36M8imnZ/Ax8iygcJ+6PoFZLEE8PPNNQS4zYOAmlhn9Q3cMME5XrGjzNoSPDUABjFbVzD1NSBHDtFNf/fTzPLCt1mwT47EDMCgJacQc/j2XmN3Wrp+s5w5h8vs3XbLtj079RwAo1JzRt/5ovJt3TW9kZnR4z0fljmQ9A548rsMAckZhpYzQwNIZf/GCssQYGj/TRM2Rts3nQ93tNtgCjTYGGkHL3FW2zVPh7UQ4hhP+40CcvEZ/kMxCwaSSe0oHcm5d9oYc/AmetEPgNtL2iDrvoO5W8t3cYM2oMLrh3J6+ofkpD2Cpo2YzT/oM12jzPpnZCErTWSezj5KYQpx6Yb+y0O/PmkMdDF4mDpsNSzn9KaEBV8CBM4ihjcWIMFmqvOQEdBNwA/qhvfKhuWRbR2j1SjjDf/VSAw8GsaIAE1XaxS+3VeV6/uunRyg3b35C50lyoZeweKNa0Rs6+f6FQz5wsdtL0PFf7p/ztcRciIWmhoSMD0WkE45L0cuJ5OQp8suKwvN7b9FYK554DQvcOwLJUXIw2OzZmJCnRagA6RIwvv6s63zU2WVz5NKqQAVHAyHBJ8o3k= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM3PR12MB9286.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(366004)(396003)(136003)(346002)(39860400002)(230173577357003)(230922051799003)(230273577357003)(451199024)(186009)(1800799012)(64100799003)(53546011)(2906002)(26005)(9686003)(83380400001)(8676002)(4326008)(8936002)(38100700002)(5660300002)(41300700001)(478600001)(52536014)(6506007)(7696005)(66476007)(316002)(110136005)(66446008)(66556008)(64756008)(76116006)(66946007)(71200400001)(33656002)(122000001)(86362001)(55016003)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?RcBMPNKa6kuhhU5xPCFslaC50Usuy3N+bIGKGsxBZllPFCUASTi2DoRSbLmd?= =?us-ascii?Q?iU5+u9B7ut/bmfU4kkq4HFik+PPbOt7iPnshdvVTPDxNi9qMB4qUXbd5xNb6?= =?us-ascii?Q?NJwu7NKv3FPRUzPrxFpm/t3Yf2xHolvX7u+7FmZqzUmyCvURi9J6zCgShj3R?= =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GWbtkPB9LuVU/GqaDWxhGN2MPJv?= =?us-ascii?Q?XUE8RkuwbWm56Cq1KsQo9k2fddVkpZK8KW/CVAtoiGoKZTfP8PP9IBN7gVHT?= =?us-ascii?Q?+sZqFVqDj6da74OlgNeF8ZStsErvIBOat8gIEQU39whUz1nOOt4GeAm5wydR?= =?us-ascii?Q?5RJIFIJNT7PUF2fDDrpCq4OJ9FQxnQo5BsUbsxlzzVnDJjdS7ZJudcBb+vaO?= =?us-ascii?Q?zqfW4ENu9v+dbrABxWNmUt1iMY0C5Yc7n+vG7FEAQVDl8AbLcV/bgy+Eoj1K?= =?us-ascii?Q?8MqxtDLu0X7fvP+Ayfv+syfjcIkIqsstZ5kk3L4lEZpcMsxnapDhAmFjPbCq?= =?us-ascii?Q?xs4SEwIMA+lQs9ROr13WsCdWkCvYRBw9qmnWW/WuZIaLiJDEx3mFgo5+uI63?= =?us-ascii?Q?0v8ARVVtdVZm5W+N14HD8LLpPLBoeNz8WxBWOEPBYCNlrfz+mQxvoBtDXJPl?= =?us-ascii?Q?ATAPA0X9948pGiXbsVJxvcU64ZTXlerkd9GueL/OW8gMdmiViJElYlqC17VX?= =?us-ascii?Q?XzaczYF4v1GvAVsUt6Y=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM3PR12MB9286.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f0aeb12-d878-4bbb-ee20-08dbeb5eb820 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2023 13:27:05.1109 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GDm9fOq8JzQTj550RRf+IILVDdxuo0YEaEgxmT+/EcOShrqAIQyg9PjM7OKNgzhdCZc+q3sEDb0FXn9V/3IbHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7604 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 [AMD Official Use Only - General] > -----Original Message----- > From: christian.ehrhardt@canonical.com > Sent: Tuesday, November 21, 2023 10:19 PM > To: dev ; Thomas Monjalon > Cc: Luca Boccassi ; Christian Ehrhardt > > Subject: [PATCH] build: riscv is not a valid -march value > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > From: Christian Ehrhardt > > If building riscv natively with -Dplatform=3Dgeneric config/meson.build w= ill select > cpu_instruction_set=3Driscv. > > That was fine because config/riscv/meson.build did override it to valid v= alues later, > but since b7676fcccab4 ("config: verify machine arch > flag") it will break the build as it tries to test -march=3Driscv which i= s not a value > value. > > The generic setting used in most cases is rv64gc, set this here as well. > > Fixes: b7676fcccab4 ("config: verify machine arch flag" > Fixes: f22e705ebf12 ("eal/riscv: support RISC-V architecture") > > Signed-off-by: Christian Ehrhardt > --- > config/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/config/meson.build b/config/meson.build index > d732154731..a9ccd56deb 100644 > --- a/config/meson.build > +++ b/config/meson.build > @@ -152,7 +152,7 @@ if cpu_instruction_set =3D=3D 'generic' > elif host_machine.cpu_family().startswith('ppc') > cpu_instruction_set =3D 'power8' > elif host_machine.cpu_family().startswith('riscv') > - cpu_instruction_set =3D 'riscv' > + cpu_instruction_set =3D 'rv64gc' > endif > endif > > -- > 2.34.1 LGTM! Acked-by: Sivaprasad Tummala