From: Bruce Richardson <bruce.richardson@intel.com>
To: David Marchand <david.marchand@redhat.com>
Cc: <dev@dpdk.org>, Yu Jiang <yux.jiang@intel.com>
Subject: Re: [PATCH] eal/unix: support ZSTD compression for firmwares
Date: Wed, 8 May 2024 16:01:20 +0100 [thread overview]
Message-ID: <ZjuTwB8j-bYSmPrP@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <ZjtY2lPSrpo3q2oZ@bricha3-mobl1.ger.corp.intel.com>
On Wed, May 08, 2024 at 11:50:02AM +0100, Bruce Richardson wrote:
> On Wed, May 08, 2024 at 11:52:14AM +0200, David Marchand wrote:
> > Ubuntu 24.04 started to compress firmwares with ZSTD compression.
> >
Minor nit, "firmware" doesn't really have a plural in English. I'd suggest
using "firmware files" here rather than "firmwares".
> > Bugzilla ID: 1437
> >
> > Signed-off-by: David Marchand <david.marchand@redhat.com>
> > ---
> > lib/eal/unix/eal_firmware.c | 42 +++++++++++++++++++++++++++++--------
> > 1 file changed, 33 insertions(+), 9 deletions(-)
> >
> > diff --git a/lib/eal/unix/eal_firmware.c b/lib/eal/unix/eal_firmware.c
> > index 1d47e879c8..065e251f9d 100644
> > --- a/lib/eal/unix/eal_firmware.c
> > +++ b/lib/eal/unix/eal_firmware.c
> > @@ -16,6 +16,21 @@
> > #include "eal_firmware.h"
> > #include "eal_private.h"
> >
> > +#ifndef RTE_HAS_LIBARCHIVE
> > +/* Fake definitions for the compression_algorithms array below. */
> > +struct archive;
> > +extern int archive_read_support_filter_xz(struct archive *a);
> > +extern int archive_read_support_filter_zstd(struct archive *a);
> > +#endif
> > +
>
> Do these not lead to unresolved symbols on link?
>
Confirmed; in my tests, I do get unresolved symbols on linking without
libarchive.
On the plus side, this does fix the issues when libarchive-dev package is
installed.
/Bruce
next prev parent reply other threads:[~2024-05-08 15:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-08 9:52 David Marchand
2024-05-08 10:50 ` Bruce Richardson
2024-05-08 15:01 ` Bruce Richardson [this message]
2024-05-13 9:46 ` David Marchand
2024-05-13 11:12 ` [PATCH v2] eal/unix: support ZSTD compression for firmware David Marchand
2024-05-13 11:37 ` Bruce Richardson
2024-05-13 11:47 ` David Marchand
2024-05-17 17:01 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZjuTwB8j-bYSmPrP@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=yux.jiang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).