Compile errors for 1.8.0 on ARM processors
Jussi Kivilinna
jussi.kivilinna at iki.fi
Sun Jul 23 01:17:24 CEST 2017
On 22.07.2017 17:47, Chris Horry wrote:
> Hello Team,
>
> I'm compiling 1.8.0 on an ARM system (armv7l, Raspberry Pi 3) and receiving the following error:
>
> make[2]: Entering directory '/usr/local/src/gnupg/libgcrypt-1.8.0/cipher'
> /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -g -O2 -MT rijndael-armv8-aarch32-ce.lo -MD -MP -MF .deps/rijndael-armv8-aarch32-ce.Tpo -c -o rijndael-armv8-aarch32-ce.lo rijndael-armv8-aarch32-ce.S
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -g -O2 -MT rijndael-armv8-aarch32-ce.lo -MD -MP -MF .deps/rijndael-armv8-aarch32-ce.Tpo -c rijndael-armv8-aarch32-ce.S -fPIC -DPIC -o .libs/rijndael-armv8-aarch32-ce.o
> rijndael-armv8-aarch32-ce.S: Assembler messages:
> rijndael-armv8-aarch32-ce.S:1165: Error: selected processor does not support ARM mode `rbit r8,lr'
..snip..
>
> gcc (Raspbian 4.9.2-10) 4.9.2
> Copyright (C) 2014 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Linux sluggo 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
>
> Please let me know if you need any other information. I have previously compiled 1.7.x with no issues.
>
Does the attached patch solve the issue?
-Jussi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-fix-building-aarch32-ce.patch
Type: text/x-patch
Size: 2185 bytes
Desc: not available
URL: </pipermail/attachments/20170723/ea918ead/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 671 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20170723/ea918ead/attachment-0001.sig>
More information about the Gcrypt-devel
mailing list