From owner-freebsd-ports-bugs@freebsd.org Sun Sep 18 17:07:05 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7625BDFE6D for ; Sun, 18 Sep 2016 17:07:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B648D1D38 for ; Sun, 18 Sep 2016 17:07:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8IH75xf078504 for ; Sun, 18 Sep 2016 17:07:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 212798] multimedia/transcode: Fix build with clang 3.9.0 Date: Sun, 18 Sep 2016 17:07:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2016 17:07:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212798 Bug ID: 212798 Summary: multimedia/transcode: Fix build with clang 3.9.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: cyberbotx@cyberbotx.com CC: cyberbotx@cyberbotx.com Flags: maintainer-feedback?(cyberbotx@cyberbotx.com) Created attachment 174922 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174922&action= =3Dedit Add newlines to inline asm In bug 212343, for the exp-run with clang 3.9.0, we encountered this error = in multimedia/transcode [1]: motion.c:353:4: error: no matching '.endr' in definition " pxor %%mm0 , %%mm0; /* clear mm0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 */" ^ :1:466: note: instantiated into assembly here pxor %mm0 , %mm0; /* clear mm0=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 */ pcmpeqw %mm6 , %mm6; /* Build 7f7f7f7f7f= 7f7f in a register */ psrlw $9 , %mm6; /*=20= =20=20=20=20=20=20=20 */ packuswb %mm6 , %mm6;=20= =20=20=20=20=20=20=20 /* */=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ; /* */ .re= pt 8 ; /*=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 */ movq (%esi), %mm1; /* 8 Pixels from filtered frame to= mm1 */ movq (%edi), %mm2; /* 8 Pixels from filte= red frame to mm2 (displaced) */ movq (%eax), %mm3; /* refere= nce to mm3 */ psrlq $1 , %mm1;=20= =20=20=20=20=20=20=20=20 /* average source pixels */ psrlq $1 = , %mm2; /* shift right by one (divide by two) */ pan= d=20=20=20 %mm6 , %mm1; /* kill downshifted bits=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 */ pand %mm6 , %mm2; /* kill downshifted bits=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 */ paddusw %mm2 , %mm1; /* add up ...=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 */ movq %mm3 , %mm4; /* copy reference to mm4 */ psubusb %mm1 , %mm3;= =20=20=20=20=20 /* positive differences between mm2 and mm1 */ psubusb %mm4 , %mm1= ;=20=20=20 /* positive differences between mm1 and mm3 */ paddusb %mm3 , %m= m1;=20 /* mm1 now contains abs(mm1-mm2) */ paddusw %mm1 , %mm0;=20=20= =20=20=20=20=20=20=20 /* add result to mm0 */ addl %ecx , %esi; /* add framewidth to frameaddress */ add= l=20=20=20 %ecx , %edi; /* add framewidth to frameaddress=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 */ addl %ecx , %ecx; /* add framewidth to frameaddress=20= =20=20=20=20=20=20 */ .endr ; /*=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 */ /*=20=20= =20=20=20=20=20=20=20=20 */ movq %mm0 , calc_SAD_half_mmx.a@GOTOFF(%edx) ; /* make mm0 available to gcc = ...=20 */ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ 1 error generated. For some reason, that particular inline assembly block does not have embedd= ed newlines, and this trips up the .rept .endr processing. Fix it by adding newlines. [1] http://package18.nyi.freebsd.org/data/headi386PR212343-default/2016-09-11_0= 7h04m19s/logs/errors/transcode-1.1.7_26.log --=20 You are receiving this mail because: You are the assignee for the bug.=