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 A4E44439FE; Mon, 29 Jan 2024 14:17:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74F2340A7F; Mon, 29 Jan 2024 14:17:33 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id 5D77F402C2; Mon, 29 Jan 2024 14:17:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706534252; x=1738070252; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=YvOhu5ZolpWJaSu90Hz5FkY1aUF7W34sjdh6sgC/RAU=; b=K8Jvi5uZZLtoxG5mIRLUghX2BJvdGu5eazwD5faMnEz55WzhetmEFR4e TLazCk/afhwpo42hnAIrywIjsR1huW3aSrJbCQHMSYERWW7F1yY84qy05 fQr6s2dX9pQB4Bvy0PT0I/TsYZrf3kOER+4Y74yrojB/sL1pRJ+crvSL3 YfLd949g+WrSXL8YFjIc8YbWJG/6aA9Cobz9f6flNkmXly/o1MPDyoT24 /gH5C81HcIRVL7x4ths5c0G5aTL75jsYIdokMWMkWq8l0cGratcOTSBpr X2YVmWidaVBWVlaR31LDjnjUyROgIAhesNfRIF3Au0JyZlmq8cAfv388u Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10967"; a="9692817" X-IronPort-AV: E=Sophos;i="6.05,227,1701158400"; d="scan'208";a="9692817" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 05:17:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10967"; a="737394899" X-IronPort-AV: E=Sophos;i="6.05,227,1701158400"; d="scan'208";a="737394899" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Jan 2024 05:17:19 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Jan 2024 05:17:19 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.35; Mon, 29 Jan 2024 05:17:18 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.35 via Frontend Transport; Mon, 29 Jan 2024 05:17:18 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Jan 2024 05:17:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNSdnrBlSpVP7LPFIPTQf/eKOoSX4up5d9GOzNnNPMczw8mJcMmouwcdzf3Sx2+6FoLjvnHi0l+57j65dJhOfmA9UGuxCPOqibVl/EVOtihI41OUtinoEq1A85X81vmGB9WYwVSFOYXuCO7Znpnbs+z3EfYDU9kDCiXLKmn4FJi4H7DEuGw8Wy1YmX0FeJ2DsvNREI1mk1D48Y1pBqcCco+iA4IvPdk9eYePNg9S+72kuGL9j7TR4oV8q8iWN3oktdg1LRDVMLIKYY6Fe8Gc8t5vVsCNT3VpiK/5+BwIN4QpIgqr0yRFl7SJr+GpL119hh515xnkfwSakkj501xpcQ== 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=BKmhzxTKRz6kmdfOqRrJYpDo+X97URM6Kw/nFewTQts=; b=bDGEbALP1VY3bHX3+nMl4jJDV+s+xCikVWuIduCDz39MLj9oFE0g+7R1HjXGA21k6uTtb7o/3N/KXpIdcPoVxptOudA4HtE0zBrN3NNKecxJejPXtNyRvjUxih+znWTS9U1P+M/9nQJ32fs6f3hBoumD3gfB5mpsCSFKmX6fqqSPF5Z0q49WKye+rJ+uygZFyw+CmNvohHyjgfYFg+f3CV+bMR3s+0GAI6jQmik8rXnN0QaKqX0MjJCK5Y/Bcm4Hvf++mb5iC8q2W9vWcHWQXxJNgzsU069RwEefNt24ZO2tdIfzFl07dGUbDkVHSvjsUdDsX4Yr3/vtwfy8R1Rt8g== 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 SJ0PR11MB5197.namprd11.prod.outlook.com (2603:10b6:a03:2d1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Mon, 29 Jan 2024 13:17:16 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::df88:b743:97f8:516c]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::df88:b743:97f8:516c%5]) with mapi id 15.20.7228.029; Mon, 29 Jan 2024 13:17:16 +0000 Date: Mon, 29 Jan 2024 13:17:11 +0000 From: Bruce Richardson To: David Marchand CC: Robin Jarry , , Stephen Hemminger , Ben Magistro , Subject: Re: [PATCH] meson: link static libs with whole-archive in subproject Message-ID: References: <20240129124717.24852-2-rjarry@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: DU6P191CA0005.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:540::18) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|SJ0PR11MB5197:EE_ X-MS-Office365-Filtering-Correlation-Id: c8d9cedd-2c7c-4b43-c5f3-08dc20cc9d54 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: 15BjSvopp5/3zgYiamRatpphFLnOx3iRKbiIv63YKfbCFQOZKmjSv17XpJxiSL3ZjiIJrzL8qgbJdVV9ZWRO5NvdA19G0xgs63sbxY+6IBDOXlseyQr0pjl1H3M1TbKVZy7tyczRugviyV7fGnsbI8EwXUYOBeVTn4ySXuf7MvRFZ/4oDhKJwGrJ0mI7q5AilkZ0qIPMwzdDGC5V9Q2Om8wlc3U6J7uceFLF/pyc5gSTkv+IDBN5fvej1JLIlzFO7ak6i4BO7u+Mqp+UksC4rgeWS8kORBURZYDAUMKY3KhAsJ12nNwXcbdg4pd4kHrHtNwPQVDZ/so/C7X9H/pfuFiHAbJYQqmN0G5+xquDgTzXaaLIQ6p5HYOXClrbpvJ4PYVY7jlYF/41sdHNFmYUsSRmHFPEDfSWrcAn1pRMqC+Iyo7zIM4rwKGLopyAj88WRqFyM8kKrhlwtyfNqCCG48xm15WekhVxjUKWw6w8l9lnWnx9PYW+APwBq+QlkgB2l8pk+SsWujiCyLkBp3uyA+aV3IIkLVzkC85PdI2wiEKw7fqKeV01j83hIfj3gmSI 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)(346002)(366004)(376002)(136003)(396003)(39860400002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(41300700001)(2906002)(4744005)(5660300002)(66946007)(66556008)(86362001)(66476007)(316002)(6916009)(54906003)(6486002)(478600001)(6666004)(53546011)(6512007)(26005)(4326008)(44832011)(82960400001)(8936002)(8676002)(6506007)(38100700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YWJ3YWJGMFlMV251VTQ4MUZDaVkwNC9CYmtRbFplUEJsZ2hkQVZTdUdaNlVQ?= =?utf-8?B?Q1MyRTMzT0xxZTc1V2RrVGI5TVFlNlFmaFFwbUU4aVUzMjh0dXdURDU5NGpq?= =?utf-8?B?SmEzc1pHc21pMlE1MVNJbkhzZDA1OXI0SWVIY0h0YXk4Tk9YRE1YUVdBTGht?= =?utf-8?B?WnVBU1lFWCtRYWNlcllkWXZhUGFnVW12dzU4RUI2eDA3NUdER0RDb0RQVjFv?= =?utf-8?B?WVBJOFkreU5MTnBMbE1oSXdEL2VHbDJOTmZwellKTE85ZE1ncXRXQk1oaE1Y?= =?utf-8?B?RTVETUprUTlNZG9iaThGbXhJOEIvSzRzckRNNVI4ZlNvQWl1OHJrZUZmaWtF?= =?utf-8?B?V0VmSHQ0UG5qaDRnY29ndTFLYmo4RVd0MW0rUmgwY1hOUVRvT2dhSHFBRWxm?= =?utf-8?B?cjZST1g2cllQRVgwQkpUTFBRa1RIMWM1VDJNWnBnSVU0TmRvS1I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-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2024 13:17:16.5820 (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: FTL1zeSYb1Djq9kcR83j0+RggL1C6uY7o+Ekh7tsIaLfZ3FdGwTcPgT+Ha+IplirRf+jGIb9gR4mRuKknDpWT3J+1/CXMlHwXgZ+J16e+xM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5197 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 Mon, Jan 29, 2024 at 01:55:36PM +0100, David Marchand wrote: > On Mon, Jan 29, 2024 at 1:47 PM Robin Jarry wrote: > > > > When DPDK is used as a subproject, declare static libs to be linked with > > -Wl,--whole-archive along with the drivers. This is already done this > > way in pkg-config. > > > > Fixes: f93a605f2d6e ("build: add definitions for use as Meson subproject") > > Cc: stable@dpdk.org > > > > Signed-off-by: Robin Jarry > Tested-by: David Marchand > Acked-by: Bruce Richardson