Oh, and make test fails at:
(...)
../util/shlib_wrap.sh ./casttest
ecb cast5 ok
This test will take some time....123456789ABCDEF ok
../util/shlib_wrap.sh ./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
test BN_sqr
make[1]: *** [test_bn] Error 139
make[1]: Leaving directory /usr/src/redhat/BUILD/openssl-0.9.8a/test'
make: *** [tests] Error 2
could this be related to the BN_add problem with older gcc that was
reported
in
http://marc.theaimsgroup.com/?l=openssl-dev&m=113475981017499&w=2
tar xzf /scratch/linux/openssl-0.9.8a.tar.gz
cd openssl-0.9.8a
=======================================================
./Configure \
--prefix=/usr --openssldir=/etc/pki/tls \
zlib no-idea no-mdc2 no-rc5 no-ec no-ecdh no-ecdsa shared no-
krb5 \
\
linux-elf
make clean depend ; make
cd test; make test_bn; cd ..
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
test BN_sqr
make: *** [test_bn] Error 139
=======================================================
(And all the other failures I mentioned before).
I tried this procedure with gcc-2.96-112.7.1 and gcc-3.3 on the RH62
box. Both fail.
What is weird is that with
./Configure \
--prefix=/usr --openssldir=/etc/pki/tls \
zlib no-idea no-mdc2 no-rc5 no-ec no-ecdh no-ecdsa no-shared no-
krb5 \
\
\
linux-elf
it does NOT fail with either compiler.
So the difference is no-shared vs. shared.
Please Cc: v...@iki.fi if you need more information.