[Mesa-dev] [PATCH 1/2] drivers/radeon: Don't link against libgallium.la

Aaron Watry awatry at gmail.com
Fri Jan 11 10:40:26 PST 2013


Hi Tom,

This patch doesn't apply cleanly against mesa/master.

For some reason, a bunch of @ symbols got translated to " at ".  Once I change that and apply the patch, it fixes the build for me.

my config:
./autogen.sh --enable-debug --with-dri-drivers=i965,radeon --with-gallium-drivers=r600 --enable-texture-float --enable-opencl --enable-r600-llvm-compiler --with-egl-platforms=x11,drm --enable-glx-tls

--Aaron Watry


From: Tom Stellard<thomas.stellard at amd.com  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>>

This fixes multiple symbol errors in pipe-loader
---
  src/gallium/drivers/radeon/Makefile.am | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Makefile.am
index 091adc4..e6eb241 100644
--- a/src/gallium/drivers/radeon/Makefile.am
+++ b/src/gallium/drivers/radeon/Makefile.am
@@ -4,7 +4,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
  if HAVE_GALLIUM_R600
  if HAVE_GALLIUM_RADEONSI
  lib_LTLIBRARIES =libllvmradeon at VERSION  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>@.la
-libllvmradeon at VERSION  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>@_la_LDFLAGS = -Wl,--no-undefined -shared -avoid-version \
+libllvmradeon at VERSION  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>@_la_LDFLAGS = -Wl, -shared -avoid-version \
  	$(LLVM_LDFLAGS)
  else
  noinst_LTLIBRARIES =libllvmradeon at VERSION  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>@.la
@@ -26,6 +26,5 @@libllvmradeon at VERSION  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>@_la_SOURCES = \
  	$(C_FILES)

  libllvmradeon at VERSION  <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>@_la_LIBADD = \
-	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
  	$(CLOCK_LIB) \
  	$(LLVM_LIBS)
-- 
1.7.11.4

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130111/7525ba44/attachment.html>


More information about the mesa-dev mailing list