mesa 13.0.1 compilation error for libswrAVX2_la-swr_*.lo

Seong Mo Yeon <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <63c6fa0c-f459-42e9-84e3-71d6abcb8fa1@Spark>
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"

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.