Re: Missing 'spirv' symbols with r300_dri.so in latest snapshots

"Donovan Watteau" <[email protected]> Sun, 16 Jun 2024 19:02:56 +0200
Newsgroups gmane.os.openbsd.ppc
Message-ID <[email protected]>
Jonathan Gray wrote:
>
> libmesa now requires libvtn, try this:
>
> Index: lib/mesa/mk/libOSMesa/Makefile
> ===================================================================
> RCS file: /cvs/xenocara/lib/mesa/mk/libOSMesa/Makefile,v
> diff -u -p -r1.8 Makefile
> --- lib/mesa/mk/libOSMesa/Makefile	3 Mar 2023 06:32:18 -0000	1.8
> +++ lib/mesa/mk/libOSMesa/Makefile	16 Jun 2024 03:48:50 -0000
> @@ -34,7 +34,8 @@ SLIBS=	libmesa \
>  	libcompiler \
>  	libgallium \
>  	libws_null \
> -	libsoftpipe
> +	libsoftpipe \
> +	libvtn
> 
>  .if ${WITH_SSE41} == "yes"
>  SLIBS+=	libmesa_sse41
> Index: lib/mesa/mk/libgallium_dri/Makefile
> ===================================================================
> RCS file: /cvs/xenocara/lib/mesa/mk/libgallium_dri/Makefile,v
> diff -u -p -r1.10 Makefile
> --- lib/mesa/mk/libgallium_dri/Makefile	3 Apr 2024 22:10:09 -0000	1.10
> +++ lib/mesa/mk/libgallium_dri/Makefile	16 Jun 2024 03:46:05 -0000
> @@ -92,11 +92,8 @@ SLIBS=	libdri \
>  	libwsw \
>  	libswdri \
>  	libswkmsdri \
> -	libsoftpipe
> -
> -.if ${WITH_AMD_VK} == "yes" || ${WITH_INTEL_VK} == "yes"
> -SLIBS+=	libvtn
> -.endif
> +	libsoftpipe \
> +	libvtn
> 
>  .if ${WITH_SSE41} == "yes"
>  SLIBS+=	libmesa_sse41

This does fix the issue after rebuilding mesa in Xenocara with this
change. Thanks.