[Botan-devel] Botan 64-bit on Solaris

Jack Lloyd lloyd at randombit.net
Mon Dec 15 10:03:02 EST 2008


On Mon, Dec 15, 2008 at 02:21:42PM +0100, Rickard Bondesson wrote:
> Hi
> 
> I am trying to compile a 64-bit version of Botan on Solaris, but I have problem with some of the assembly code:
> 
> ./configure.pl --with-tr1=none --cpu=amd64
> make
> [...]
> g++ -m64 -Ibuild/include -O2 -finline-functions -march=opteron -momit-leaf-frame-pointer -D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/hash/sha1_amd64/sha1_amd64_imp.S -o build/lib/sha1_amd64_imp.o
> /var/tmp//ccmDDPgx.s: Assembler messages:
> /var/tmp//ccmDDPgx.s:83: Error: `0x5A827999(%esi,%eax,1)' is not a valid 64 bit base/index expression

I just rememebered I saw a similar problem on FreeBSD. Probably I'm
using some slightly non-valid x86-64 asm syntax that binutils just
happens to accept.

-Jack



More information about the botan-devel mailing list