[PATCH v3] build: drop dependency on libbsd

David Marchand david.marchand at redhat.com
Wed Sep 16 13:38:42 CEST 2026


On Mon, 29 Jun 2026 at 16:30, Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> Glibc added the strlcpy and strlcat functions to version 2.38, released
> in 2023, meaning they are natively available in modern linux distros. At
> this point, the value of having the libbsd provided versions of these
> functions is reduced, so let's simplify the code options here by
> providing just two options for strlcpy rather than three:
>
> 1. native implementation for BSD and recent Linux
> 2. DPDK-specific fallbacks using snprintf
>
> Since the strlcpy and strlcat functions are the only two items used from
> libbsd, we can then drop completely any DPDK dependency on libbsd.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>

I removed one last reference in doc.
Acked-by: David Marchand <david.marchand at redhat.com>

Applied, thanks Bruce.

-- 
David Marchand



More information about the dev mailing list