Hi, 

openssl version: 0.9.8e (and d) 
o/s: Solaris 10 or 8 on sparc 
gcc: 4.1.1 

On Solaris 10 (or 8) when I compile openssl for 64 bit with shared (and
static-libgcc) the make test fails. 

make[2]: Leaving directory `/tmp/build_openssl2425/openssl-0.9.8e' 
../util/shlib_wrap.sh ./destest 
make[1]: *** [test_des] Segmentation Fault (core dumped) 
make[1]: Leaving directory `/tmp/build_openssl2425/openssl-0.9.8e/test' 
make: *** [tests] Error 2 

The "make test" works without hiccup for all other cases 32-bit or 64-bit
without the "shared" flag and for Linux (either 32 or 64). 
So the problem is limited to DES for only with "shared" flag and Solaris for
64-bit.. 

Did anyone experienced the same ? 
I tried to remove the DES_PTR information since the INSTALL says in the
crypto/des directory:
   "For 64 bit computers, do not use the DES_PTR option"
This did not make a change and the 32 bit without share is ok with the same
settings.

Many many thanks, Fred 

Detail: 

Operating system: sun4u-whatever-solaris2 
WARNING! If you wish to build 32-bit library, then you have to 
invoke './Configure solaris-sparcv9-gcc' *manually*. 
Configuring for solaris64-sparcv9-gcc 
Configuring for solaris64-sparcv9-gcc 
no-camellia [default] OPENSSL_NO_CAMELLIA (skip dir) 
no-gmp [default] OPENSSL_NO_GMP (skip dir) 
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 
no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir) 
no-rc5 [default] OPENSSL_NO_RC5 (skip dir) 
no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) 
no-zlib [default] 
no-zlib-dynamic [default] 
IsMK1MF=0 
CC =gcc 
CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -static-libgcc -m64 -mcpu=ultrasparc -O3 -Wall -DB_ENDIAN
-DMD5_ASM 
EX_LIBS =-lsocket -lnsl -ldl 
CPUID_OBJ = 
BN_ASM =bn_asm.o 
DES_ENC =des_enc-sparc.o fcrypt_b.o 
AES_ASM_OBJ =aes_core.o aes_cbc.o 
BF_ENC =bf_enc.o 
CAST_ENC =c_enc.o 
RC4_ENC =rc4_enc.o 
RC5_ENC =rc5_enc.o 
MD5_OBJ_ASM =md5-sparcv9.o 
SHA1_OBJ_ASM = 
RMD160_OBJ_ASM= 
PROCESSOR = 
RANLIB =/usr/ccs/bin/ranlib 
ARFLAGS = 
PERL =/usr/perl5.8.8/bin/perl 
SIXTY_FOUR_BIT_LONG mode 
DES_PTR used 
DES_RISC1 used 
DES_UNROLL used 
DES_INT used 
RC4 uses uchar 
RC4_CHUNK is unsigned long 
BF_PTR used 
e_os2.h => include/openssl/e_os2.h
-- 
View this message in context: 
http://www.nabble.com/Openssl%27s--DES-test-fails-on-Solaris-64-bit-tf3704485.html#a10359648
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to