aarch64: gmp 5.1.0 does not build, "Error: operand 3 should be an integer register -- `adc x4,x7,0'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro AArch64 cross-distro work |
Fix Released
|
High
|
Unassigned |
Bug Description
Version 5.1.0 of the gmp library does not build with the AArch64 cross-compiler from Linaro:
libtool: compile: /home/test/
{standard input}: Assembler messages:
{standard input}:101: Error: operand 3 should be an integer register -- `adc x4,x7,0'
{standard input}:119: Error: operand 3 should be an integer register -- `adc x8,x10,0'
make[3]: *** [mod_1_1.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: /home/test/
libtool: compile: /home/test/
libtool: compile: /home/test/
libtool: compile: /home/test/
{standard input}: Assembler messages:
{standard input}:140: Error: operand 3 should be an integer register -- `adc x8,x4,0'
{standard input}:184: Error: operand 3 should be an integer register -- `adc x10,x0,0'
{standard input}:234: Error: operand 3 should be an integer register -- `adc x5,x0,0'
make[3]: *** [mod_1_3.lo] Error 1
{standard input}: Assembler messages:
{standard input}:142: Error: operand 3 should be an integer register -- `adc x11,x8,0'
{standard input}:181: Error: operand 3 should be an integer register -- `adc x9,x11,0'
{standard input}:217: Error: operand 3 should be an integer register -- `adc x5,x0,0'
make[3]: *** [mod_1_2.lo] Error 1
{standard input}: Assembler messages:
{standard input}:156: Error: operand 3 should be an integer register -- `adc x15,x12,0'
{standard input}:208: Error: operand 3 should be an integer register -- `adc x10,x4,0'
{standard input}:241: Error: operand 3 should be an integer register -- `adc x12,x1,0'
{standard input}:299: Error: operand 3 should be an integer register -- `adc x5,x0,0'
make[3]: *** [mod_1_4.lo] Error 1
This is fixed upstream already:
http:// gmplib. org:8000/ gmp/rev/ 187b7b1646ee