Page MenuHome GnuPG

Compile error on ARMv7 for libgcrypt
Closed, ResolvedPublic

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

Details

Version
1.9.0

Event Timeline

Thanks for you report.

Attached patch should fix the issue:

Confirmed working after applying your patch!

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 triaged this task as Normal priority.Jan 20 2021, 9:26 AM
werner added a project: asm.
werner changed the task status from Open to Testing.Jan 28 2021, 10:30 AM
gniibe claimed this task.