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 BA49141D8D for ; Mon, 27 Feb 2023 08:05:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6E2140ED6; Mon, 27 Feb 2023 08:05:44 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2067.outbound.protection.outlook.com [40.107.220.67]) by mails.dpdk.org (Postfix) with ESMTP id DA38B4114A for ; Mon, 27 Feb 2023 08:05:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X6eiVEzDR+C+vcuRMvPyIrOcro/ExoCEE7lCXQNtFBlpPqzRt6ZHMkPfXXO2ykUOhX4Xvut0S/LJouZlVRg47AzftNjmHcmofTuz3vNJFpRNyCi4rffmiMTOVVbybtoVcxnMWxzDyNP7xSDvggYJtZt0SGdJ/y4nQdmxGb5MKJZxmSRFAxqLKwcbFnDgkZ1qAUatUxru8POdcoawYtKdg9VXu2EGNeDj0ARBsnd/E1XVanUkpXaV/xXgy8CWC/qf7HF9NpRY/655Ubr2tJFYG9nHH3fHhFSEPqhNy+9SMnnIkL73KxTeuotXA9c1nE9020XzzssvH0L8IuGQ/dNnzQ== 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=CBWeTKipfakEAcOg3C6+r7tZGOOpZz953wdNu1Eb480=; b=cuFKYXeFUadvwobeoMwgfzaR37+bE88of85gM+cy+7aVE/uL+/BZOMrKp/W4EinNu2pUadfE6DCNDX8Af8/2KI8Gproo6ESAEYZVFmhXndseFeBGBKSJn2Vfc+yqHe0s701QRV50NW/np8SIc7qaZapCflM/KI6ngsOarUIV9X/vtxMQwNZbjqVJCH96YghfwmDUSCpDAJaAY85ABLG1i1zeGecO7glXCGE7/pzGKo6YoqtpDKAt3+fLmgUYMFCb5rZTBzAKJB9DrSMr5ZSIYTa56hCi4+coxKedo79h5ENF26OGKoiyMQai5HxO0FhPc0W7aUW5Aj7E9Kc6ehbAyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=monjalon.net 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 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=CBWeTKipfakEAcOg3C6+r7tZGOOpZz953wdNu1Eb480=; b=C997FN/uIIYByhnrjTdBPwHV5Jxa5XrUmMBlHgtPZo9LZCK25hrX3eDYP8gKGi7JFEb9BRA7O7rTZjZxrtXra35gmHNLjXMUlEzz1WzLJp9MRKmScxUAu7z8RDMhK2RGp22ABbi6K9KrHkLPNOpMTUHVqu1nlP9E0xNU9xgVl2DIi/7dG3of+NaEDXIo+LaD0EoDM8xHhU0iK6WvybdEC3z9ewvg3eHlAyLYGJHIKJCfH7YOeaqvlQrx8rdT16NY7fabkw4FhMkXI24GcO+eAgLpEC290OOsQbPxo/gF3gDcnCLaiLP3j3nNAo1f4tt0f7LK1NwOCadS/Kq3Cnfi6A== Received: from MW4PR04CA0212.namprd04.prod.outlook.com (2603:10b6:303:87::7) by DM4PR12MB6352.namprd12.prod.outlook.com (2603:10b6:8:a0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25; Mon, 27 Feb 2023 07:05:40 +0000 Received: from CO1NAM11FT043.eop-nam11.prod.protection.outlook.com (2603:10b6:303:87:cafe::f) by MW4PR04CA0212.outlook.office365.com (2603:10b6:303:87::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.28 via Frontend Transport; Mon, 27 Feb 2023 07:05:40 +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 CO1NAM11FT043.mail.protection.outlook.com (10.13.174.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.14 via Frontend Transport; Mon, 27 Feb 2023 07:05:40 +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.36; Sun, 26 Feb 2023 23:05:22 -0800 Received: from nvidia.com (10.126.231.37) 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.986.37; Sun, 26 Feb 2023 23:05:18 -0800 From: Xueming Li To: Thomas Monjalon CC: Bruce Richardson , dpdk stable Subject: patch 'build: fix dependencies lookup' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:07 +0800 Message-ID: <20230227070107.15664-39-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] 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: CO1NAM11FT043:EE_|DM4PR12MB6352:EE_ X-MS-Office365-Filtering-Correlation-Id: f4a7fe4a-d626-47b9-46a5-08db18910905 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jYtEsLVj6530wKEZ83iv3vGHwbfAjtN/mBY4AdkMKOrsbNmvvMZshKEQGcDPJ8f9y0oMBKr2LCoeGhAzJxZm3k84ETDCFXd2sbpt/4ZrmhQaCKwcPbPjxei12DEMdolCVHdt+IjedHYgqVwualLFpKmYJnJPS9d6hPmk4v3CMdBUEf6PWJ4N4veInq6NY8taq4eF834/TNxgH5f4gCSmeJJodef8IsllK/gmtno/AMOr4jatBQvnGCv2V93ypzwZqITK7Wk1KpvK0cdk+0vsQYpxCqW3ukOWRZlpKj9xcaJM2p2LamwrOHDLbS8EttnFnOVIKjsCG+Iht0eIGSZNjNGufHh7RElNX6Zpk0k2gOa8i9bB+Dwp9YiGpcgA0tYGcw3uPnpF+Sy8cXaZFl8ehDpbNghPVaYeTHye/aJM/ivG/yn5WPBO9ukNPBO0dbaEBkMPHHO0ZZyPYSO6wSzmAu/+wUnU421qy4gDfQJ9FeM5PrtgDcPvs2enjBJq6EWczr20Uc6c+qDLfxmFNMvIFKEvv591ZhsdP70dyYsdlz1n6K9Inoeus/EywfMIJs5B/Q97tLu7GmoQTuWzusoYMTqiUxXPPSoDZ5zBvxRDoF1zIDEPmkmFiTkRi4v/uYC7C21ewApS+talGLZGrXKv0Wr63QrgtKFxbHnRp4LouEosn2y+2+wbwg3GAUuFJHFixs6VPJwmZhvXIRbt6GX4ZYU+MfBL6VZg1C5yKYkCCfmPc/s2CeXsJZGQU/U4a4bKQp1gLv+qqoaY+oL696+jzRZcBCPRzmU+eig8/EuRbTLWEYSP8eZDVXaIlNI99+XU 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:(13230025)(4636009)(136003)(396003)(39860400002)(376002)(346002)(451199018)(40470700004)(36840700001)(46966006)(16526019)(40460700003)(6286002)(478600001)(82740400003)(7636003)(356005)(4326008)(8936002)(41300700001)(70586007)(6916009)(8676002)(2906002)(70206006)(34020700004)(5660300002)(36860700001)(55016003)(40480700001)(26005)(7696005)(336012)(1076003)(186003)(2616005)(426003)(53546011)(6666004)(47076005)(966005)(83380400001)(316002)(36756003)(82310400005)(54906003)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:05:40.2160 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f4a7fe4a-d626-47b9-46a5-08db18910905 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: CO1NAM11FT043.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6352 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 22.11.2 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/01/23. 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=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=ab2779057ed8f8dc5bdb49b1f85a964d4b00f9e7 Thanks. Xueming Li --- >From ab2779057ed8f8dc5bdb49b1f85a964d4b00f9e7 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Sun, 15 Jan 2023 17:53:15 +0100 Subject: [PATCH] build: fix dependencies lookup Cc: Xueming Li [ upstream commit 97cfdbfa28ae32d7667d76807233375ffd04adff ] The first parameter of the Meson function "find_library()" should be the library name without the "lib" prefix. Otherwise Meson prints this warning: WARNING: find_library('libexecinfo') starting in "lib" only works by accident and is not portable Fixes: 1cd512b2f532 ("build: detect execinfo library on Linux") Fixes: e1defba4cf66 ("raw/ifpga/base: support device tree") Fixes: a489f5dbf437 ("baseband/turbo_sw: support meson build") Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure") Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- config/meson.build | 4 ++-- drivers/baseband/turbo_sw/meson.build | 10 +++++----- drivers/regex/cn9k/meson.build | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/meson.build b/config/meson.build index 6d9ffd4f4b..239d3ea0ec 100644 --- a/config/meson.build +++ b/config/meson.build @@ -191,7 +191,7 @@ if find_libnuma endif has_libfdt = 0 -fdt_dep = cc.find_library('libfdt', required: false) +fdt_dep = cc.find_library('fdt', required: false) if fdt_dep.found() and cc.has_header('fdt.h') dpdk_conf.set10('RTE_HAS_LIBFDT', true) has_libfdt = 1 @@ -199,7 +199,7 @@ if fdt_dep.found() and cc.has_header('fdt.h') dpdk_extra_ldflags += '-lfdt' endif -libexecinfo = cc.find_library('libexecinfo', required: false) +libexecinfo = cc.find_library('execinfo', required: false) if libexecinfo.found() and cc.has_header('execinfo.h') add_project_link_arguments('-lexecinfo', language: 'c') dpdk_extra_ldflags += '-lexecinfo' diff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build index 417ec63394..aeb9a76f9e 100644 --- a/drivers/baseband/turbo_sw/meson.build +++ b/drivers/baseband/turbo_sw/meson.build @@ -6,11 +6,11 @@ dep_turbo = dependency('flexran_sdk_turbo', required: false) dep_dec5g = dependency('flexran_sdk_ldpc_decoder_5gnr', required: false) if dep_turbo.found() - ext_deps += cc.find_library('libstdc++', required: true) - ext_deps += cc.find_library('libirc', required: true) - ext_deps += cc.find_library('libimf', required: true) - ext_deps += cc.find_library('libipps', required: true) - ext_deps += cc.find_library('libsvml', required: true) + ext_deps += cc.find_library('stdc++', required: true) + ext_deps += cc.find_library('irc', required: true) + ext_deps += cc.find_library('imf', required: true) + ext_deps += cc.find_library('ipps', required: true) + ext_deps += cc.find_library('svml', required: true) ext_deps += dep_turbo ext_deps += dependency('flexran_sdk_crc', required: true) ext_deps += dependency('flexran_sdk_rate_matching', required: true) diff --git a/drivers/regex/cn9k/meson.build b/drivers/regex/cn9k/meson.build index 06c906710c..19b2e70111 100644 --- a/drivers/regex/cn9k/meson.build +++ b/drivers/regex/cn9k/meson.build @@ -8,10 +8,10 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64') subdir_done() endif -lib = cc.find_library('librxp_compiler', required: false) +lib = cc.find_library('rxp_compiler', required: false) if lib.found() ext_deps += lib - ext_deps += cc.find_library('libstdc++', required: true) + ext_deps += cc.find_library('stdc++', required: true) cflags += ['-DREE_COMPILER_SDK'] endif -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.200119800 +0800 +++ 0040-build-fix-dependencies-lookup.patch 2023-02-27 14:08:40.749237000 +0800 @@ -1 +1 @@ -From 97cfdbfa28ae32d7667d76807233375ffd04adff Mon Sep 17 00:00:00 2001 +From ab2779057ed8f8dc5bdb49b1f85a964d4b00f9e7 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 97cfdbfa28ae32d7667d76807233375ffd04adff ] @@ -17 +19,0 @@ -Cc: stable@dpdk.org @@ -28 +30 @@ -index b9ec685f28..26f3168bc9 100644 +index 6d9ffd4f4b..239d3ea0ec 100644 @@ -46 +48 @@ - if libexecinfo.found() + if libexecinfo.found() and cc.has_header('execinfo.h')