Dear all,
I am using an SGI Indy, running IRIX 6.5.11m (uname -a: IRIX nfhsg6 6.5 01101244 IP22)
I downloaded version 0.9.6b from your webserver and tried to compile it using the
system's cc (MIPSpro Compilers: Version 7.2.1).
After running 'configure' and 'make', 'make test' results in a failure in BN_rshift.
As advised in 'INSTALL', I changed the optimization option to '-O0' and 'make test'
succeeded.
After that I changed to directory 'crypto/bin', added a '-O2' option in 'Makefile'.
Running 'make test' again gave me the same failure in BN_rshift.
Furthermore, the following warning was isued during compilation of crypto/bn
as: Warning:
~/openssl-0.9.6b/crypto/bn/asm/mips3.s, line 1018:
shouldn't have mult/div as last instruction in bb (R10K bug)
Is there any advice available, how to fix this problem, without changing everything
to '-O0'.
What will be the performance impact ?
Before, I tried to compile version 0.9.6. 'make test' failed as well but I installed
it anyway, because I wanted to compile openssh. The 'make install' in openssh failed,
complaining that it could not generate a key pair.
Have you any idea, wether this is a follow-on problem ?
Thanks for your help
Clemens Helf
OpenSSL self-test report:
OpenSSL version: 0.9.6b
Last change: Change ssleay_rand_bytes (crypto/rand/md_rand.c)...
Options: --prefix=/usr/local --openssldir=/usr/local/openssl -mips3
OS (uname): IRIX nfhsg6 6.5 01101244 IP22
OS (config): mips3-sgi-irix
Target (default): irix-mips3-cc
Target: irix-mips3-cc
Compiler: cc ERROR: no source or object file given
Failure!
-----------------------------------------------------------------------------
+ rm -f libcrypto
+ rm -f libssl
making all in crypto...
making all in crypto/md2...
making all in crypto/md4...
making all in crypto/md5...
making all in crypto/sha...
making all in crypto/mdc2...
making all in crypto/hmac...
making all in crypto/ripemd...
making all in crypto/des...
making all in crypto/rc2...
making all in crypto/rc4...
making all in crypto/rc5...
making all in crypto/idea...
making all in crypto/bf...
making all in crypto/cast...
making all in crypto/bn...
making all in crypto/rsa...
making all in crypto/dsa...
making all in crypto/dh...
making all in crypto/dso...
making all in crypto/buffer...
making all in crypto/bio...
making all in crypto/stack...
making all in crypto/lhash...
making all in crypto/rand...
making all in crypto/err...
making all in crypto/objects...
making all in crypto/evp...
making all in crypto/asn1...
making all in crypto/pem...
making all in crypto/x509...
making all in crypto/x509v3...
making all in crypto/conf...
making all in crypto/txt_db...
making all in crypto/pkcs7...
making all in crypto/pkcs12...
making all in crypto/comp...
making all in ssl...
making all in rsaref...
making all in apps...
making all in test...
making all in tools...
-----------------------------------------------------------------------------
testing...
./destest
Doing cbcm
Doing ecb
Doing ede ecb
Doing cbc
Doing desx cbc
Doing ede cbc
Doing pcbc
Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done
Doing ofb
Doing ofb64
Doing ede_ofb64
Doing cbc_cksum
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test
./ideatest
ecb idea ok
cbc idea ok
cfb64 idea ok
./shatest
test 1 ok
test 2 ok
test 3 ok
./sha1test
test 1 ok
test 2 ok
test 3 ok
./md4test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./md5test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./hmactest
test 0 ok
test 1 ok
test 2 ok
test 3 ok
./md2test
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
./mdc2test
pad1 - ok
pad2 - ok
./rmdtest
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test 6 ok
test 7 ok
test 8 ok
./rc2test
ecb RC2 ok
./rc4test
test 0 ok
test 1 ok
test 2 ok
test 3 ok
test 4 ok
test 5 ok
test end processing ....................done
test multi-call ....................done
./rc5test
ecb RC5 ok
cbc RC5 ok
./bftest
testing blowfish in raw ecb mode
testing blowfish in ecb mode
testing blowfish set_key
testing blowfish in cbc mode
testing blowfish in cfb64 mode
testing blowfish in ofb64
./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
test BN_lshift (fixed)
test BN_lshift
test BN_rshift1
test BN_rshift
Right shift test failed!
*** Error code 1 (bu21)
*** Error code 1 (bu21)
-----------------------------------------------------------------------------