[Mesa-dev] [Bug 109929] tgsi_to_nir.c:2111: undefined reference to `gl_nir_lower_samplers_as_deref'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 31 05:15:32 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109929

--- Comment #11 from Jan Vesely <jv356 at scarletmail.rutgers.edu> ---
(In reply to Vinson Lee from comment #10)
> The diff fixes the entire build for me.
> 
> diff --git a/src/gallium/targets/pipe-loader/Makefile.am
> b/src/gallium/targets/pipe-loader/Makefile.am
> index db515e3097b7..807a100a7d0a 100644
> --- a/src/gallium/targets/pipe-loader/Makefile.am
> +++ b/src/gallium/targets/pipe-loader/Makefile.am
> @@ -53,16 +53,14 @@ endif
>  
>  PIPE_LIBS += \
>         $(top_builddir)/src/gallium/auxiliary/libgallium.la \
> -       $(top_builddir)/src/compiler/nir/libnir.la \
> -       $(top_builddir)/src/util/libmesautil.la \
> +       $(top_builddir)/src/compiler/glsl/libglsl.la \
>         $(GALLIUM_COMMON_LIB_DEPS)
>  
>  AM_LDFLAGS = \
>         -module \
>         -no-undefined \
>         -avoid-version \
> -       $(GC_SECTIONS) \
> -       $(LD_NO_UNDEFINED)
> +       $(GC_SECTIONS)
>  
>  if HAVE_LD_VERSION_SCRIPT
>  AM_LDFLAGS += \
> diff --git a/src/gallium/targets/xa/Makefile.am
> b/src/gallium/targets/xa/Makefile.am
> index 7b0e9006e06d..2238a7ea81f6 100644
> --- a/src/gallium/targets/xa/Makefile.am
> +++ b/src/gallium/targets/xa/Makefile.am
> @@ -37,16 +37,14 @@ libxatracker_la_LIBADD = \
>         $(top_builddir)/src/gallium/state_trackers/xa/libxatracker.la \
>         $(top_builddir)/src/gallium/auxiliary/libgalliumvl_stub.la \
>         $(top_builddir)/src/gallium/auxiliary/libgallium.la \
> -       $(top_builddir)/src/compiler/nir/libnir.la \
> -       $(top_builddir)/src/util/libmesautil.la \
> +       $(top_builddir)/src/compiler/glsl/libglsl.la \
>         $(LIBDRM_LIBS) \
>         $(GALLIUM_COMMON_LIB_DEPS)
>  
>  libxatracker_la_LDFLAGS = \
>         -no-undefined \
>         -version-number $(XA_MAJOR):$(XA_MINOR):$(XA_PATCH) \
> -       $(GC_SECTIONS) \
> -       $(LD_NO_UNDEFINED)
> +       $(GC_SECTIONS)
>  
>  if HAVE_LD_VERSION_SCRIPT
>  libxatracker_la_LDFLAGS += \

Does this change add glsl compiler to XA state tracker? that sounds rather
unfortunate.
I still see:
pipe_r600.so: undefined symbol: _mesa_extension_table
in both pipe_r600 and pipe_radeonsi when using clover.

Am I reading it correctly that
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/225/diffs?commit_id=9a834447d652ea50864bb6c32f4ff99ac10d39bf#6749efedc0ac7001e9a35e66fa0e8dfb6e4ff8d3_537_537
adds glsl dependency to every state tracker?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190331/21c118d1/attachment.html>


More information about the mesa-dev mailing list