From patchwork Thu Nov 9 10:52:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 134018 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ED0AC432E3; Thu, 9 Nov 2023 11:52:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB7FC40267; Thu, 9 Nov 2023 11:52:14 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id ACEB64021F for ; Thu, 9 Nov 2023 11:52:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699527132; x=1731063132; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fjq6PfW93VgywYbDxMMEr8VzjHvGdAZwDm1jnVxsGBY=; b=aPrpaSI3o9TLurTszUXS51W/PliB1itHnn2aqHx5BBtSfjONybvDmQEq WZfowg33m8OLQPGGD5rYTNrWYB6UKV4p/yVAo5z4I9fjjKw88qYTZGH8O Nfj0bfoW0SVReu8+B7qHWgtn5iJNM6RMFFMTnxdtGDLeWk4RiVl+0XRqX IVjke156tq5TDKOfoDhkcRQYc3B0ajgSFZdquQJrS3jOb748qt0a2Mfzk O1Zusi9omcIoLaTMBGhOVtk6lDywGqACmDrhqY6e4tZrbm2ZsFRt3tlOX U3GitVG4UbocXlXkPSPpaZGve0LOhkcljoLVqWp8y9ZHiLc1fBLFo4Uum A==; X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="387124494" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="387124494" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 02:52:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="4504896" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.153]) by orviesa002.jf.intel.com with ESMTP; 09 Nov 2023 02:52:11 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH] doc/rel_notes: add note on libarchive dependencies Date: Thu, 9 Nov 2023 10:52:04 +0000 Message-Id: <20231109105204.12944-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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 Since DPDK now registers an explicit dependency on libarchive, rather than just putting -larchive in link args, we need to add a documentation note about potential missing dependencies when static linking. Signed-off-by: Bruce Richardson Reviewed-by: David Marchand --- doc/guides/rel_notes/release_23_11.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst index ff28083e1c..0b33665868 100644 --- a/doc/guides/rel_notes/release_23_11.rst +++ b/doc/guides/rel_notes/release_23_11.rst @@ -75,6 +75,16 @@ New Features which also added support for standard atomics (Ref: https://releases.llvm.org/3.6.0/tools/clang/docs/ReleaseNotes.html) +* **Extra dependencies when linking against libarchive** + + When the libarchive development package is present on the system, + DPDK will use libarchive and register a dependency on it. + However, on a number of Linux distributions, including, for example, Fedora and Ubuntu, + installing the libarchive dev package does not cause all required dependencies for static linking to be automatically installed too. + These additional dev packages, such as ``liblz4-dev`` and ``libacl1-dev`` on Ubuntu, + will need to be installed manually (if not already present) + to prevent errors with linking against DPDK static libraries. + * **Added new build options.** * Enabling deprecated libraries is now done using