Page 1 of 1

Compilation problem

Posted: Tue Feb 09, 2016 1:49 pm
by PatDae
Hi,

I tried to compile Audacity on my system.
I got many errors concerning apparently the same kind of problems of which I list only the end :

/tmp/ccr5KRpU.s:4752: Error: no such instruction: `vpermd %ymm7,%ymm6,%ymm5'
make[6]: *** [lpc_intrin_avx2.lo] Error 1
make[6]: Leaving directory `/myhome/opt/AUDACITY/audacity/lib-src/libflac/src/libFLAC'

I have used a recent version of gcc (gcc 5.3.1 20160105) on the following Scientific Linux 6.5 (old) system :
Architecture: i686
CPU op-mode(s): 32-bit
Byte Order: Little Endian
Vendor ID: GenuineIntel
CPU family: 6
Model: 13
Stepping: 8

Could somebody have an idea about an explanation and a possible solution ?
Thanks in advance
P.

Re: Compilation problem

Posted: Tue Feb 09, 2016 2:41 pm
by Gale Andrews
Might you need to install a later version of binutils: https://github.com/xianyi/OpenBLAS/issues/438?


Gale

Re: Compilation problem

Posted: Tue Feb 09, 2016 4:02 pm
by PatDae
OK, I will install new binutils ASAP.

But I have found in a fresly downloaded flac 1.3.1 README file a possibility to eventually overcome compilation problems with gnu.
"--disable-asm-optimizations : Disables the compilation of the assembly routines. Many routines have assembly versions for
speed and `configure' is pretty good about knowing what is supported, but you can use this option to build only from the C sources."

Then I compiled flac and after that Audactity !
But I do not know if when using this flag will degrade Audacity functionalities. I will see later.

Thanks again
P.