zimbatm / ffmpeg-static

Scripts to build ffmpeg with all the deps statically (webm + h264 included)
ISC License
494 stars 245 forks source link

libmp3lame compile error #65

Open YaLTeR opened 7 years ago

YaLTeR commented 7 years ago

Tested on 32-bit Ubuntu Server 16.04 and 17.04. Gives a bunch of errors like this:

In file included from xmm_quantize_sub.c:37:0:
/usr/lib/gcc/i686-linux-gnu/6/include/xmmintrin.h:895:1: error: inlining failed in call to always_inline '_mm_set_ps1': target specific option mismatch
 _mm_set_ps1 (float __F)
 ^~~~~~~~~~~
xmm_quantize_sub.c:74:21: note: called from here
     vec_sum._m128 = _mm_set_ps1(0);
                     ^~~~~~~~~~~~~~

Disabling libmp3lame in build.sh results in everything being compiled and built nicely.

zimbatm commented 7 years ago

Thanks for the report!