i have been unable to get 0.9.6 to complete it's self tests successfully
when compiled in 32-bit mode on both solaris 7 and 8 SPARC. when
compiled in 64-bit mode it works fine on both OSes. i have tried using
both sun's cc and gcc, both with and without optimizations. the selftest
perl script seems to hang endlessly (nothing is ever written to testlog
and no errors are returned), and not being proficient in perl i have not
been able to see why.

i am currently building with:

env \
CC=gcc \
CXX=g++ \
CFLAGS="" \
TMPDIR="/tmp" \
./Configure solaris-sparcv8-gcc \
        --prefix=/local/openssl \
        --openssldir=/local/openssl


building with the following worked fine, but is not helpful for me as i
need to link some 32-bit applications against the library:

env \
CC=cc \
CXX=CC \
CFLAGS="-fast" \
TMPDIR="/tmp" \
./Configure  solaris64-sparcv9-cc \
        --prefix=/local/openssl \
        --openssldir=/local/openssl \
        threads


the output from the self test ends with:

pika:ian[1092] ...src/openssl-0.9.6_32-bit> gmake test
<cut>
./casttest
ecb cast5 ok
This test will take some time....123456789ABCDEF ok
./randtest
test 1 done
test 2 done
test 3 done
test 4 done
starting big number library test, could take a while...
test BN_add
test BN_sub
test BN_lshift1
Left shift one test failed!
*** Error code 1
make: Fatal error: Command failed for target `test_bn'
Current working directory /export/src/openssl-0.9.6_32-bit/test
gmake: *** [tests] Error 1




more info:

pika:ian[1096] ...src/openssl-0.9.6_32-bit> ./apps/openssl version -a
OpenSSL 0.9.6 24 Sep 2000
built on: Thu Jan 18 11:02:49 PST 2001
platform: solaris-sparcv8-gcc
options:  bn(32,32) md2(int) rc4(ptr,char) des(ptr,risc1,16,long)
idea(int) blowfish(ptr) 
compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-Wall -DB_ENDIAN -DBN_DIV2W

pika:ian[1097] ...src/openssl-0.9.6_32-bit> gcc -v
Reading specs from /local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)


any help would be appreciated.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to