compilation failed at:
libtool: compile: gcc -m32 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -
D_REENTRANT -g -O2 -MT mpih-add1-asm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c
mpih-add1-asm.S -fPIC -DPIC -o .libs/mpih-add1-asm.o
Assembler:
"/var/tmp//ccshs5el.s", line 25 : Syntax error Near line: " addl $(Loop-L0-3),%eax"
Makefile:590: recipe for target 'mpih-add1-asm.lo' failed
make[2]: * [mpih-add1-asm.lo] Error 1
make[2]: Leaving directory '/home/alelai/libgcrypt-1.6.4.src/mpi'
Makefile:477: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/home/alelai/libgcrypt-1.6.4.src'
Makefile:408: recipe for target 'all' failed
make: *** [all] Error 2
I think below is the relevant code:
#ifdef PIC
/* Calculate start address in loop for PIC. Due to limitations in some
assemblers, Loop-L0-3 cannot be put into the leal */ call L0
L0: leal (%eax,%eax,8),%eax
addl (%esp),%eax addl $(Loop-L0-3),%eax addl $4,%esp
#else
/* Calculate start address in loop for non-PIC. */
leal (Loop - 3)(%eax,%eax,8),%eax
#endif