From owner-svn-ports-all@freebsd.org Sun Nov 11 11:45:13 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB4221100F04; Sun, 11 Nov 2018 11:45:12 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5853B7C458; Sun, 11 Nov 2018 11:45:12 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3963C11B53; Sun, 11 Nov 2018 11:45:12 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wABBjCit027528; Sun, 11 Nov 2018 11:45:12 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wABBjCeu027527; Sun, 11 Nov 2018 11:45:12 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201811111145.wABBjCeu027527@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 11 Nov 2018 11:45:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484685 - head/multimedia/mswebrtc/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/multimedia/mswebrtc/files X-SVN-Commit-Revision: 484685 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5853B7C458 X-Spamd-Result: default: False [-106.86 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.77)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.90), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 11:45:13 -0000 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