Hi developers,

I downloaded the new 0.9.8e and compiled it on various platforms.
AIX, HP-UX, Solaris and Windows were ok (debug & release),
but it failed on (shared) debug-linux-elf in
crypto/engine/eng_padlock.c.

gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBUG -DREF_CHECK
-DCONF_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -march=i486 -Wall
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM
-DRMD160_ASM -DAES_ASM   -c -o eng_padlock.o eng_padlock.c
eng_padlock.c: In function `padlock_xcrypt_ecb':
eng_padlock.c:445: error: can't find a register in class `GENERAL_REGS'
while reloading `asm'
make[3]: *** [eng_padlock.o] Error 1

I configured with:
./Configure shared threads no-idea no-rc5 debug-linux-elf

gcc: gcc version 3.3.3 (SuSE Linux)

This happens only in debug-mode, release is ok.
The only difference in the configuration is that release has
"-O3 -fomit-frame-pointer", whereas debug has "-g -march=i486"
Changing -march to i386 or pentium doesn't change the result.

"can't find a register in class `GENERAL_REGS' while reloading `asm'"
seems to indicate the the compiler doesn't find enough registers
in the CPU to use with given inline-assembler-code.
Any Idea how to fix that?

Kind regards

Robert


________________________________________________________ 

Robert Lill
Engineering Archive + Storage
Security Consultant

Open Text
Werner-von-Siemens-Ring 20 
85630 Grasbrunn
GERMANY

Phone:          +49-89-4629-1526
Telefax:        +49-89-4629-33-1526
eMail:          mailto:[EMAIL PROTECTED]
Internet:       http://www.opentext.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to