Date: Sun, 11 Nov 2018 11:45:12 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484685 - head/multimedia/mswebrtc/files Message-ID: <201811111145.wABBjCeu027527@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Nov 11 11:45:11 2018 New Revision: 484685 URL: https://svnweb.freebsd.org/changeset/ports/484685 Log: multimedia/mswebrtc: unbreak build on i386 webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:46:31: error: always_inline function '_mm_loadu_ps' requires target feature 'mmx', but would be inlined into function 'FilterFarSSE2' that is compiled without support for 'mmx' const __m128 xfBuf_re = _mm_loadu_ps(&aec->xfBuf[0][xPos + j]); ^ webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:52:24: error: always_inline function '_mm_mul_ps' requires target feature 'mmx', but would be inlined into function 'FilterFarSSE2' that is compiled without support for 'mmx' const __m128 a = _mm_mul_ps(xfBuf_re, wfBuf_re); ^ webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:56:24: error: always_inline function '_mm_sub_ps' requires target feature 'mmx', but would be inlined into function 'FilterFarSSE2' that is compiled without support for 'mmx' const __m128 e = _mm_sub_ps(a, b); ^ webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:57:24: error: always_inline function '_mm_add_ps' requires target feature 'mmx', but would be inlined into function 'FilterFarSSE2' that is compiled without support for 'mmx' const __m128 f = _mm_add_ps(c, d); ^ webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:60:7: error: always_inline function '_mm_storeu_ps' requires target feature 'mmx', but would be inlined into function 'FilterFarSSE2' that is compiled without support for 'mmx' _mm_storeu_ps(&yf[0][j], g); ^ webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:78:26: error: always_inline function '_mm_set1_ps' requires target feature 'mmx', but would be inlined into function 'ScaleErrorSignalSSE2' that is compiled without support for 'mmx' const __m128 k1e_10f = _mm_set1_ps(1e-10f); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] Reported by: pkg-fallout Added: head/multimedia/mswebrtc/files/ head/multimedia/mswebrtc/files/patch-CMakeLists.txt (contents, props changed) Added: head/multimedia/mswebrtc/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mswebrtc/files/patch-CMakeLists.txt Sun Nov 11 11:45:11 2018 (r484685) @@ -0,0 +1,16 @@ +i386 target on BSDs doesn't include SSE2 by default + +--- CMakeLists.txt.orig 2017-07-20 13:56:58 UTC ++++ CMakeLists.txt +@@ -204,6 +204,11 @@ if(ENABLE_AEC) + ${AEC_SRC_DIR}/aec_core_sse2.c + ${AEC_SRC_DIR}/aec_rdft_sse2.c + ) ++ set_source_files_properties( ++ ${AEC_SRC_DIR}/aec_core_sse2.c ++ ${AEC_SRC_DIR}/aec_rdft_sse2.c ++ PROPERTIES COMPILE_FLAGS "-msse2" ++ ) + endif() + include_directories( + ${AEC_SRC_DIR}/include
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811111145.wABBjCeu027527>