From hmo@sep.oldach.net  Sat Jan 11 11:48:52 2014
Return-Path: <hmo@sep.oldach.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 3705D2B1;
	Sat, 11 Jan 2014 11:48:52 +0000 (UTC)
Received: from argali.in-berlin.de (argali.in-berlin.de [192.109.42.10])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id A48D31CF4;
	Sat, 11 Jan 2014 11:48:49 +0000 (UTC)
Received: from sep.oldach.net (hmo.in-vpn.de [217.197.85.210])
	by argali.in-berlin.de (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id s0BBmbjv030819
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Sat, 11 Jan 2014 12:48:39 +0100
Received: from sep.oldach.net (localhost [127.0.0.1])
	by sep.oldach.net (8.14.7/8.14.7/hmo26jun05) with ESMTP id s0BBmaGr049951
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sat, 11 Jan 2014 12:48:36 +0100 (CET)
	(envelope-from hmo@sep.oldach.net)
Received: (from hmo@localhost)
	by sep.oldach.net (8.14.7/8.14.7/Submit) id s0BBmXCx049947;
	Sat, 11 Jan 2014 12:48:33 +0100 (CET)
	(envelope-from hmo)
Message-Id: <201401111148.s0BBmXCx049947@sep.oldach.net>
Date: Sat, 11 Jan 2014 12:48:33 +0100 (CET)
From: Helge Oldach <ports-libvpx-jan14@oldach.net>
Reply-To: Helge Oldach <ports-libvpx-jan14@oldach.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ashish@FreeBSD.org
Subject: [patch] ports/multimedia/libvpx fails to build on i386 9-STABLE
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         185657
>Category:       ports
>Synopsis:       [patch] ports/multimedia/libvpx fails to build on i386 9-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ashish
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 11 11:50:00 UTC 2014
>Closed-Date:    Sun Jan 12 16:13:23 UTC 2014
>Last-Modified:  Sun Jan 12 16:13:23 UTC 2014
>Originator:     Helge Oldach
>Release:        FreeBSD 9.2-978 i386
>Organization:
>Environment:

System: FreeBSD localhost 9.2-978 FreeBSD 9.2-978 #0: Tue Jan 7 21:39:33 CET 2014 toor@localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

On a recent 9-STABLE machine (built on 7th January 2014):

# make -C /usr/ports/multimedia/libvpx
<---- snip ----->
cc  -O2 -pipe -fno-strict-aliasing -m32 -g -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wno-unused-function -I. -I"/usr/obj/usr/ports/multimedia/libvpx/work/libvpx-1.3.0" -msse2 -c -o vp9/common/x86/vp9_idct_intrin_sse2.c.o vp9/common/x86/vp9_idct_intrin_sse2.c
vp9/common/x86/vp9_idct_intrin_sse2.c: In function 'vp9_idct32x32_1024_add_sse2':
vp9/common/x86/vp9_idct_intrin_sse2.c:3636: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
vp9/common/x86/vp9_idct_intrin_sse2.c:3636: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128'
gmake[1]: *** [vp9/common/x86/vp9_idct_intrin_sse2.c.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [.DEFAULT] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/multimedia/libvpx.
*** [build] Error code 1

Stop in /usr/ports/multimedia/libvpx.
# 

>How-To-Repeat:

>Fix:

--- Makefile.ctm	2014-01-09 13:13:11.000000000 +0100
+++ Makefile	2014-01-11 12:37:22.000000000 +0100
@@ -47,6 +47,8 @@
 THREADS_CONFIGURE_OFF=	--disable-multithread
 SHARED_CONFIGURE_ON=	--enable-shared
 
+CFLAGS+=	-flax-vector-conversions
+
 .include <bsd.port.options.mk>
 
 .if ${OSVERSION}  < 900000

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ashish 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jan 11 11:50:09 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185657 

From: ashish@FreeBSD.org (Ashish SHUKLA)
To: Andrey Chernov <ache@freebsd.org>, ports-libvpx-jan14@oldach.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/185657: [patch] ports/multimedia/libvpx fails to build on i386 9-STABLE
Date: Sun, 12 Jan 2014 15:49:28 +0530

 --==-=-=
 Content-Type: multipart/mixed; boundary="=-=-="
 
 --=-=-=
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 Hi,
 
 Could you please try this attached diff for multimedia/libvpx on your 9-STA=
 BLE
 hosts, to see if it fixes the issue for you ?
 
 Thanks
 =2D-=20
 Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 Sent from my Emacs
 
 --=-=-=
 Content-Type: text/x-diff
 Content-Disposition: attachment; filename=libvpx.diff
 Content-Transfer-Encoding: quoted-printable
 
 diff -urN /usr/ports/multimedia/libvpx/Makefile libvpx/Makefile
 =2D-- /usr/ports/multimedia/libvpx/Makefile	2014-01-09 17:00:53.000000000 +=
 0530
 +++ libvpx/Makefile	2014-01-12 15:46:21.341996286 +0530
 @@ -55,6 +55,12 @@
  .endif
  .endif
 =20
 +# Add workaround for GCC in 9.x post r260075
 +# OSVERSION taken from r260135, the closest OSVERSION
 +.if ${OSVERSION} >  902505 && ${OSVERSION} < 1000000
 +CFLAGS+=3D	-flax-vector-conversions
 +.endif
 +
  .if ${OSVERSION} >=3D 1000000
  CONFIGURE_ARGS+=3D	--disable-unit-tests
  .endif
 
 --=-=-=--
 
 --==-=-=
 Content-Type: application/pgp-signature; name="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (FreeBSD)
 
 iQIcBAEBCgAGBQJS0mw0AAoJEMdGz6nnT6SwspkQALnptRkRZ1rM/XXKiykqThDY
 0nCMi1hbolqHMO4LISCB6pjnxm3eIZ4AFAciFJIzRy3rXQRdl9B2HyTqE+yEgMkn
 /Jx/5CKELshx1X0RwuIbAtmc+aeCYWWO0z/PSEd3JtavvYeE7ZOEo81btZlIvmUL
 HabxcrJ/4L8vCTznLW0IUktzcsc9XMSOTYzJXzMHkvZ40KwVLbJoKuVbUN0yd8gK
 XSnrPDqsmWDq7eP5UWXK9I65bBGp8zqZEV9afIpVSsO3/xCHfBHRM4TSAPOHRb62
 5b0ZAUiMfotSWyRb5XdLPSQpnWP03yFcXJiY2DF+aIj7AmEM7io6euyWwFGi56eh
 L+Diww473cty4NXfnWcAk/i2UO3dVvB+nVW4W7T1snrNgW+a7YKXtdAq+Ujjkpx8
 bo04pS1KKlVnOSdqroiYRhHF+XD8rrDJhgsJElZQpU2meT8Tnz1qSsgeJ/y+d+lY
 AmB7gV/Ab3EXgZDOh40Nqyad915k5YvFOuaPRNqgmqT25h2EgMfj74Og5PsmFtky
 ALMDz1mid4MU8pUPzo4qQlgosVd50GpuL+s+5NW2EdM2in9F66SE5AMFB8oEbPys
 1zCRmk1P1qcXpQl6pYgG1pIu81rJJv7SRx/dlswcvepsz7BSlzrvFwCsX5pWDfFt
 6G3NANleRYLpnZijaJZi
 =u2lp
 -----END PGP SIGNATURE-----
 --==-=-=--

From: Andrey Chernov <ache@freebsd.org>
To: Ashish SHUKLA <ashish@FreeBSD.org>, ports-libvpx-jan14@oldach.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/185657: [patch] ports/multimedia/libvpx fails to build
 on i386 9-STABLE
Date: Sun, 12 Jan 2014 15:02:36 +0400

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --v9Hnr22dPj8ejTv2rwHLDpigSvK6mWkNk
 Content-Type: text/plain; charset=KOI8-R
 Content-Transfer-Encoding: quoted-printable
 
 On 12.01.2014 14:19, Ashish SHUKLA wrote:
 > Could you please try this attached diff for multimedia/libvpx on your 9=
 -STABLE
 > hosts, to see if it fixes the issue for you ?
 
 It fixes the issue, thanx.
 
 
 --v9Hnr22dPj8ejTv2rwHLDpigSvK6mWkNk
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEARECAAYFAlLSdlYACgkQVg5YK5ZEdN3q7gCfbEAlgeL9HW68c+5BxeR9793J
 9gAAn2zMRwTVecIc8vUYUPYGK1HW4L3f
 =8mAT
 -----END PGP SIGNATURE-----
 
 --v9Hnr22dPj8ejTv2rwHLDpigSvK6mWkNk--

From: ports-libvpx-jan14@oldach.net (Helge Oldach)
To: ashish@FreeBSD.org (Ashish SHUKLA)
Cc: ache@freebsd.org, bug-followup@FreeBSD.org
Subject: Re: ports/185657: [patch] ports/multimedia/libvpx fails to build on i386 9-STABLE
Date: Sun, 12 Jan 2014 12:59:14 +0100 (CET)

 Hi Ashish,
 
 yep, that fixes it.
 
 Kind regards
 Helge
 
 
 Ashish SHUKLA wrote on Sun, 12 Jan 2014 11:19:28 +0100 (CET):
 > Hi,
 > 
 > Could you please try this attached diff for multimedia/libvpx on your 9-STABLE
 > hosts, to see if it fixes the issue for you ?
 > 
 > Thanks
 > -- 
 > Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
 > Sent from my Emacs
 
 [Attachment, skipping...]
 
 [application/pgp-signature is not supported, skipping...]
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/185657: commit references a PR
Date: Sun, 12 Jan 2014 16:08:34 +0000 (UTC)

 Author: ashish
 Date: Sun Jan 12 16:08:27 2014
 New Revision: 339519
 URL: http://svnweb.freebsd.org/changeset/ports/339519
 
 Log:
   - Fix breakage on 9-STABLE due to GCC changes in r260075
   
   PR:		ports/185657
   Submitted by:	Helge Oldach <ports-libvpx-jan14 at oldach.net>
 
 Modified:
   head/multimedia/libvpx/Makefile
 
 Modified: head/multimedia/libvpx/Makefile
 ==============================================================================
 --- head/multimedia/libvpx/Makefile	Sun Jan 12 16:03:49 2014	(r339518)
 +++ head/multimedia/libvpx/Makefile	Sun Jan 12 16:08:27 2014	(r339519)
 @@ -55,6 +55,12 @@ USE_GCC=	yes
  .endif
  .endif
  
 +# Workaround for GCC in 9.x post r260075
 +# OSVERSION taken from r260135, the closest OSVERSION
 +.if ${OSVERSION} >  902505 && ${OSVERSION} < 1000000
 +CFLAGS+=	-flax-vector-conversions
 +.endif
 +
  .if ${OSVERSION} >= 1000000
  CONFIGURE_ARGS+=	--disable-unit-tests
  .endif
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ashish 
State-Changed-When: Sun Jan 12 16:13:23 UTC 2014 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=185657 
>Unformatted:
