Re: mesa 13.0.1 compilation error for libswrAVX2_la-swr_*.lo
Chuck Atkins <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAOXZzG4ur7Bo0WnS-QWq0cs1QD1cuX83oCpjkaHFpCDdi7Mo=g@mail.gmail.com> |
Hi Seong, 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? ---------- Chuck Atkins Staff R&D Engineer, Scientific Computing Kitware, Inc. On Sun, Nov 20, 2016 at 9:53 PM, Seong Mo Yeon <[email protected]> wrote: > > 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 > > _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users