Dr. Stephen Henson wrote:
hello OpenSSL community.    We use OpenSSL 0.9.8d on many platforms,
including z/Linux 64-bit.  We are using client certificate
authentication at the server.

Sounds like a compiler bug or a bug in the OpenSSL bignum library triggered on
that platform. Does OpenSSL pass "make test"?

I kicked off some builds last night as I was curious as to the answer to the question - 0.9.8d fails in make test, 0.9.8k passes in make test.

Linux somehost 2.6.16.21-0.8-default #1 SMP Mon Jul 3 18:25:39 UTC 2006 s390x s390x s390x GNU/Linux

gcc -v
Using built-in specs.
Target: s390x-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,java --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-tune=z9-109 --with-arch=z900 --with-long-double-128 --host=s390x-suse-linux
Thread model: posix
gcc version 4.1.0 (SUSE Linux)


0.9.8.d fails in make test with:

test BN_lshift1
test BN_lshift (fixed)
test BN_lshift
test BN_rshift1
test BN_rshift
test BN_sqr
Square test failed!
make[1]: *** [test_bn] Error 1
make[1]: Leaving directory `/home/tjh/work/openssl-0.9.8d/test'
make: *** [tests] Error 2

0.9.8k does not fail in make test.

Haven't looked any further into what specifically is the problem.
Note that -O3 is the default for the ./config configured builds so adjusting those options for the 'bn' part of the build may be a workaround if you are unable to move forward to 0.9.8k.

Tim.

Attachment: PGP.sig
Description: PGP signature

Reply via email to