libgcrypt 1.4.6 mpi on amd build fails?
Grant Olson
kgo at grant-olson.net
Wed Jan 19 04:42:38 CET 2011
On 1/18/11 9:29 AM, Bernhard Reiter wrote:
> config.status: linking mpi/amd64/mpih-add1.S to mpi/mpih-add1-asm.S
> [..]
> Libgcrypt v1.4.6 has been configured as follows:
> Platform: GNU/Linux (x86_64-unknown-linux-gnu)
>
>
> bin/sh ../libtool --mode=compile
> gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -g -O2 -MT
> mpih-add1-asm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c -o mpih-add1-asm.lo
> mpih-add1-asm.S
> gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -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
> mpih-add1-asm.S: Assembler messages:
> mpih-add1-asm.S:46: Error: bad register name `%rsi,%rcx,8)'
> mpih-add1-asm.S:47: Error: bad register name `%rdi,%rcx,8)'
> mpih-add1-asm.S:48: Error: bad register name `%rdx,%rcx,8)'
> mpih-add1-asm.S:49: Error: bad register name `%rcx'
> mpih-add1-asm.S:53: Error: bad register name `%rsi,%rcx,8)'
> mpih-add1-asm.S:54: Error: bad register name `%rdx,%rcx,8)'
> mpih-add1-asm.S:55: Error: bad register name `%r10'
> mpih-add1-asm.S:56: Error: bad register name `%rax'
> mpih-add1-asm.S:57: Error: bad register name `%rcx'
> mpih-add1-asm.S:60: Error: bad register name `%rcx'
> mpih-add1-asm.S:61: Error: bad register name `%rax'
> make[2]: *** [mpih-add1-asm.lo] Fehler 1
>
> This is on Debian Lenny 32 userland, running the 2.6.26-2-amd64 (Debian
> 2.6.26-26lenny1) kernel.
>
I had a similar problem compiling on mac. running ./configure with the
--disable-asm flag fixed it for me. I'm not sure if that'll help you
out, but it's worth a try.
--
Grant
"I am gravely disappointed. Again you have made me unleash my dogs of war."
More information about the Gnupg-devel
mailing list