Each time, I remember a recent post, I think is from Armin.
Problem solved, but reporting,so perhaps a better solution can be given
(as Bruce recently did).
It is always something to do with sse, gcc, xmmintrin.h and now also
emmintrin.h, if I remove xmmintrin.h. So, removed from configure and
everything built and first tests ran correctly. First, simple patch I
built to fix, after that, error log.
If there are no objections, I will submit this patch later and fix the
book (for gcc-4.9.0 and i686, unless someone can confirm it is also in
x86_64).
Should I keep posting these problems here even if I solve them?
Patch:
{{{
diff -Naur gst-plugins-base-1.2.4.orig/configure
gst-plugins-base-1.2.4/configure
--- gst-plugins-base-1.2.4.orig/configure 2014-04-18 06:26:48.000000000
-0300
+++ gst-plugins-base-1.2.4/configure 2014-04-29 12:52:31.966921663 -0300
@@ -22290,21 +22290,6 @@
fi
-
-for ac_header in xmmintrin.h emmintrin.h
-do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header"
"$ac_includes_default"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
for ac_header in sys/socket.h
do :
ac_fn_c_check_header_compile "$LINENO" "sys/socket.h"
"ac_cv_header_sys_socket_h" "$ac_includes_default
}}}
Log:
{{{
make[3]: Entering directory
'/home/fernando/tmp/paco-build-2014.04.29-12h05m46s/gst-plugins-base-1.2.4/gst/audioresample'
CC libgstaudioresample_la-gstaudioresample.lo
CC libgstaudioresample_la-speex_resampler_int.lo
CC libgstaudioresample_la-speex_resampler_float.lo
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h: In function 'interpolate_product_single':
resample_sse.h:62:10: warning: SSE vector return without SSE enabled
changes the ABI [-Wpsabi]
__m128 sum = _mm_setzero_ps();
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
resample_sse.h: In function 'inner_product_single':
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:115:1: error:
inlining failed in call to always_inline '_mm_setzero_ps': target
specific option mismatch
_mm_setzero_ps (void)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:46:11: error: called from here
__m128 sum = _mm_setzero_ps();
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:929:1: error:
inlining failed in call to always_inline '_mm_loadu_ps': target specific
option mismatch
_mm_loadu_ps (float const *__P)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:49:13: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i),
_mm_loadu_ps(b+i)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:929:1: error:
inlining failed in call to always_inline '_mm_loadu_ps': target specific
option mismatch
_mm_loadu_ps (float const *__P)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:49:13: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i),
_mm_loadu_ps(b+i)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:193:1: error:
inlining failed in call to always_inlinxmmintrin.he '_mm_mul_ps': target
specific option mismatch
_mm_mul_ps (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:49:13: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i),
_mm_loadu_ps(b+i)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:181:1: error:
inlining failed in call to always_inline '_mm_add_ps': target specific
option mismatch
_mm_add_ps (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:49:11: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i),
_mm_loadu_ps(b+i)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:929:1: error:
inlining failed in call to always_inline '_mm_loadu_ps': target specific
option mismatch
_mm_loadu_ps (float const *__P)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:50:13: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4),
_mm_loadu_ps(b+i+4)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:929:1: error:
inlining failed in call to always_inline '_mm_loadu_ps': target specific
option mismatch
_mm_loadu_ps (float const *__P)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:50:13: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4),
_mm_loadu_ps(b+i+4)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:193:1: error:
inlining failed in call to always_inline '_mm_mul_ps': target specific
option mismatch
_mm_mul_ps (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:50:13: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4),
_mm_loadu_ps(b+i+4)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:181:1: error:
inlining failed in call to always_inline '_mm_add_ps': target specific
option mismatch
_mm_add_ps (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:50:11: error: called from here
sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4),
_mm_loadu_ps(b+i+4)));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:782:1: error:
inlining failed in call to always_inline '_mm_movehl_ps': target
specific option mismatch
_mm_movehl_ps (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:52:10: error: called from here
sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:181:1: error:
inlining failed in call to always_inline '_mm_add_ps': target specific
option mismatch
_mm_add_ps (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:52:8: error: called from here
sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:741:1: error:
inlining failed in call to always_inline '_mm_shuffle_ps': target
specific option mismatch
_mm_shuffle_ps (__m128 __A, __m128 __B, int const __mask)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:53:10: error: called from here
sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:125:1: error:
inlining failed in call to always_inline '_mm_add_ss': target specific
option mismatch
_mm_add_ss (__m128 __A, __m128 __B)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:53:8: error: called from here
sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55));
^
In file included from resample_sse.h:38:0,
from resample.c:140,
from speex_resampler_float.c:27:
/usr/lib/gcc/i686-pc-linux-gnu/4.9.0/include/xmmintrin.h:958:1: error:
inlining failed in call to always_inline '_mm_store_ss': target specific
option mismatch
_mm_store_ss (float *__P, __m128 __A)
^
In file included from resample.c:140:0,
from speex_resampler_float.c:27:
resample_sse.h:54:4: error: called from here
_mm_store_ss(&ret, sum);
^
Makefile:689: recipe for target
'libgstaudioresample_la-speex_resampler_float.lo' failed
...
}}}
--
[]s,
Fernando
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page