lame woe

 

without a colon might be in error [-w+orphan-labels]

test -d .libs || mkdir .libs

/bin/echo ‘# Generated by ltmain.sh – GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)’ >fftsse.lo

/bin/echo “pic_object=’.libs/fftsse.o'” >>fftsse.lo

/bin/echo “non_pic_object=’.libs/fftsse.o'” >>fftsse.lo

/usr/local/bin/nasm -f win32 -DWIN32 -i ../../libmp3lame/i386/ fftsse.nas -o .libs/fftsse.o -l fftsse.lo.lst

fftsse.nas:422: warning: label alone on a line without a colon might be in error [-w+orphan-labels]

/bin/sh ../../libtool –mode=link i686-w64-mingw32-gcc  -Wall -pipe -mtune=generic -O3 -fno-common   -o liblameasmroutines.la  choose_table.lo cpu_feat.lo fft3dn.lo fftsse.lo 

i686-w64-mingw32-ar cru .libs/liblameasmroutines.a  .libs/choose_table.o .libs/cpu_feat.o .libs/fft3dn.o .libs/fftsse.o

i686-w64-mingw32-ranlib .libs/liblameasmroutines.a

creating liblameasmroutines.la

(cd .libs && rm -f liblameasmroutines.la && ln -s ../liblameasmroutines.la liblameasmroutines.la)

Making all in vector

/bin/sh ../../libtool –tag=CC   –mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H  -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../..    -Wall -pipe -mtune=generic -O3 -fno-common -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c -o xmm_quantize_sub.lo xmm_quantize_sub.c

i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -Wall -pipe -mtune=generic -O3 -fno-common -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c xmm_quantize_sub.c -o xmm_quantize_sub.o

xmm_quantize_sub.c: In function ‘fht_SSE2‘:

xmm_quantize_sub.c:172:20: warning: variable ‘v_s2‘ set but not used [-Wunused-but-set-variable]

             __m128 v_s2;

                    ^~~~

xmm_quantize_sub.c: In function ‘init_xrpow_core_sse‘:

xmm_quantize_sub.c:65:18: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]

     const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);

                  ^~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:898: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);

                     ^~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:898: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:73:27: note: called from here

     vec_xrpow_max._m128 = _mm_set_ps1(0);

                           ^~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:932:1:error: inlining failed in call to always_inline ‘_mm_loadu_ps‘: target specific option mismatch

_mm_loadu_ps (float const *__P)

^~~~~~~~~~~~

xmm_quantize_sub.c:65:18: note: called from here

     const __m128 vec_fabs_mask = _mm_loadu_ps(&fabs_mask._float[0]);

                  ^~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:898: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);

                     ^~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:898: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:73:27: note: called from here

     vec_xrpow_max._m128 = _mm_set_ps1(0);

                           ^~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:981:1:error: inlining failed in call to always_inline ‘_mm_storeu_ps‘: target specific option mismatch

_mm_storeu_ps (float *__P, __m128 __A)

^~~~~~~~~~~~~

xmm_quantize_sub.c:82:9: note: called from here

         _mm_storeu_ps(&(xrpow[i]), vec_tmp._m128); /* store into xrpow[] */

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:232:1:error: inlining failed in call to always_inline ‘_mm_max_ps‘: target specific option mismatch

_mm_max_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:81:31: note: called from here

         vec_xrpow_max._m128 = _mm_max_ps(vec_xrpow_max._m128, vec_tmp._m128); /* retrieve max */

                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:208:1:error: inlining failed in call to always_inline ‘_mm_sqrt_ps‘: target specific option mismatch

_mm_sqrt_ps (__m128 __A)

^~~~~~~~~~~

xmm_quantize_sub.c:80:25: note: called from here

         vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:196:1:error: inlining failed in call to always_inline ‘_mm_mul_ps‘: target specific option mismatch

_mm_mul_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:80:25: note: called from here

         vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:208:1:error: inlining failed in call to always_inline ‘_mm_sqrt_ps‘: target specific option mismatch

_mm_sqrt_ps (__m128 __A)

^~~~~~~~~~~

xmm_quantize_sub.c:80:25: note: called from here

         vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:184:1:error: inlining failed in call to always_inline ‘_mm_add_ps‘: target specific option mismatch

_mm_add_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:79:25: note: called from here

         vec_sum._m128 = _mm_add_ps(vec_sum._m128, vec_tmp._m128);

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:240:1:error: inlining failed in call to always_inline ‘_mm_and_ps‘: target specific option mismatch

_mm_and_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:78:25: note: called from here

         vec_tmp._m128 = _mm_and_ps(vec_tmp._m128, vec_fabs_mask); /* fabs */

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:932:1:error: inlining failed in call to always_inline ‘_mm_loadu_ps‘: target specific option mismatch

_mm_loadu_ps (float const *__P)

^~~~~~~~~~~~

xmm_quantize_sub.c:77:25: note: called from here

         vec_tmp._m128 = _mm_loadu_ps(&(cod_info->xr[i])); /* load */

                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:898: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:84:21: note: called from here

     vec_tmp._m128 = _mm_set_ps1(0);

                     ^~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:232:1:error: inlining failed in call to always_inline ‘_mm_max_ps‘: target specific option mismatch

_mm_max_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:92:35: note: called from here

             vec_xrpow_max._m128 = _mm_max_ps(vec_xrpow_max._m128, vec_tmp._m128); /* retrieve max */

                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:208:1:error: inlining failed in call to always_inline ‘_mm_sqrt_ps‘: target specific option mismatch

_mm_sqrt_ps (__m128 __A)

^~~~~~~~~~~

xmm_quantize_sub.c:91:29: note: called from here

             vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));

                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:196:1:error: inlining failed in call to always_inline ‘_mm_mul_ps‘: target specific option mismatch

_mm_mul_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:91:29: note: called from here

             vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));

                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:208:1:error: inlining failed in call to always_inline ‘_mm_sqrt_ps‘: target specific option mismatch

_mm_sqrt_ps (__m128 __A)

^~~~~~~~~~~

xmm_quantize_sub.c:91:29: note: called from here

             vec_tmp._m128 = _mm_sqrt_ps(_mm_mul_ps(vec_tmp._m128, _mm_sqrt_ps(vec_tmp._m128)));

                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:184:1:error: inlining failed in call to always_inline ‘_mm_add_ps‘: target specific option mismatch

_mm_add_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:90:29: note: called from here

             vec_sum._m128 = _mm_add_ps(vec_sum._m128, vec_tmp._m128);

                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from xmm_quantize_sub.c:37:0:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/7.1.0/include/xmmintrin.h:240:1:error: inlining failed in call to always_inline ‘_mm_and_ps‘: target specific option mismatch

_mm_and_ps (__m128 __A, __m128 __B)

^~~~~~~~~~

xmm_quantize_sub.c:89:29: note: called from here

             vec_tmp._m128 = _mm_and_ps(vec_tmp._m128, vec_fabs_mask); /* fabs */

                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

make[3]: *** [xmm_quantize_sub.lo] Error 1

make[2]: *** [all-recursive] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2

Rogers-MacBook:ffmpeg-windows-build-helpers rdp$ ./cross_compile_ffmpeg.sh  –disable-nonfree=n

high sierra detected, so using only one cpu for gcc compilation

cmake binary for this build will be cmake

Sat Sep 8 08:46:08 MDT 2018

     ##################### Welcome ######################

  Welcome to the ffmpeg cross-compile builder-helper script.

  Downloads and builds will be installed to directories within /Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox

  If this is not ok, then exit now, and cd to the directory where you’d

  like them installed, then run this script again from there.

  NB that once you build your compilers, you can no longer rename/move

  the sandbox directory, since it will have some hard coded paths in there.

  You can, of course, rebuild ffmpeg from within it, etc.

MinGW-w64 compilers both already installed, not re-installing…

selecting multi build (both win32 and win64)…since both cross compilers are present assuming you want both…

Starting 32-bit builds…

Building ffmpeg dependency libraries…

 

meant comment here

overcame witrh this patch

 

https://github.com/rdp/ffmpeg-windows-build-helpers/blob/master/patches/lame3.patch

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.