Compile error on ARMv7 for libgcrypt
Testing, NormalPublic

Description

libtool: link: gcc -I/usr/local/include -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -o t-mpi-bit t-mpi-bit.o ../src/.libs/libgcrypt.so ../compat/.libs/libcompat.a -Wl,-rpath -Wl,/usr/local/src/gnupg/libgcrypt-1.9.0/src/.libs
/tmp/ccSN8fxi.s: Assembler messages:
/tmp/ccSN8fxi.s:1036: Error: selected processor does not support `vld1.64 {q0},[r0]!' in ARM mode
[...]
make[1]: Leaving directory '/usr/local/src/gnupg/libgcrypt-1.9.0'
Makefile:432: recipe for target 'all' failed
make: *** [all] Error 2

gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516
Linux [censored] 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

zerbey created this task.Jan 19 2021, 6:55 PM

Thanks for you report.

Attached patch should fix the issue:

Confirmed working after applying your patch!

werner updated the task description. (Show Details)Jan 20 2021, 9:22 AM
werner added a subscriber: werner.

FWIW, after the release I had some time and after some trouble with my Pi4B I ran into the same problem.

werner added a project: asm.
werner triaged this task as Normal priority.
werner changed the task status from Open to Testing.Thu, Jan 28, 10:30 AM
werner changed the status of subtask T5259: Release Libgcrypt 1.9.1 from Open to Testing.