[Bug 275388] graphics/mesa-dri: 23.1.8 breaks some radeon cards

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Dec 2023 06:56:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275388

--- Comment #26 from Emmanuel Vadot <manu@freebsd.org> ---
(In reply to gnikl from comment #25)

Yes and no.
Mesa needs libelf, what -Dlibelf=disabled do is not trying to use pkgconfig to
get libelf info but in meson.build if it's not found (or disabled) it will
fallback to cc.find_library (see
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/meson.build?ref_type=heads#L1849).
And since others deps adds ${LOCALBASE}/include in the cflags the libelf
headers from elfutils resulting in a confused mesa trying to use libelf from
base iwth struct/funcs definition from elfutils.

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