Re: mesa 13.0.1 compilation error for libswrAVX2_la-swr_*.lo

Chuck Atkins <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAOXZzG71bVQpEWMWUnPO2v6ALROt=ovWk9bsm0avWz9b8-+umw@mail.gmail.com>
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

_______________________________________________
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.