Skip to contentSkip to conversation

Meson can't find MLX5 build dependencies with clang

DPDK/core Bug 1798 [email protected] 1 participant 1 message Oct 3, 2025

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
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").

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.