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 11B6043B86 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 0716B4026B; Tue, 5 Mar 2024 10:53:01 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2049.outbound.protection.outlook.com [40.107.243.49]) by mails.dpdk.org (Postfix) with ESMTP id F3E684014F for ; Tue, 5 Mar 2024 10:52:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gii1x9SjJDP28THoEl6St6PldYhEY83eqTd2HQzYcByLriio3BxJrE0neibCTNcVCjmOR0h6cQUjKx0G0Qy+d39nZdDTNSN+iJ8euCteKwjc4hRKIQ12/4ldwXTid1PlcEPnX9l2qIARw9LFHHrssJMOwQ39IDUKXEkp/7ivlLVvN0NiAqcxERyfBb0aAdWIVERYoO4/iVCb7L1ATzqgx9KlIvtWv8WjTcgQuVqomVP/DIXnkbhtF9tAGZz0ZFjTLt6tJfRgd/kuXzews8dhO1N3z/BOlsdEWwiBSPnrvkx+m9YM2YCi464NzcG4L2igafsrL7xWOItArVCmS03+3g== 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=1Bpqk3WlmTOPethSh2dMoOb4l9yZUiBYKAlOERgmvZE=; b=ZIPUY2qbXmi9ot2MgmUEIs99Aew7Aq63so/EiUufsZY/ZyLIrA2rGGfa5fFAP1mDjvUHLT0GVIgrS+mphwAUNtS67QCiwkjlblLQKGQ834NgzOoOTIO0S+t5kyLpIdSuyLQ6yvifbb1vmEEzl6B6Bq0zv9mlfP9RdeVs/K48IYSpdo+xHt8YWyYwQpAJslOs+tabjcJzDXT1zRbvt6a/rQgGecIvmcTM0PGAMuilQ9RjQ8SzOylPydL9dBvGXjsnZ/ZU75NWxtfegKhOSylVGfIFK1UPqwDYIw1wM45bmEEds6YvyHlSDIRhsyJz27MQvctQ+W2fwmwvZfYADbMKbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.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=1Bpqk3WlmTOPethSh2dMoOb4l9yZUiBYKAlOERgmvZE=; b=ObN/pcJf2NgBvSJhQagtPQ7fzjO2LUMdycQZfrxTw2D1rQhIYMePa3rLBxIp2PxdlP37d/mPuUv2UBTIh5WfG14J300GzWG79yRUF9TqQjDGWwbFWokaS8rl1tAnw8LwnfbVBhLn4LNsKl0wakuXQkXYnmxCq53vVw8WJ7kn1crkadv8yRULBFRXF2Noyayd9mAzUBxW1dO7vnBZfrK3euR1fLuzF4OWYhkU+EGlpaXFjXrIbs4d/cZBwsPTMX9tWQh1Ei5hFj1tjKax8aDbZW+m2MLiCq1IfbqW6iZCCIqZ9HRcFZOLmTRSOI0iaTpBN6T2mQYz1LbdyN6mITbukA== Received: from PH7PR10CA0001.namprd10.prod.outlook.com (2603:10b6:510:23d::23) by MN0PR12MB6152.namprd12.prod.outlook.com (2603:10b6:208:3c4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.34; Tue, 5 Mar 2024 09:52:56 +0000 Received: from SN1PEPF0002BA4D.namprd03.prod.outlook.com (2603:10b6:510:23d:cafe::86) by PH7PR10CA0001.outlook.office365.com (2603:10b6:510:23d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 09:52:55 +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:55 +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:40 -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:39 -0800 From: Xueming Li To: Bruce Richardson CC: dpdk stable Subject: patch 'build: fix linker warnings about undefined symbols' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:46:31 +0800 Message-ID: <20240305094757.439387-51-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_|MN0PR12MB6152:EE_ X-MS-Office365-Filtering-Correlation-Id: 7824e875-d866-45f0-4589-08dc3cfa085a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e9yBdgxJQlUDNl/nouhhXOUP2wiewbdHUmxuuOvmExxOrhlpW/gLA5qTUVW2wflHMNf644ciDvbOS2YMYzBCuN9OvT1JuExLH+njXpJvMofjQxfwx8E100W2Kch1RXaiCeYONGDQ+e2oRuQcJjwlkOVOPSvsBRVXvF8EsLV9v9eOyQW7L5UmRZpPmuAFs9f5vLmn213bJvIK3K3+pCBZiVvUyBIpvcfWI3Arhje0Ex5nWqAzpjJfoRpggpNpAgylM8/WSEqs8mFrk1WwEsfwc4p8QIVexKwTJdJ2m270LtlQAZYMt7L72KxH3m34qTMFedAAws2DUQjGqAYJ02lRI4XwF7RzogncnE+pCXv92g2lWZp4bV2b4Wt5FnTXK06ZeJWOt2LYqTY2Ihmamk36FhBr4QLi/vi0u8MO0+t4el1jmu3aKBwicNbQuIAQnflck5XtLx2n91Li8NoVrEhzsfs9QX4zs70jtp3PWhoZu89OGPCjeCtbqo/0gmG+m8h0y8KsC0RIBKeo/aWk4RN88L1lrGWeg3k6/yHbZeVckYqHuOisfX6sKgskN958O4CGc9K3HGKr8AmqpPk8k/5BaaWecldw1hMAfu6rfRCiYz74KHjOsJpUnFRh417MDiGQaidIU+GF0vpCG0Baa2GsRNwd2iit1QVZcWR88+AuT2+VDhX7RspuRDaaQUwIyxbxRVHYoaMeqgRdUx7eAyHH41r4MMTkBUTiAWVZMA1f9tAjwvuS6Zucg0aCZWsgJFh1 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:55.7985 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7824e875-d866-45f0-4589-08dc3cfa085a 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: MN0PR12MB6152 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=5e24d7f2ded389295b24688a339b2139d5281941 Thanks. Xueming Li --- >From 5e24d7f2ded389295b24688a339b2139d5281941 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 10 Jan 2024 15:01:03 +0000 Subject: [PATCH] build: fix linker warnings about undefined symbols Cc: Xueming Li [ upstream commit 51c9428dca9fad10bd60ca668ffdf78e4a801e2f ] The default behaviour of "ld.lld" has changed, so it now prints out warnings about entries in the version.map file which don't exist in the current build. Since we use our version.map file simply to filter out the functions we don't want made public, we include in it all functions across all OS's and builds that we want public if present. This causes these ld warnings to be emitted, e.g. on BSD, which is missing functionality found on Linux. For example: * hpet functions in EAL * regexdev enqueue and dequeue burst * eventdev event_timer functions Easiest solution, without major rework of how we use our version.map files, and without dynamically generating them per-build, is to pass the --undefined-version flag to the linker, to restore the old behaviour. Signed-off-by: Bruce Richardson --- config/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/meson.build b/config/meson.build index a9ccd56deb..65662c5de3 100644 --- a/config/meson.build +++ b/config/meson.build @@ -188,6 +188,9 @@ dpdk_conf.set('RTE_ARCH_32', cc.sizeof('void *') == 4) if not is_windows add_project_link_arguments('-Wl,--no-as-needed', language: 'c') + if cc.has_link_argument('-Wl,--undefined-version') + add_project_link_arguments('-Wl,--undefined-version', language: 'c') + endif endif # use pthreads if available for the platform -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:32.504618451 +0800 +++ 0050-build-fix-linker-warnings-about-undefined-symbols.patch 2024-03-05 17:39:30.753566492 +0800 @@ -1 +1 @@ -From 51c9428dca9fad10bd60ca668ffdf78e4a801e2f Mon Sep 17 00:00:00 2001 +From 5e24d7f2ded389295b24688a339b2139d5281941 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 51c9428dca9fad10bd60ca668ffdf78e4a801e2f ] @@ -22,2 +24,0 @@ - -Cc: stable@dpdk.org