[Mesa-dev] [PATCH] radeon/llvm: Link against libgallium.la to fix an undefined symbol

Andreas Boll andreas.boll.dev at gmail.com
Tue Mar 19 03:55:41 PDT 2013


Ported from downstream:
http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/119-libllvmradeon-link.patch;h=ee47f8a07dbf33c32f8b57faed923680ed6648fb;hb=refs/heads/ubuntu%2B1

Fixes a regression introduced with
f70c3853513637fa6ed38e75f73d472a9fa61213

NOTE: This is a candidate for the 9.1 branch.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62434
---

Note: This patch increases the size of libllvmradeon
To fix this we need a shared libgallium.
Additionally it would reduce the size of all gallium drivers.

See http://lists.freedesktop.org/archives/mesa-dev/2013-March/036363.html
and https://bugs.freedesktop.org/show_bug.cgi?id=62434

 src/gallium/drivers/radeon/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Makefile.am
index 678a0cb..ef75aaa 100644
--- a/src/gallium/drivers/radeon/Makefile.am
+++ b/src/gallium/drivers/radeon/Makefile.am
@@ -27,5 +27,6 @@ libllvmradeon at VERSION@_la_SOURCES = \
 	$(C_FILES)
 
 libllvmradeon at VERSION@_la_LIBADD = \
+	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
 	$(CLOCK_LIB) \
 	$(LLVM_LIBS)
-- 
1.7.10.4



More information about the mesa-dev mailing list