<div dir="ltr"><div>Hi Seong,<br><br></div>The error you're getting is from using an outdated binutils that does not support the AVX and AVX2 instruction that OpenSWR requires.  What Linux distribution and version are you using?  Also, that configure command looks very familiar.  Are you building this for VTK and / or ParaView?  <br><div class="gmail_extra"><br clear="all"><div><div class="m_7094143725193154934gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Sun, Nov 20, 2016 at 9:53 PM, Seong Mo Yeon <span dir="ltr"><<a href="mailto:seongmo.yeon@gmail.com" target="_blank">seongmo.yeon@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>
<div name="messageBodySection"><font color="#333333"><br>
I am trying to compile mesa 13.0.1 with gcc 6.1.0 on intel xeon e5-2667 and<br>
have the following error:<br>
<br>
/tmp/ccZQUeyV.s: Assembler messages:<br>
/tmp/ccZQUeyV.s:963: Error: no such instruction: `shrx %esi,4(%rax,%rdi,4),%ecx'<br>
/tmp/ccZQUeyV.s:1592: Error: no such instruction: `shlx %eax,%edi,%eax'<br>
/tmp/ccZQUeyV.s:7242: Error: no such instruction: `shlx %ecx,%eax,%eax'<br>
/tmp/ccZQUeyV.s:7819: Error: no such instruction: `shrx %eax,12(%rcx),%eax'<br>
/tmp/ccZQUeyV.s:8190: Error: no such instruction: `shrx %eax,16(%rcx),%eax'<br>
/tmp/ccZQUeyV.s:8319: Error: no such instruction: `shrx %edi,28(%rax),%edx'<br>
make[5]: *** [libswrAVX2_la-swr_state.lo] Error 1<br>
<br>
in /proc/cpuinfo, the cpu has avx and avx2 enabled. What should I do to compile mesa 13.0.1 with Intel OpenSWR.<br>
<br>
FYI, my configuration is as follows:<br>
<br>
  ./configure CXXFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=<wbr>31" \<br>
              CFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=<wbr>31" \<br>
              --disable-dri --disable-egl --enable-xlib-glx \<br>
              --with-gallium-drivers="swrast<wbr>,swr" --enable-texture-float \<br>
              --with-egl-platforms="" --enable-gallium-osmesa \<br>
              --enable-gallium-llvm=yes --enable-llvm-shared-libs \<br>
              --with-llvm-prefix="/opt/llvm/<wbr>3.8.1"<br>
<br></font></div>
<div name="messageSignatureSection"><br></div>
</div>

<br>______________________________<wbr>_________________<br>
mesa-users mailing list<br>
<a href="mailto:mesa-users@lists.freedesktop.org" target="_blank">mesa-users@lists.freedesktop.o<wbr>rg</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-users" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-users</a><br>
<br></blockquote></div><br></div></div>