rijndael.c won't compile
Closed, ResolvedPublic

Description

Following is the output from make on libcrypt:

mv -f .deps/des.Tpo .deps/des.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -
I../src -I../src -I/usr/local/include -g -O2 -Wall -Wpointer-arith -MT
rijndael.lo -MD -MP -MF .deps/rijndael.Tpo -c -o rijndael.lo rijndael.c
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include -g -O2 -
Wall -Wpointer-arith -MT rijndael.lo -MD -MP -MF .deps/rijndael.Tpo -c
rijndael.c -o rijndael.o
rijndael.c: In function `do_padlock':
rijndael.c:2062: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'
make[2]: * [rijndael.lo] Error 1
make[2]: Leaving directory `/c/smf/personal/projects/gnu/libgcrypt-
1.4.0/cipher'
make[1]:
* [all-recursive] Error 1
make[1]: Leaving directory `/c/smf/personal/projects/gnu/libgcrypt-1.4.0'
make: *** [all] Error 2

Details

Version
1.4.0
werner added a subscriber: werner.

use

./configure --disable-padlock

Thanks; I tried that with exactly the same result.

-Steven

Werner Koch via BTS <gnupg@bugs.g10code.com> wrote:

Werner Koch added the comment:

use

./configure --disable-padlock


status: unread -> testing


g10 Code's BTS


--disable-padlock disables the asm code and thus you should not get the same
compile error. Please check that there is no

#define ENABLE_PADLOCK_SUPPORT 1

in config.h. Anyway, I have updated the apdlock code and the release candidate
uses les registers.

werner closed this task as Resolved.Jun 26 2008, 6:14 PM
werner claimed this task.
werner removed a project: Testing.

Fixed in 1.4.1.