[openssl.org #982] BN_add failuire in tests for openssl-0.9.7e on Sun 5.8

2004-12-27 Thread Andy Polyakov via RT

Dismissed as non-reproducible.

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: [openssl.org #982] BN_add failuire in tests for openssl-0.9.7e on Sun 5.8

2004-12-15 Thread Jan H. Julian via RT

Restarted from scratch and used the config command.  Not sure what 
has changed, but the gmake tests ran successfully.  Sorry for the 
report, but I cannot duplicate the error now.  Thanks for the help.

Jan

At 2:41 PM +0100 12/11/04, Andy Polyakov via RT wrote:
   OpenSSL version:  0.9.7e
  Last change:  Avoid a race condition when CRLs are checked in a multi...
  Options:  --prefix=/usr/local/pkg/openssl/openssl-0.9.7e
  no-idea no-krb5
  OS (uname):   SunOS spike 5.8 Generic_117350-13 sun4u sparc 
SUNW,Sun-Fire
  OS (config):  sun4u-whatever-solaris2
  Target (default): solaris-sparcv9-cc
  Target:   solaris-sparcv9-cc
  Compiler: cc: Sun WorkShop 6 2000/04/07 C 5.1

  starting big number library test, could take a while...
  test BN_add
  Add test failed!

I can't reproduce this problem with Sun C 5.2. There should be
test/tmp.bntest file left over, can you submit it? Essentially this
smells compiler bug and I should recommend to try another compiler [or
apply vendor patches] or drop optimization level. We had problems with
Sun C 5.0 (as you might notice in ./config), so there is a remote
opportunity that 5.1 can be suffering from similar deficiency too... A.


-- 
Jan Julian University of Alaska, ARSCmailto:[EMAIL PROTECTED]
(907) 450-8641  910 Yukon Drive, Suite 001http://www.arsc.edu
Fax: 450-8605  Fairbanks, AK 99775-6020 USA

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


Re: [openssl.org #982] BN_add failuire in tests for openssl-0.9.7e on Sun 5.8

2004-12-11 Thread Andy Polyakov via RT

 OpenSSL version:  0.9.7e
 Last change:  Avoid a race condition when CRLs are checked in a multi...
 Options:  --prefix=/usr/local/pkg/openssl/openssl-0.9.7e 
 no-idea no-krb5
 OS (uname):   SunOS spike 5.8 Generic_117350-13 sun4u sparc SUNW,Sun-Fire
 OS (config):  sun4u-whatever-solaris2
 Target (default): solaris-sparcv9-cc
 Target:   solaris-sparcv9-cc
 Compiler: cc: Sun WorkShop 6 2000/04/07 C 5.1
 
 starting big number library test, could take a while...
 test BN_add
 Add test failed!

I can't reproduce this problem with Sun C 5.2. There should be 
test/tmp.bntest file left over, can you submit it? Essentially this 
smells compiler bug and I should recommend to try another compiler [or 
apply vendor patches] or drop optimization level. We had problems with 
Sun C 5.0 (as you might notice in ./config), so there is a remote 
opportunity that 5.1 can be suffering from similar deficiency too... A.

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


Re: [openssl.org #982] BN_add failuire in tests for openssl-0.9.7e on Sun 5.8

2004-12-11 Thread Geoff Thorpe
On December 11, 2004 08:41 am, Andy Polyakov via RT wrote:
  starting big number library test, could take a while...
  test BN_add
  Add test failed!

 I can't reproduce this problem with Sun C 5.2. There should be
 test/tmp.bntest file left over, can you submit it? Essentially this
 smells compiler bug and I should recommend to try another compiler [or
 apply vendor patches] or drop optimization level. We had problems with
 Sun C 5.0 (as you might notice in ./config), so there is a remote
 opportunity that 5.1 can be suffering from similar deficiency too... A.

If it turns out not to be compiler bug, see if you can reproduce it with a 
CVS checkout or snapshot of the main branch. There's been an audit of the 
bignum code going on there, and all sorts of little conditions have been 
caught and corrected - it's quite possible you're seeing one of these 
conditions that remain in the 0.9.7-stable branch. (NB, we've avoided 
trying to backport these bignum changes to the stable branches because 
they're interdependent can't be moved piecemeal - and moving a large 
change-set back to a stable branch tends to make administrators and 
package maintainers very grumpy.)

Cheers,
Geoff

-- 
Geoff Thorpe
[EMAIL PROTECTED]
http://www.geoffthorpe.net/

Greedy Genghis George, Guru of God and Guns.

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


Re: [openssl.org #982] BN_add failuire in tests for openssl-0.9.7e on Sun 5.8

2004-12-11 Thread Jan H. Julian via RT

Attached and inline is tmp.bntest.

spike cat tmp.bntest
obase=16
ibase=16
print test BN_add\n
AF2F2FFF00FFD8D8535353FF002F00FF0053B000F3FF1F6F00E2FF000FFF
 
+ 
3E1B90000006161050505050505FF196262FF001B1B1B1B1B56566A6AFF00
 
- 
1FF05B506060504FF00FFFEFF0D6262FF20FFFE8B1C1B1B1A555700E1696B0F00
1

Jan


At 2:41 PM +0100 12/11/04, Andy Polyakov via RT wrote:
   OpenSSL version:  0.9.7e
  Last change:  Avoid a race condition when CRLs are checked in a multi...
  Options:  --prefix=/usr/local/pkg/openssl/openssl-0.9.7e
  no-idea no-krb5
  OS (uname):   SunOS spike 5.8 Generic_117350-13 sun4u sparc 
SUNW,Sun-Fire
  OS (config):  sun4u-whatever-solaris2
  Target (default): solaris-sparcv9-cc
  Target:   solaris-sparcv9-cc
  Compiler: cc: Sun WorkShop 6 2000/04/07 C 5.1

  starting big number library test, could take a while...
  test BN_add
  Add test failed!

I can't reproduce this problem with Sun C 5.2. There should be
test/tmp.bntest file left over, can you submit it? Essentially this
smells compiler bug and I should recommend to try another compiler [or
apply vendor patches] or drop optimization level. We had problems with
Sun C 5.0 (as you might notice in ./config), so there is a remote
opportunity that 5.1 can be suffering from similar deficiency too... A.


-- 
Jan Julian University of Alaska, ARSCmailto:[EMAIL PROTECTED]
(907) 450-8641  910 Yukon Drive, Suite 001http://www.arsc.edu
Fax: 450-8605  Fairbanks, AK 99775-6020 USA
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #982] BN_add failuire in tests for openssl-0.9.7e on Sun 5.8

2004-12-10 Thread Jan H. Julian via RT

openssl-0.9.7e gmake test fails with BN_add test failure.



OpenSSL self-test report:

OpenSSL version:  0.9.7e
Last change:  Avoid a race condition when CRLs are checked in a multi...
Options:  --prefix=/usr/local/pkg/openssl/openssl-0.9.7e 
no-idea no-krb5
OS (uname):   SunOS spike 5.8 Generic_117350-13 sun4u sparc SUNW,Sun-Fire
OS (config):  sun4u-whatever-solaris2
Target (default): solaris-sparcv9-cc
Target:   solaris-sparcv9-cc
Compiler: cc: Sun WorkShop 6 2000/04/07 C 5.1

Test skipped.



gmake test 21 | tee ../results.gmake.test ends with:

if egrep 'define OPENSSL_FIPS' ../include/openssl/opensslconf.h  
/dev/null; then \
   OSSL_LIBPATH=`cd ..; pwd`; 
LD_LIBRARY_PATH=$OSSL_LIBPATH:$LD_LIBRARY_PATH; 
DYLD_LIBRARY_PATH=$OSSL_LIBPATH:$DYLD_LIBRARY_PATH; 
SHLIB_PATH=$OSSL_LIBPATH:$SHLIB_PATH; 
LIBPATH=$OSSL_LIBPATH:$LIBPATH; if [ solaris-sparcv9-cc = 
Cygwin ]; then PATH=${LIBPATH}:$PATH; fi; export LD_LIBRARY_PATH 
DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH PATH; ./fips_randtest; \
fi
starting big number library test, could take a while...
test BN_add
Add test failed!
gmake[1]: *** [test_bn] Error 1
gmake[1]: Leaving directory `/export/local/pkg/ssl/openssl-0.9.7e/wrk/src/test'
gmake: *** [tests] Error 2




-- 
Jan Julian University of Alaska, ARSCmailto:[EMAIL PROTECTED]
(907) 450-8641  910 Yukon Drive, Suite 001http://www.arsc.edu
Fax: 450-8605  Fairbanks, AK 99775-6020 USA

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