Compilation problem

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
PatDae
Posts: 4
Joined: Tue Feb 09, 2016 1:16 pm
Operating System: Linux Debian

Compilation problem

Post by PatDae » Tue Feb 09, 2016 1:49 pm

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.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Compilation problem

Post by Gale Andrews » Tue Feb 09, 2016 2:41 pm

Might you need to install a later version of binutils: https://github.com/xianyi/OpenBLAS/issues/438?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

PatDae
Posts: 4
Joined: Tue Feb 09, 2016 1:16 pm
Operating System: Linux Debian

Re: Compilation problem

Post by PatDae » Tue Feb 09, 2016 4:02 pm

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.

Post Reply