Erro in libgmp when making fdk-aac

Leif Leonhardy not.really at online.de
Tue Jul 19 16:05:09 UTC 2016


Michael Fuckner wrote:
> Hi,
> 
> I am using Fedora24 (umgraded from 23) on Intel G3900 (Skylake) and try
> to compile fdk-aac. Any help appreciated!
> 
> steps to reproduce:
> git clone https://github.com/mstorsjo/fdk-aac
> cd fdk-aac
> ./autogen.sh
> ./configure
> make
> 
> 
> 
> when I type make, I see this output:
> 
>   CXX      libAACdec/src/aacdec_drc.lo
> libAACdec/src/aacdec_drc.cpp:137:3: internal compiler error: Illegal
> instruction
>    pParams->cut      = FL2FXCONST_DBL(0.0f);
>    ^~~~~~~
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://bugzilla.redhat.com/bugzilla> for instructions.
> Preprocessed source stored into /tmp/ccx49K6D.out file, please attach
> this to your bugreport.
> Makefile:1264: recipe for target 'libAACdec/src/aacdec_drc.lo' failed
> make: *** [libAACdec/src/aacdec_drc.lo] Error 1
> [0.14] molli123 at revo:~/fdk-aac >
> 
> in dmesg I see (that's why I believe this problem is related to gmp):
> [87398.237931] traps: expr[13570] trap invalid opcode ip:7f542d3efa1b
> sp:7ffc3d9c3fe8 error:0 in libgmp.so.10.3.0[7f542d3b5000+92000]
> 
> 
> GMP-Version (packaged by Fedora): gmp-6.1.0-2.fc24.x86_64

You should (also) report this upstream Fedora, as they package a GMP
library built with '--enable-fat' (where code is selected at runtime
based on the actual CPU [capabilities]).

Since at least a couple of (less capable) "low-cost" Intel CPUs branded
"Skylake" (IMHO mainly for marketing reasons) in addition have hardware
bugs as Torbjörn described, *and* GCC depends on the GMP library (hence
can crash as in your case), Fedora should quickly upgrade their GMP
package, or at least include the respective patches available since a
couple of weeks IIRC.


-leif

> rpm -V looks good on gcc, gmp
> GCC-Version: gcc version 6.1.1 20160621 (Red Hat 6.1.1-3) (GCC)
> Linux revo.fritz.box 4.6.3-300.fc24.x86_64 #1 SMP Fri Jun 24 20:52:41
> UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> 
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs



More information about the gmp-bugs mailing list