Re: loop-aes 3.2b and AMD64_ASM build problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thorsten Peter wrote:
> I have been trying to build latest loop-aes from source today on my
> AMD64 (Athlon 64 3000+) machine today and ran into these errors:
[snip]
>   AS [M]  /usr/src/work/loop-AES-v3.2b/tmp-d-kbuild/aes-amd64.o
> /usr/src/work/loop-AES-v3.2b/tmp-d-kbuild/aes-amd64.S: Assembler messages:
> /usr/src/work/loop-AES-v3.2b/tmp-d-kbuild/aes-amd64.S:201: Error: bad
> register name `%rsi)'

To me it looks like your compiler/assembler/linker tool chain is creating 32
bit binaries by default. Correct?

And you compiled your kernel overriding ARCH= and/or CROSS_COMPILE= kernel
Makefile defaults. Correct?

On 2.6 kernels, loop-AES Makefile calls kernel build system to
compile/assemble/link kernel modules. It needs exact same ARCH= and/or
CROSS_COMPILE= defaults overridden on make command line as the ones that you
used to compile your kernel.

If above guess is not correct, then please provide more info about your
build environment:

1) Fully 64 bit distro, or 32 bit distro with 64 bit kernel?
2) What distro?
3) gcc and binutils versions?
4) Output of "id" command.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux