Without this, I get linking failures (static linking).

The static linking is sort of required for me, because otherwise Steam and
applications using the Steam runtime regularily fail because my LLVM was
compiled and linked against a newer libgcc_s, libstdc++, etc. and uses
features from those newer versions. And instead of just not starting, my
X starts crashing, whenever libGL fails to load a (32 bit) driver.

Since I hate crashes of X and I don't think Valve/Steam will behave like
a proper distribution soon (rebuilds versus current Debian Testing, since
they base their Steam OS off that), I need a radeonsi which carries its
own LLVM within and doesn't care about what the runtime sets.

Signed-off-by: Kai Wasserbäch <k...@dev.carbon-project.org>
---
 src/gallium/targets/opencl/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -31,6 +31,8 @@ lib@OPENCL_LIBNAME@_la_LIBADD = \
        -lclangEdit \
        -lclangLex \
        -lclangBasic \
+       -lLLVMObjCARCOpts \
+       -lLLVMProfileData \
        $(LLVM_LIBS)
 
 if HAVE_DRI
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to