[Mesa-users] mesa 13.0.1 compilation error for libswrAVX2_la-swr_*.lo

Seong Mo Yeon seongmo.yeon at gmail.com
Mon Nov 21 02:53:07 UTC 2016


I am trying to compile mesa 13.0.1 with gcc 6.1.0 on intel xeon e5-2667 and
have the following error:

/tmp/ccZQUeyV.s: Assembler messages:
/tmp/ccZQUeyV.s:963: Error: no such instruction: `shrx %esi,4(%rax,%rdi,4),%ecx'
/tmp/ccZQUeyV.s:1592: Error: no such instruction: `shlx %eax,%edi,%eax'
/tmp/ccZQUeyV.s:7242: Error: no such instruction: `shlx %ecx,%eax,%eax'
/tmp/ccZQUeyV.s:7819: Error: no such instruction: `shrx %eax,12(%rcx),%eax'
/tmp/ccZQUeyV.s:8190: Error: no such instruction: `shrx %eax,16(%rcx),%eax'
/tmp/ccZQUeyV.s:8319: Error: no such instruction: `shrx %edi,28(%rax),%edx'
make[5]: *** [libswrAVX2_la-swr_state.lo] Error 1

in /proc/cpuinfo, the cpu has avx and avx2 enabled. What should I do to compile mesa 13.0.1 with Intel OpenSWR.

FYI, my configuration is as follows:

./configure CXXFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
CFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
--disable-dri --disable-egl --enable-xlib-glx \
--with-gallium-drivers="swrast,swr" --enable-texture-float \
--with-egl-platforms="" --enable-gallium-osmesa \
--enable-gallium-llvm=yes --enable-llvm-shared-libs \
--with-llvm-prefix="/opt/llvm/3.8.1"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20161121/b01bd857/attachment.html>


More information about the mesa-users mailing list