mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
mesa3d 23.3 added dri3_priv.h header and dri3_check_multibuffer() function in drisw (part of swrast gallium driver) that can be build without dri3. i686-buildroot-linux-gnu/bin/ld: src/glx/libglx.a.p/drisw_glx.c.o: in function `driswCreateScreenDriver': drisw_glx.c:(.text.driswCreateScreenDriver+0x3a0): undefined reference to `dri3_check_multibuffer' collect2: error: ld returned 1 exit status Add HAVE_DRI3 guard around dri3_priv.h header and the zink code using dri3_check_multibuffer(). While testing again the TestGlxinfo runtime test, a new unexpected error line appeared in the glxinfo log: MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so mesa3d try to load zink gallium driver even if it was not enabled at build time, indeed there is no such option in Buildroot. Apply patches sent upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27478 Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6093854455 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>