From owner-svn-ports-all@freebsd.org Wed Mar 8 23:56:58 2017 Return-Path: Delivered-To: svn-ports-all@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 CDC21D0267B; Wed, 8 Mar 2017 23:56:58 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E8A61E94; Wed, 8 Mar 2017 23:56:58 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from localhost (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by freefall.freebsd.org (Postfix) with ESMTP id B6C262FD0; Wed, 8 Mar 2017 23:56:56 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Message-ID: <1489017409.3110.7.camel@FreeBSD.org> Subject: Re: svn commit: r435049 - in head/security/libgcrypt: . files From: "Carlos J. Puga Medina" To: Jan Beich , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Date: Thu, 09 Mar 2017 00:56:49 +0100 In-Reply-To: <20170308225120.1595A22D0@freefall.freebsd.org> References: <20170308225120.1595A22D0@freefall.freebsd.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-7BJ3LINhLm80BDQPzVCh" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 08 Mar 2017 23:56:58 -0000 --=-7BJ3LINhLm80BDQPzVCh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jan, On Wed, 2017-03-08 at 22:51 +0000, Jan Beich wrote: > "Carlos J. Puga Medina" writes: >=20 > >=20 > > Modified: head/security/libgcrypt/Makefile > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > --- head/security/libgcrypt/Makefile Tue Feb 28 12:06:09 > > 2017 (r435048) > > +++ head/security/libgcrypt/Makefile Tue Feb 28 12:21:13 > > 2017 (r435049) > > @@ -33,6 +33,10 @@ OPTIONS_DEFINE=3D DOCS > > =C2=A0 > > =C2=A0.include > > =C2=A0 > > +.if ${ARCH} =3D=3D "armv6" || ${ARCH} =3D=3D "aarch64" > > +EXTRA_PATCHES+=3D ${FILESDIR}/extra-patch-aarch64 > > +.endif > Why do you need aarch64-specific patch on armv6? I don't think > FreeBSD > runtime detection of SIMD features on armv6. >=20 Definitely, you're right. I'll fix it. > >=20 > > + > > =C2=A0.if ${ARCH} =3D=3D "powerpc" > > =C2=A0CONFIGURE_ARGS+=3D --disable-asm > > =C2=A0.endif > >=20 > > Added: head/security/libgcrypt/files/extra-patch-aarch64 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > > --- /dev/null 00:00:00 1970 (empty, because file is > > newly added) > > +++ head/security/libgcrypt/files/extra-patch-aarch64 Tue > > Feb 28 12:21:13 2017 (r435049) > > @@ -0,0 +1,68 @@ > > +--- cipher/cipher-gcm-armv8-aarch64-ce.S.orig 2016-11-12 > > 10:39:35 UTC > > ++++ cipher/cipher-gcm-armv8-aarch64-ce.S > > +@@ -23,7 +23,7 @@ > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0defined(HAVE_COMPATIBLE_GCC_AARCH64_PLAT= FORM_AS) && \ > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0defined(HAVE_GCC_INLINE_ASM_AARCH64_CRYP= TO) > > +=C2=A0 > > +-.arch armv8-a+crypto > > ++.cpu generic+simd+crypto > Interesting. I've fixed a similar issue in r431494 via -no- > integrated-as. > 11.1 is going to have clang 4.0, so the workaround can be dropped 3 > months > after release. Libgcrypt 1.8 will be released in a few weeks and this patch is included. Regards, --=20 Carlos Jacobo Puga Medina PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 --=-7BJ3LINhLm80BDQPzVCh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEExg6Ul1MCeTvMLbuJofNdZubQVFMFAljAmkNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2 MEU5NDk3NTMwMjc5M0JDQzJEQkI4OUExRjM1RDY2RTZEMDU0NTMACgkQofNdZubQ VFMQEQf/XQgrN65nvTKfX14CsZJmY+uskbb6CALk/IsZ8EtiTw78tRWvlYqEHeSI 0mjwYwBEGv/DxOU8NLv4jbGHPmmUeIbGvu4FPsay/I0A9nvhaw1odO1+gKSIA7oh rhCa9GmfNBh0LuRaQpsHKgYTPIWyRLEF5bngRsyZG96DJ6MhM+DHg6WhHz6fFiaP Yao6bpx7py+7IdNTnH1h6WsJKFL8Z+Gqf+qSFl0y7N4RvGi2pzduLXQvoHcqWp8q 7RMF4m8Wu3jHRQEy+d+Mx92sRpX0drhjUQ6OoH7S8Jaw/mqpZyXgdRd9BtMQjDNL XNtXNtfERt7JCFEhbO2YZKIinPmdPQ== =7jch -----END PGP SIGNATURE----- --=-7BJ3LINhLm80BDQPzVCh--