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 397A6432B7; Mon, 6 Nov 2023 09:53:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C843C402A9; Mon, 6 Nov 2023 09:53:25 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C239A4027F; Mon, 6 Nov 2023 09:53:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699260804; x=1730796804; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=L6Wjs7v9F87WOscIjYDVQkuPjPm9meLn1iSqzM6FMhc=; b=W+h21+uZcAbgi80CrQXxdoEZF0SZvePU1jqt4gr5edS+fU2ut1tkLIEz 9Y+Nyqid3HUHz29SM05nNPalHRhRoZxvTR0ZpCRbi3RR7r/5e5GKzyF5B CVJUqh/L3OVYw1fqvQk8Q9jCm25qWRxi7H+qU9ivhMnPraYo4oZn1GjBU R+jLTUW5ZDEBpHhON9sG9RiDC9QoMTVxLjhYbVaLBsRFX9NQu1VnoP0zO 29eMQh6mx3dobJyqqydlFEQcD74Ssckfqx1tJgz1dQb1stCRmwPfiU5pH pPzrkzwiR00Rtkpj2g1Fgg/gmS6GZ8+eSL0RL8JOeHMLXPhXeJQGIydC+ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="455716632" X-IronPort-AV: E=Sophos;i="6.03,280,1694761200"; d="scan'208";a="455716632" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 00:53:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="1009463459" X-IronPort-AV: E=Sophos;i="6.03,280,1694761200"; d="scan'208";a="1009463459" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Nov 2023 00:53:21 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 6 Nov 2023 00:53:20 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 6 Nov 2023 00:53:20 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Mon, 6 Nov 2023 00:53:20 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 6 Nov 2023 00:53:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DkTEzV2NxSjo35WxxE4qwtTLzmacKjfs6Yvzhh1wrBTe9byqzdhmMDYAk0tHXCaoDsLxKLKURFawGGPaybUxmRJZwSzDP79ZpfQFJ1oA0oMdxZud4UNLVwSol4Cuv/e0pBmjnQIY6A8hB8fSpPTsEUZeKm7dJKKGy9nJVSUKOon4fOCSpWX4fuKThXLRmpfHW8p/m+aNrVWRUcR/yuOWsvaPa5pWkIOoiLEeKB1+FTzELIal9AGrCenKwwBr3uSQOeYIia90+wWox6KrBsqT8OnQm9MOG+vADD6ozj45XHBUcV1C1BzC6whs/RvHHXGjSvp1V1l8Uty8oMwZzEQpmg== 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=/U9yv5dgRXl6OmPyG8q1ptiiFWnNILG04wEt9DEIAyI=; b=SO9CrLTYwcJZQ4IHMKQ9lp1VkpVcraeE3H2Q1LH9Kxi5LQR+G6XXREkbFXbHcCFbzQf/Ji4Cu/1sbNOJsspu+YAQoWtoiioRztg9/en49DgqLSWnAK0Pgrcm7nXqiE/F/aEFIdbc17NWrZLNn7Eavcy0cBhszWq4tMISRO+n7Yg3YV2vKL2I7BdtMHSJHx4LJXVFXV3Jdw3BTepb3t7k/2zBCEU+AGbBi1R4UeKkC/JT/Ebt1pd0Z+501n8qKQNwTuaW1yevlyHNyzs1tSRt8y/zg4BpwTFR/+c+IVfe00MG0mXUB+lGfr0Gktg05Fe7USPpkZjEDlcdpdX8iWXixA== 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 CY5PR11MB6091.namprd11.prod.outlook.com (2603:10b6:930:2d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27; Mon, 6 Nov 2023 08:53:16 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::8645:d921:ce8a:12ba]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::8645:d921:ce8a:12ba%5]) with mapi id 15.20.6954.028; Mon, 6 Nov 2023 08:53:16 +0000 Date: Mon, 6 Nov 2023 08:53:11 +0000 From: Bruce Richardson To: Srikanth Yalavarthi CC: Aaron Conole , Igor Russkikh , David Marchand , , , , , Subject: Re: [PATCH v5 1/1] build: add libarchive to external deps Message-ID: References: <20231020170135.18319-1-syalavarthi@marvell.com> <20231106041243.13621-1-syalavarthi@marvell.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231106041243.13621-1-syalavarthi@marvell.com> X-ClientProxiedBy: DUZPR01CA0133.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bc::28) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CY5PR11MB6091:EE_ X-MS-Office365-Filtering-Correlation-Id: 11ecc82d-2177-486f-1253-08dbdea5d0f7 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: VjYAmKyDEz6XZCE+AfWKQQPkCKVRAAxLGRBXoXw3eX6m5977KFeLUxXNMhlyQ0uWTkYhaQVf5bWGsfJR0wBlBYsX8NkYNTMqLn4Q0T+y/xXqLB39TwVz+tsLP6bVxiZ7QgZrXS87u0EczAXSnSuB2MIe7xx/B2TqFLtqaNbjL8bZf3nFyug0kufeV9cNEYJMEDvbNaJe8Fp5venLqFPV2ePPYwPP8nrBBBdE14tNuV3alBS3jF1zTEqRVaxYfOhK5qZOzsvOO07k1VU+aLcIcVXfH3ii4xxxiZENwQROWsvQ1hfeO2if+jBi/h9sPCLwlmJuItRPfWKhmj7R3qDB1P9/+4yddx6RwonCV+vAhGP3gvHrKhZH6771kUwvzUEqEBrF7Uq7WEAKrefTo6K4GeuFNOkzb6QAzGj+BA3SwHunXZeNCwXcygL7ApRF3ImP0DSANpjXurJxKNdSsxZ60czAmOoDWSy2XS9s/pEahowaWG6f7tXtCX5q2+EBhY6KKnQoQOJk1SMTdR7Y5hV87xuxQs/nIAc3BUBbZn9kt7F3XPoNMh72TOajqju0MnDyRfo+BM2Mmtt/q37kDlsiq96XsThi0LZkMSSi4/HSzRC2WrgE80vkBfH6KTSqujOR 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)(39860400002)(346002)(366004)(136003)(376002)(230273577357003)(230173577357003)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(478600001)(2906002)(6512007)(41300700001)(44832011)(6506007)(6486002)(6666004)(316002)(83380400001)(8936002)(8676002)(4326008)(66556008)(4744005)(5660300002)(26005)(66476007)(6916009)(54906003)(66946007)(86362001)(38100700002)(82960400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?oGEKasgSl0XASKaYg8AZLqHySBvyFOUYZ1ozdO2VBjMCgzxfzV0ImAvUrTlr?= =?us-ascii?Q?EgZ5/dL1k5yPvl1CZRAJYB9PgKY086l3wgnYVk+URz2Ifjc6W4ezeZ5sivTb?= =?us-ascii?Q?INL/vqzhNnHKbbwUSVOJf6v252OV6NuvQS59ushbsxyFGJ7W+coNprucPJQX?= =?us-ascii?Q?K1R117shBoZrjJtxpDHsnt4pSoUxeAw0qLQsURDj5Px5d0Hezy/5oCG0W1HJ?= =?us-ascii?Q?GDuaDH/VcxSeRr9NWOV2ToM3DNfC09UExAJyyTrcXJBFdzWq6u9/q9wMF7G5?= =?us-ascii?Q?Yr+n3NQTZStFfPpmSSQp5FWTVmTmAejRY474fNdl4Jp2ZQdwOXkP5vm/5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eYPtNbJUibLcg8+W7EL7paFboSHqEMhjzW2?= =?us-ascii?Q?+vm8+SMlZQLTIhp0Lkiczmgl1ZyjCneJ7nZLm+Te8YlvIgLZXx+RQeUdtk+f?= =?us-ascii?Q?jW6NDzN9d5BZwwsBwxwACpyg4dJionWxgxkt5KJilD2c78c1SUUsZvCJYRr8?= =?us-ascii?Q?xnjOxx6TZEu3sireYFqfts1AliwFPpj7h2bwQYYzG6iFa8MAswlcjpa5CReN?= =?us-ascii?Q?26eIfyykgTfta5w63/1AqSANKrEe508Saotu/Xnaj8VzmO+GY1QMN6qR7FIf?= =?us-ascii?Q?3ZBi7b+npJR160jQJ+BhzEyTRvbJbXjIIWS3XGGl5jkTug96Zb3hoBOaXItW?= =?us-ascii?Q?HDwAagB0McYR9D4zQUDkQAzi+ORIpjcryF9xMxgL7fQSjKP42tJ0OnLr5rBw?= =?us-ascii?Q?pw=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 11ecc82d-2177-486f-1253-08dbdea5d0f7 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2023 08:53:16.4156 (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: +PAU/7mNkC2cHvxO0LSwOEXe2LpxA8YR8fIE39K+rj0Y3L6c7ZaXvOFMI6ADIrXQA6qCoMW/3uc74Vi78pLl9W5K3jtKCbw5dapu44TjdLc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6091 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 Sun, Nov 05, 2023 at 08:12:43PM -0800, Srikanth Yalavarthi wrote: > In order to avoid linking with Libs.private, libarchive > is not added to ext_deps during the meson setup stage. > > Since libarchive is not added to ext_deps, cross-compilation > or native compilation with libarchive installed in non-standard > location fails with errors related to "cannot find -larchive" > or "archive.h: No such file or directory". In order to fix the > build failures, user is required to define the 'c_args' and > 'c_link_args' with '-I' and '-L'. > > This patch adds libarchive to ext_deps and further would not > require setting c_args and c_link_args externally. > > Fixes: 40edb9c0d36b ("eal: handle compressed firmware") > Cc: stable@dpdk.org > > Signed-off-by: Srikanth Yalavarthi Acked-by: Bruce Richardson