[DPDK/core Bug 1798] Meson can't find MLX5 build dependencies with clang

bugzilla at dpdk.org bugzilla at dpdk.org
Fri Oct 3 13:45:34 CEST 2025


http://bugs.dpdk.org/show_bug.cgi?id=1798

            Bug ID: 1798
           Summary: Meson can't find MLX5 build dependencies with clang
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: alialnu at nvidia.com
  Target Milestone: ---

Created attachment 331
  --> http://bugs.dpdk.org/attachment.cgi?id=331&action=edit
Meson logs with and without the first bad commit

MLX5 drivers are getting disabled due to missing dependency warnings:

Message: Disabling mlx5 [drivers/net/mlx5]: missing internal dependency
"common_mlx5"

Build command:
CC=clang PKG_CONFIG_PATH=/opt/rdma-core/build/lib/pkgconfig meson
--werror --buildtype=debugoptimized build

OS: Ubuntu 22.04
Compiler: clang 14.0.0
Meson: 0.61.2

gcc does not reproduce.

$ PKG_CONFIG_PATH=:/opt/rdma-core/build/lib/pkgconfig pkg-config --modversion
libibverbs
1.15.60.0

git-bisect points to 0681e15f42df ("build: validate libraries returned from
meson find function").

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list