package/libgcrypt: fix build on ARM without NEON
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 22 Jan 2021 21:19:09 +0000 (22:19 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 23 Jan 2021 20:15:54 +0000 (21:15 +0100)
commitdc4958b6bfe294b16698ca1ec0c603c73a101ad0
tree68a29459e2680471fb76530d7a334e75d84a3f1d
parent85008cc8840d5b81a0e3ae8fcd70231e1d3a982d
package/libgcrypt: fix build on ARM without NEON

Backport an upstream-pending patch to fix build on ARM without NEON:

    libtool: link: /home/ymorin/dev/buildroot/O/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -o mpicalc mpicalc-mpicalc.o  ./.libs/libgcrypt.so -lgpg-error -Wl,-rpath -Wl,/home/ymorin/dev/buildroot/O/build/libgcrypt-1.9.0/src/.libs
    /home/ymorin/dev/buildroot/O/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/5.5.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_sha512_transform_armv7_neon'

Fixes:
    http://autobuild.buildroot.org/results/9fe1439811f89917041cfb2d40ad2b8015a6fc28/

Reported-by: montjoie on IRC
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libgcrypt/0002-cipher-sha512-Fix-non-NEON-ARM-assembly-implementati.patch [new file with mode: 0644]