Bug#737020: libgcrypt doesn't build anymore on arm*

Cyril Brulebois kibi at debian.org
Wed Jan 29 12:28:03 UTC 2014


Control: tag -1 patch upstream

Matthias Klose <doko at debian.org> (2014-01-29):
> Package: libgcrypt20
> Version: 1.6.0-2
> Severity: important
> Tags: sid jessie ftbfs
> 
> libgcrypt doesn't build anymore on arm*. libgcrypt11 did. tempted to
> make this an RC issue.

You probably want the following commit from upstream:

================================================================================
commit 7fef7f481c0a1542be34d1dc831f58d41846ac29
Author: Jussi Kivilinna <jussi.kivilinna at iki.fi>
Date:   Mon Dec 30 16:34:29 2013 +0200

    Add blowfish/serpent ARM assembly files to Makefile.am
    
    * cipher/Makefile.am: Add 'blowfish-arm.S' and 'serpent-armv7-neon.S'.
    --
    
    Fix for bug https://bugs.g10code.com/gnupg/issue1584
    
    Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>

diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index 15400e5..462e6db 100644
--- a/cipher/Makefile.am
+++ b/cipher/Makefile.am
@@ -57,7 +57,7 @@ rmd.h
 
 EXTRA_libcipher_la_SOURCES = \
 arcfour.c arcfour-amd64.S \
-blowfish.c blowfish-amd64.S \
+blowfish.c blowfish-amd64.S blowfish-arm.S \
 cast5.c cast5-amd64.S cast5-arm.S \
 crc.c \
 des.c \
@@ -76,7 +76,7 @@ rsa.c \
 salsa20.c salsa20-amd64.S salsa20-armv7-neon.S \
 scrypt.c \
 seed.c \
-serpent.c serpent-sse2-amd64.S serpent-avx2-amd64.S \
+serpent.c serpent-sse2-amd64.S serpent-avx2-amd64.S serpent-armv7-neon.S \
 sha1.c sha1-ssse3-amd64.S sha1-avx-amd64.S sha1-avx-bmi2-amd64.S \
   sha1-armv7-neon.S \
 sha256.c sha256-ssse3-amd64.S sha256-avx-amd64.S sha256-avx2-bmi2-amd64.S \
================================================================================

I didn't check thoroughly why it didn't apply to the current source
package, but you'll find attached the same addition in a hand-built
patch. (Not tested on arm* though.)

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-fix.diff
Type: text/x-diff
Size: 621 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20140129/b09dce2e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20140129/b09dce2e/attachment.sig>


More information about the Pkg-gnutls-maint mailing list