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 3F22443B86 for ; Tue, 5 Mar 2024 10:53:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3991042E02; Tue, 5 Mar 2024 10:53:01 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2053.outbound.protection.outlook.com [40.107.92.53]) by mails.dpdk.org (Postfix) with ESMTP id 99AFF4014F for ; Tue, 5 Mar 2024 10:52:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FynnrFy/TFfsRsb4vFL65PbONdlqj8VQ2BgkgHNbFfZoMuNtu/c4DGvGWVnSv6h4wEP06T7c2BzdNLciZ8WH+qW1i9BC0Vw23O9UoTUK65cvEC0aLPWPYw0sAyFVkHS2BK0tnimqUJTnGzssGf3szarxQOKgeuWI2/8ozRGjMEfbPaK/169XcZTL9S0Yxnqq6NER4+JwQrXO9gZ+kjJ9p5AJMnr9895MARH4KGpBrBGnBIGFBiyhj1Or7Ux9GBAReqHkxPAphRxzDkq2Fq/BDHJQdoSEPjjv6JvXqQA594Q90RRv18FygDipIva2tXXZppT27Jn2UROyHGPn3co66A== 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=+SCw1N09ga4Fbx0Jd9LyEFMLHe7o6rYSD1UsSAyzn6Q=; b=V+PfvAh1aTgEuFCqGeikebteIQBufGAvYqJCdoM9gWgp9LNsBz8M/AjXQq/z5Koql2ToCcKSfUo1EQqmW1pkTsidWuieJR/jcUBrw3/7sNP0H4HcQITRJY8OWBCw3V1wo9HVkQm5oOCYCByVwvwyvIdf4AcHXc/qtsjyl1ySh8YDeaVoPQTO5Fi9QoD4FyKDbV8GpFmKONe+d6Pj36dD+m1q+W+yppQpHw/oe5QcnP6MefwdbzKvttANFRRdbRdB7RNcOKLsSWxL8UAszg6+R6JA6ry0Luzl7LSAUBYBFv5aAOqKUUq5+NdIbJrDPTbq6W405O7ICxheeAKbtkrcsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+SCw1N09ga4Fbx0Jd9LyEFMLHe7o6rYSD1UsSAyzn6Q=; b=XfBhmwbRYZ5k+sbnY2SyrSz9Pjj5iYtCaYFjY2v4AeQwkDcW/6BnmDG7AUiZq3nQ/XuynFHahw+j6TNx15wz4t+ZiUeYvQvmQ9SAHVOjtgP/aAxlu4bsCCiTi2ABmkbSAicRbST20hUBWN9nGTIXs+4kbLgDc6wmsTL6ca03fdwX0ZUmzbH5JJNdavWtNFwZC8OT/yrtMZAZdtVhOkA59DinhcsDTwz5lmLUdbEeEFz1hVM8YthOa76b8nm0T7eV2uyEFVxxDFLfkxKSG7bSvX5vwxzCZrkjffC61X/DMAoh2arbZVeVdpEG+PeLAvfpoYv7X1/4eSKUFSMIcpV5TA== Received: from PH7PR10CA0002.namprd10.prod.outlook.com (2603:10b6:510:23d::28) by PH7PR12MB7915.namprd12.prod.outlook.com (2603:10b6:510:27c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 09:52:57 +0000 Received: from SN1PEPF0002BA4D.namprd03.prod.outlook.com (2603:10b6:510:23d:cafe::17) by PH7PR10CA0002.outlook.office365.com (2603:10b6:510:23d::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24 via Frontend Transport; Tue, 5 Mar 2024 09:52:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SN1PEPF0002BA4D.mail.protection.outlook.com (10.167.242.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:52:56 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 5 Mar 2024 01:52:42 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 5 Mar 2024 01:52:40 -0800 From: Xueming Li To: Robin Jarry CC: David Marchand , Bruce Richardson , dpdk stable Subject: patch 'build: link static libs with whole-archive in subproject' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:46:32 +0800 Message-ID: <20240305094757.439387-52-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002BA4D:EE_|PH7PR12MB7915:EE_ X-MS-Office365-Filtering-Correlation-Id: d84ccf2f-6415-4969-78f9-08dc3cfa090f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3Q8McRcpWa1G2WuXg/OGK8eJd4qLuYY9rrJP2SttXAdEmK877TNNfNl18mu7eeds6VPWXg2mBS31TrMrE5mHfhxaNdNc7KuaYgTPN/iHLz4IngdxSQ5YkdZejm8o0AyBmZA3oqLVGB4OBNKDaDB1bwV3SZQFOoPFzwgUAeY3cBPy0OT/ssypaW6YK4VAH6vd5IkUgpDrCd8yCAIkiF6sMdZ2UvDXAP7jK/VE1H0uBnbKpOVta+oqLOcXJzNxpi/fw7asUA2lyQ8Ib4qMYk88O52FFbw5gAZ9DpPnEn04bpfyj1WtJDUUgKB4AFEdBYrc2Xu/9izfs6y6fkQ56WMZdCpRKgxMw/a/aO8EqvoKptqCPdTL1QoUSQLofX8VOWrCpkhuSwQ2s//aZYdOrNKqutQcaxO9S2g+WeJyoN6LdyNaEBiY21zJNM/rfTriFzmXV1qUkFY6R/ZfMKMhC37dLUuR0fDAHc8kpSXuKCvwnqCIJ62pgLQ7JztpFN6PfNaDcbGa2cCyT+egXVkotd+M/FVaZdCj/+GA8VzOlVIwSwtW5OeDp7INQmk6u45HJORTAICMKcnBgVnd1PmFdVnRvdMxP6NVTvKi3ssutMA2o16Ki/8qVvJk4jXYMNth5g/84JFI0Qri+nJLp+tMa5jO2nSRNVoXFTN1zuZT1wr6lHgsmWmvGnd0s8nyHt5dq//E1HnSNSB887lWL2OaNne2VL4TLhaEv/v9++ugQuWeSIFAV/tshnsNcS0hrGAhV+k6 X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(376005)(36860700004)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:52:56.9861 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d84ccf2f-6415-4969-78f9-08dc3cfa090f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002BA4D.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7915 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/31/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=8878a84e2ebc75bb3cc7fc94a5912810f32cd50e Thanks. Xueming Li --- >From 8878a84e2ebc75bb3cc7fc94a5912810f32cd50e Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Mon, 29 Jan 2024 13:47:17 +0100 Subject: [PATCH] build: link static libs with whole-archive in subproject Cc: Xueming Li [ upstream commit cafb10b3e4a73750c26b3d5e00df48caa93a997b ] 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") Signed-off-by: Robin Jarry Tested-by: David Marchand Acked-by: Bruce Richardson --- buildtools/subproject/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildtools/subproject/meson.build b/buildtools/subproject/meson.build index 3192efaa40..322e01c029 100644 --- a/buildtools/subproject/meson.build +++ b/buildtools/subproject/meson.build @@ -8,8 +8,7 @@ if get_option('default_library') == 'static' dependencies: dpdk_static_lib_deps, # static library deps in DPDK build don't include "link_with" parameters, # so explicitly link-in both libs and drivers - link_with: dpdk_static_libraries, - link_whole: dpdk_drivers, + link_whole: dpdk_static_libraries + dpdk_drivers, link_args: dpdk_extra_ldflags) else dpdk_dep = declare_dependency( -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:32.528191751 +0800 +++ 0051-build-link-static-libs-with-whole-archive-in-subproj.patch 2024-03-05 17:39:30.753566492 +0800 @@ -1 +1 @@ -From cafb10b3e4a73750c26b3d5e00df48caa93a997b Mon Sep 17 00:00:00 2001 +From 8878a84e2ebc75bb3cc7fc94a5912810f32cd50e Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit cafb10b3e4a73750c26b3d5e00df48caa93a997b ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org