From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH v2] libgcrypt: update 1.7.3 -> 1.7.5
Date: Mon, 9 Jan 2017 19:07:49 +0100 [thread overview]
Message-ID: <20170109180749.9940-1-clemens.gruber@pqgruber.com> (raw)
Also add configure options explicitly and enable ASM for all
architectures except m68k/ColdFire.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
Changes from v1:
- Rely on runtime detection for optimizations besides NEON
- Disabling ASM is only necessary on m68k/ColdFire
rules/libgcrypt.make | 38 +++++++++++++++++++++++++-------------
1 file changed, 25 insertions(+), 13 deletions(-)
diff --git a/rules/libgcrypt.make b/rules/libgcrypt.make
index 4ffe6bcee..0edbca9cd 100644
--- a/rules/libgcrypt.make
+++ b/rules/libgcrypt.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBGCRYPT) += libgcrypt
#
# Paths and names
#
-LIBGCRYPT_VERSION := 1.7.3
-LIBGCRYPT_MD5 := c869e542cc13a1c28d8055487bf7f5c4
+LIBGCRYPT_VERSION := 1.7.5
+LIBGCRYPT_MD5 := 74c8b4b2118946dcbfec5ff1cbf97177
LIBGCRYPT := libgcrypt-$(LIBGCRYPT_VERSION)
LIBGCRYPT_SUFFIX := tar.bz2
LIBGCRYPT_URL := http://artfiles.org/gnupg.org/libgcrypt/$(LIBGCRYPT).$(LIBGCRYPT_SUFFIX) ftp://ftp.gnupg.org/gcrypt/libgcrypt/$(LIBGCRYPT).$(LIBGCRYPT_SUFFIX)
@@ -38,19 +38,31 @@ LIBGCRYPT_LICENSE_FILES := \
#
LIBGCRYPT_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
- --enable-build-timestamp="$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01T00:00+0000" \
- --enable-optimization \
+ --disable-static \
+ --enable-shared \
+ --enable-random=linux \
+ --enable-dev-random \
--disable-random-daemon \
- --disable-asm \
+ --$(call ptx/disen,PTXCONF_ARCH_M68K)-asm \
+ --disable-m-guard \
--disable-large-data-tests \
- --disable-doc
-#
-# ASM needs MPI, which we don't have
-#
-# using --enable-asm will result in lost of;
-# ../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_add_n'
-# ../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_submul_1'
-#
+ --disable-hmac-binary-check \
+ --enable-padlock-support \
+ --enable-aesni-support \
+ --enable-pclmul-support \
+ --enable-sse41-support \
+ --enable-drng-support \
+ --enable-avx-support \
+ --enable-avx2-support \
+ --$(call ptx/endis,PTXCONF_ARCH_ARM_NEON)-neon-support \
+ --enable-arm-crypto-support \
+ --enable-O-flag-munging \
+ --disable-amd64-as-feature-detection \
+ --enable-optimization \
+ --enable-noexecstack \
+ --disable-doc \
+ --enable-build-timestamp="$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01T00:00+0000" \
+ --without-capabilities
# ----------------------------------------------------------------------------
# Target-Install
--
2.11.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2017-01-09 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 18:07 Clemens Gruber [this message]
2017-01-10 15:09 ` Michael Olbrich
2017-01-10 15:38 ` Clemens Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170109180749.9940-1-clemens.gruber@pqgruber.com \
--to=clemens.gruber@pqgruber.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox