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

Chuck Atkins chuck.atkins at kitware.com
Tue Nov 22 14:38:29 UTC 2016


Hi Seong,

OS distribution is RHEL 7 and binutils version is 2.20.51 (rpm package).
>

AVX2 was introduced in binutils 2.22 so at least that version is required.
I'm using RHEL 7.2 on many different systems and they currently have
binutils 2.23.52.0.1 in the system install and newer versions available in
module locations, all of which work fine.  Usually I see this problem on
RHEL6 / CentOS6 since the the system supplied binutils is too old to build
SWR but EL7 should be fine.



> Yes I am building this for paraview.
>

I've updated ParaView's Wiki page with newer config options appropriate for
Mesa 13.0.1 (I'm also a ParaView developer).
http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Installing_Mesa_llvmpipe_and_swr_drivers



> Following your comment, I have binutils 2.27 installed locally cause it is
> HPC.
>

That should work.  Can you check your gcc and as versions before running
./configure to make sure the right ones are getting picked up? For example:
Using the system compilers:

$ which gcc
/usr/bin/gcc
$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
...
$ which as
/usr/bin/as
$ as --version
GNU assembler version 2.23.52.0.1-55.el7 20130226
...
$

Using the SCL devtoolset-6 compilers:

$ which gcc
/opt/rh/devtoolset-6/root/usr/bin/gcc
$ gcc --version
gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-3)
...
$ which as
/opt/rh/devtoolset-6/root/usr/bin/as
$ as --version
GNU assembler version 2.27-10.el7
...
$

- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20161122/3184ce7f/attachment.html>


More information about the mesa-users mailing list