[Mesa-dev] Compile fix for radeonsi
Andreas Hartmetz
ahartmetz at gmail.com
Mon May 27 19:16:04 PDT 2013
Looks like the radeonsi build setup relies on other parts to pull
in some dependencies. I seem to have a configuration where some
of them aren't compiled. Mesa compiles without this patch, but
radeonsi_dri.so will fail to load at runtime with missing symbol
LLVMPassManagerBuilderCreate.
My mesa config line is:
./configure --prefix=/opt/xorg --with-egl-platforms=x11,drm
--enable-gbm --enable-shared-glapi --enable-gles1 --enable-gles2
--enable-glx-tls -disable-xvmc
--with-gallium-drivers=r300,r600,svga,swrast,radeonsi
PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig
This fix is probably not good enough for all possible configurations.
Is it even necessary to pick and choose LLVM parts, when it seems
very uncommon to disable parts of it?
Unnecessary libs are usually discarded at link time, so that
the dynamic linker won't needlessly search for symbols in them
at runtime.
More information about the mesa-dev
mailing list