<div dir="ltr"><div>What's the output of your configure look like? Using almost the same configuration on CentOS 6.7 with GCC 5.2 from the SCL, except all system dev-packages instead my own versions (sans llvm of course) I get the following output:<br><br><span style="font-family:monospace,monospace">[chuck@wopr mesa-11.2.2]$ ./configure --with-llvm-prefix=${HOME}/Code/LLVM/llvm-3.8.0.inst --with-gnu-ld --enable-gallium-llvm=yes --enable-sysfs --enable-xlib-glx --enable-glx --enable-texture-float --disable-dri --disable-dri3 --disable-egl --disable-llvm-shared-libs --with-gallium-drivers=swrast<br>...<br>config.status: executing libtool commands<br><br> prefix: /usr/local<br> exec_prefix: ${prefix}<br> libdir: ${exec_prefix}/lib<br> includedir: ${prefix}/include<br><br> OpenGL: yes (ES1: yes ES2: yes)<br><br> OSMesa: no<br><br> GLX: Xlib-based<br><br> EGL: no<br><br> llvm: yes<br> llvm-config: /home/chuck/Code/LLVM/llvm-3.8.0.inst/bin/llvm-config<br> llvm-version: 3.8.0<br><br> Gallium drivers: swrast<br> Gallium st: mesa<br><br> Shader cache: yes<br> With SHA1 from: libcrypto<br><br> Shared libs: yes<br> Static libs: no<br> Shared-glapi: yes<br><br> CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp<br> CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp<br> Macros: -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_SHA1 -DHAVE_SYSFS -DUSE_XSHM -DMESA_EGL_NO_X11_HEADERS -DHAVE_LLVM=0x0308 -DMESA_LLVM_VERSION_PATCH=0<br><br> LLVM_CFLAGS: -I/home/chuck/Code/LLVM/llvm-3.8.0.inst/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> LLVM_CXXFLAGS: -I/home/chuck/Code/LLVM/llvm-3.8.0.inst/include -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> LLVM_CPPFLAGS: -I/home/chuck/Code/LLVM/llvm-3.8.0.inst/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> LLVM_LDFLAGS: -L/home/chuck/Code/LLVM/llvm-3.8.0.inst/lib <br><br> PYTHON2: python2<br><br> Run 'make' to build Mesa<br><br>[chuck@wopr mesa-11.2.2]$</span><br><br></div>Your resulting configure output should be similar.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- Chuck<br></div></div></div>
<br><div class="gmail_quote">On Wed, Jun 29, 2016 at 8:01 AM, Edson Contreras Cárdenas <span dir="ltr"><<a href="mailto:edrecon@gmail.com" target="_blank">edrecon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><p dir="ltr">Hello everyone,</p>
<p dir="ltr">Sorry for bothering you all, but I cannot get the gallium llvmpipe driver working, and I need some help.</p>
<p dir="ltr">My environment is:<br>
RHEL6.6<br>
gcc-5.2 (system)<br>
libudev < 151 (system, I cannot upgrade kernel)</p>
<p dir="ltr">llvm-3.8 (from source)<br>
libva-1.7.1 (from source)<br>
libxshmfence-latest (from source)<br>
libxcb-latest (from source)<br>
libdrm-latest (from source)</p>
<p dir="ltr">I have all my libs installed in a non-standard path:</p>
<p dir="ltr">MYLIBS_PREFIX=/remote/sharedLibs</p>
<p dir="ltr">And my configure script looks like:</p>
<p dir="ltr">../mesa-11.2.2/configure \<br>
PKG_CONFIG_PATH=${MYLIBS_PREFIX}/libxcb/lib/pkgconfig:${MYLIBS_PREFIX}/libdrm/lib/pkgconfig:${MYLIBS_PREFIX}/libxshmfence/lib/pkgconfig:${MYLIBS_PREFIX}/libva/lib/pkgconfig \<br>
—prefix=${MYLIBS_PREFIX}/mesa-11.2-llvmpipe \<br>
—with-llvm-prefix=${MYLIBS_PREFIX}/llvm-3.8 \<br>
—with-gnu-ld \<br>
—enable-gallium-llvm=yes \<br>
—enable-sysfs \<br>
—enable-xlib-glx \<br>
—enable-glx \<br>
—enable-texture-float \<br>
—disable-dri \<br>
—disable-dri3 \<br>
—disable-egl \<br>
—disable-llvm-shared-libs \<br>
—with-gallium-drivers=swrast</p>
<p dir="ltr">The thing is that I have a valid libGL.so after building,
but doesn't have support for OpenGL 3.2. In addition to that, if I run
"glxinfo | grep OpenGL" it does not mention Gallium llvmpipe driver
anywhere (however it does mention mesa 11.2) and glxgears runs smoothly.</p>
<p dir="ltr">Finally, if I try 'scons', it fails due to lack of udev >= 151.</p>
<p dir="ltr">Could you please help me to provide to scons the flag
--enable-sysfs, or, help me to configure 'configure flags' in order to
have llvmpipe driver running?</p>
Thank you very much in advance.<br clear="all"><br></div>Regards,<br></div>Edson<br></div>
<br>_______________________________________________<br>
mesa-users mailing list<br>
<a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-users" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-users</a><br>
<br></blockquote></div><br></div>