<div dir="ltr"><div>Hi Patrick,<br><br></div>Which OS and Compiler are you using?  Also what version of binutils are you using (`which ld` and `ld --version`)?  This is a known issue where the `ld` shipped with older versions binutils doesn't support the AVX2 instructions generated for SWR, even though the compiler you're using does.  Disabling SWR isn't really a great option since it's performance is dramatically better than the llvmpipe alternative.  Placing a newer binutils in your path should let SWR build successfully.<br><div class="gmail_extra"><br clear="all"><div><div class="m_3840047217321977022gmail_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></div></div></div></div></div></div></div><br><div class="gmail_quote">On Wed, Apr 19, 2017 at 11:47 AM, Patrick Begou <span dir="ltr"><<a href="mailto:Patrick.Begou@legi.grenoble-inp.fr" target="_blank">Patrick.Begou@legi.grenoble-<wbr>inp.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My work to compile paraview 5.3 is in progress but on the cluster (no GPU) I fail to compile osmesa.<br>
The downloaded tarball is mesa-17.0.1.tar.xz<br>
<br>
The message is about invalid instructions:<br>
 CXXLD  libswrAVX.la<br>
 CXX    libswrAVX2_la-swr_clear.lo<br>
/tmp/ccDsR3FF.s: Assembler messages:<br>
/tmp/ccDsR3FF.s:109: Error: no such instruction: `shlx %eax,%r8d,%ecx'<br>
/tmp/ccDsR3FF.s:113: Error: no such instruction: `shlx %eax,%r9d,%ecx'<br>
/tmp/ccDsR3FF.s:265: Error: no such instruction: `shlx %eax,%r14d,%edx'<br>
make[5]: *** [libswrAVX2_la-swr_clear.lo] Error 1<br>
<br>
<br>
I use Python 2.7.9 with mako, gcc (GCC) 4.8.1 and the configure command generated by paraview-superbuild process in superbuild/osmesa/src is:<br>
<br>
./configure --prefix=/kareline/data/begou/<wbr>PARAVIEW5/build-kareline/insta<wbr>ll<br>
--enable-opengl --disable-gles1 --disable-gles2 --disable-va --disable-xvmc --disable-vdpau<br>
--enable-shared-glapi  --disable-texture-float --enable-gallium-llvm --enable-llvm-shared-libs<br>
--with-gallium-drivers=swrast,<wbr>swr  --disable-dri --with-dri-drivers=   --disable-egl --with-egl-platforms=<br>
--disable-gbm   --disable-glx<br>
<br>
It seams the same as the one provided in the wiki.<br>
<br>
I've no idea on how to work around this...<br>
<br>
Thanks<br>
<br>
Patrick<br>
<br>
-- <br>
==============================<wbr>==============================<wbr>=======<br>
|  Equipe M.O.S.T.         |                                      |<br>
|  Patrick BEGOU           | mailto:<a href="mailto:Patrick.Begou@grenoble-inp.fr" target="_blank">Patrick.Begou@grenoble-<wbr>inp.fr</a> |<br>
|  LEGI                    |                                      |<br>
|  BP 53 X                 | Tel 04 76 82 51 35                   |<br>
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |<br>
==============================<wbr>==============================<wbr>=======<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
</blockquote></div><br></div></div>