<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - tgsi_to_nir.c:2111: undefined reference to `gl_nir_lower_samplers_as_deref'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109929#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - tgsi_to_nir.c:2111: undefined reference to `gl_nir_lower_samplers_as_deref'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109929">bug 109929</a>
from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
<pre>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 += \</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>