Hi,
Builds on mips and mipsel architectures fail with below error message. This is
diagnosed to be because gcc removed the 'h' constraint for MIPS in gcc-4.4.x
versions.
Attached patch fixes it for us; kindly received from Florian Fainelli
<florian@alphacore.org> of the OpenWRT project:
https://dev.openwrt.org/browser/packages/utils/gnupg/patches/001-mips_gcc4.4.patch
thanks,
Thijs
gcc -DHAVE_CONFIG_H -I. -I../../mpi -I.. -I.. -I../../include -g -O2 -Wall
-Wno-pointer-sign -MT mpih-div.o -MD -MP -MF .deps/mpih-div.Tpo -c -o mpih-div.o
../../mpi/mpih-div.c
../../mpi/mpih-div.c: In function 'mpihelp_mod_1':
../../mpi/mpih-div.c:99: error: impossible constraint in 'asm'
../../mpi/mpih-div.c:99: error: impossible constraint in 'asm'
../../mpi/mpih-div.c:105: error: impossible constraint in 'asm'
../../mpi/mpih-div.c:105: error: impossible constraint in 'asm'
../../mpi/mpih-div.c:135: error: impossible constraint in 'asm'
../../mpi/mpih-div.c:135: error: impossible constraint in 'asm'