svn commit: r435049 - in head/security/libgcrypt: . files

Carlos J. Puga Medina cpm at FreeBSD.org
Wed Mar 8 23:56:58 UTC 2017


Hi Jan,

On Wed, 2017-03-08 at 22:51 +0000, Jan Beich wrote:
> "Carlos J. Puga Medina" <cpm at FreeBSD.org> writes:
> 
> > 
> > Modified: head/security/libgcrypt/Makefile
> > ===================================================================
> > ===========
> > --- 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=	DOCS
> >  
> >  .include <bsd.port.options.mk>
> >  
> > +.if ${ARCH} == "armv6" || ${ARCH} == "aarch64"
> > +EXTRA_PATCHES+=		${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.
> 

Definitely, you're right. I'll fix it.

> > 
> > +
> >  .if ${ARCH} == "powerpc"
> >  CONFIGURE_ARGS+=	--disable-asm
> >  .endif
> > 
> > Added: head/security/libgcrypt/files/extra-patch-aarch64
> > ===================================================================
> > ===========
> > 
> > --- /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 @@
> > +     defined(HAVE_COMPATIBLE_GCC_AARCH64_PLATFORM_AS) && \
> > +     defined(HAVE_GCC_INLINE_ASM_AARCH64_CRYPTO)
> > + 
> > +-.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,
-- 
Carlos Jacobo Puga Medina <cpm at FreeBSD.org>
PGP fingerprint = C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170309/6b675222/attachment.sig>


More information about the svn-ports-all mailing list