[openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-12-09 Thread Andy Polyakov via RT

User has increased optimization level beyond -O2 suggested/recommended
by ./Configure and ran into a compiler bug. As it's not self-obvious
that -O3 signifantly improves performance (OpenSSL has a lot of
source-code optimizations, -O2 is more than sufficient), the case is
therefore dismissed as RTFM. A.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-27 Thread Andy Polyakov
   No, I get exactly same error:
  
   NIST curve P-521 -- Generator:
x =
   
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
y =
   
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
   verify group order ...ectest.c:525: ABORT
   make[1]: *** [test_ec] Error 1
   make[1]: Leaving directory 
`/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'
 
  I can't reprodice this. I've tried MIPSpro cc versions 7.3.1.2m and
  7.2.1.3m, all three ABIs (O32, N32, 64)... What's your compiler version?
  Run cc -version. A.
 
 MIPSpro Compilers: Version 7.3.1.3m

No luck with 7.3.1.3m either. I mean I *failed* to reproduce it even
with 7.3.1.3m. Can you post output from 'apps/openssl version -a'.

 CC=cc
 CFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
^ Well, this is just not fair! ./INSTALL file explicitely
advises to *lower* the optimization level before submitting a bug report
to openssl. Idea is that if test passes at lower optimization level,
then it's most likely between you and your compiler vendor. Do note that
./Configure does suggest -O2. And what does this output mean anyway? Is
it your environment variables? Is it something you've planted directly
into OpenSSL Makefile?

Do post output from 'apps/openssl version -a'.

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



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-27 Thread Martin MOKREJ
On Wed, 27 Nov 2002, Martin MOKREJ wrote:

 Yes, those were my environment variables, but as I see some of the setting
 were overriden by configure.
 
  Do post output from 'apps/openssl version -a'.

 OpenSSL 0.9.6h-dev xx XXX 
 built on: Wed Nov  6 16:09:53 CET 2002
 platform: irix-mips3-cc
 options:  bn(64,64) md2(int) rc4(ptr,char) des(ptr,risc2,16,long) idea(int) 
blowfish(ptr)
 compiler: cc -DDSO_DLFCN -DHAVE_DLFCN_H -n32 -O2 -use_readonly_const -DTERMIOS 
-DB_ENDIAN -DBN_DIV3W

Ooops, I've pasted the output from my last working version
(openssl-0.9.6-stable-SNAP-20021102). I'm now compiling
openssl-0.9.7-beta4 from scratch and will post the proper 'apps/openssl
version -a' output. Sorry for confusion. :(


-- 
Martin Mokrejs [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics http://mips.gsf.de
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax:+49-89-3187 3585
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-27 Thread Andy Polyakov
   so, once more. I've tested now openssl-0.9.7-beta4:
 
 ./Configure irix-mips3-cc --prefix=/usr/local/openssl 
--openssldir=/usr/local/openssl no-threads
 Configuring for irix-mips3-cc
 IsWindows=0
 CC=cc
 CFLAG =-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -n32 -O2 
-use_readonly_const -DTERMIOS -DB_ENDIAN -DBN_DIV3W
 
 The test went all fine with this version.

It's not this version, it was *your* optimization level. Recommended
-O2 works, -O3 does not. It's therefore not an OpenSSL issue. Case
is/should be/will be dismissed. A.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-26 Thread Andy Polyakov
 No, I get exactly same error:
 
 NIST curve P-521 -- Generator:
  x =
 
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
  y =
 
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
 verify group order ...ectest.c:525: ABORT
 make[1]: *** [test_ec] Error 1
 make[1]: Leaving directory 
`/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'

I can't reprodice this. I've tried MIPSpro cc versions 7.3.1.2m and
7.2.1.3m, all three ABIs (O32, N32, 64)... What's your compiler version?
Run cc -version. A.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-26 Thread Martin MOKREJ© via RT

On Wed, 27 Nov 2002, Andy Polyakov wrote:

  No, I get exactly same error:
 
  NIST curve P-521 -- Generator:
   x =
  
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
   y =
  
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
  verify group order ...ectest.c:525: ABORT
  make[1]: *** [test_ec] Error 1
  make[1]: Leaving directory 
`/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'

 I can't reprodice this. I've tried MIPSpro cc versions 7.3.1.2m and
 7.2.1.3m, all three ABIs (O32, N32, 64)... What's your compiler version?
 Run cc -version. A.

Hi,

I have

MIPSpro Compilers: Version 7.3.1.3m

CC=cc
CFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
CPPFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
CXX=CC
CXXFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/software/@sys/usr/include -I/usr/local/include/ncurses
-I/usr/local/BerkeleyDB.4.0/include -I/software/@sys/usr/include/ncurses
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib:/usr/local/lib32:/usr/lib32:/usr/lib32/internal:/lib32:/opt/lib32:/usr/local/lib:/usr/athena/lib:/var/arch/lib32:/usr/gfx/arch/IP22NG1:/software/msi/972/irix5r3/biosymso:/usr/local/BerkeleyDB.3.3/lib:/usr/local/BerkeleyDB.2.7/lib:/software/@sys/usr/lib32
LIBS='-L/usr/local/lib -L/software/@sys/usr/lib
-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/openssl/lib'



-- 
Martin Mokrejs [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics http://mips.gsf.de
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

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



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-26 Thread Martin MOKREJ
On Wed, 27 Nov 2002, Andy Polyakov wrote:

  No, I get exactly same error:
 
  NIST curve P-521 -- Generator:
   x =
  
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
   y =
  
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
  verify group order ...ectest.c:525: ABORT
  make[1]: *** [test_ec] Error 1
  make[1]: Leaving directory 
`/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'

 I can't reprodice this. I've tried MIPSpro cc versions 7.3.1.2m and
 7.2.1.3m, all three ABIs (O32, N32, 64)... What's your compiler version?
 Run cc -version. A.

Hi,

I have

MIPSpro Compilers: Version 7.3.1.3m

CC=cc
CFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
CPPFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/usr/local/include/ncurses -I/software/@sys/usr/include
-I/software/@sys/usr/include/ncurses -I/usr/local/BerkeleyDB.4.0/include
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
CXX=CC
CXXFLAGS='-O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/software/@sys/usr/include -I/usr/local/include/ncurses
-I/usr/local/BerkeleyDB.4.0/include -I/software/@sys/usr/include/ncurses
-I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2
-I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf'
LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.0/lib:/usr/local/lib32:/usr/lib32:/usr/lib32/internal:/lib32:/opt/lib32:/usr/local/lib:/usr/athena/lib:/var/arch/lib32:/usr/gfx/arch/IP22NG1:/software/msi/972/irix5r3/biosymso:/usr/local/BerkeleyDB.3.3/lib:/usr/local/BerkeleyDB.2.7/lib:/software/@sys/usr/lib32
LIBS='-L/usr/local/lib -L/software/@sys/usr/lib
-L/usr/local/BerkeleyDB.4.0/lib -L/usr/local/openssl/lib'



-- 
Martin Mokrejs [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics http://mips.gsf.de
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax:+49-89-3187 3585
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-21 Thread Martin MOKREJ
On Thu, 14 Nov 2002, Richard Levitte via RT wrote:


 There have been some changes lately, so could you try the latest
 0.9.7 snapshot and see if that works better?

 [[EMAIL PROTECTED] - Wed Aug 28 21:40:37 2002]:

  Hi,
I have a problem with `make test' on Irix 6.5.15 (cc used):
 
  NIST curve P-384 -- Generator:
   x =
 
 
0xAA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7
   y =
 
 
0x3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F
  verify group order  ok
 
  NIST curve P-521 -- Generator:
   x =
 
 
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
   y =
 
 
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
  verify group order ...ectest.c:520: ABORT
  make[2]: *** [test_ec] Error 1
  make[2]: Leaving directory `/software/scratch/openssl-0.9.7-
  beta3/test'

No, I get exactly same error:

NIST curve P-521 -- Generator:
 x =
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
 y =
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
verify group order ...ectest.c:525: ABORT
make[1]: *** [test_ec] Error 1
make[1]: Leaving directory `/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'


-- 
Martin Mokrejs [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics http://mips.gsf.de
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax:+49-89-3187 3585
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: [openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-20 Thread Martin MOKREJ© via RT

On Thu, 14 Nov 2002, Richard Levitte via RT wrote:


 There have been some changes lately, so could you try the latest
 0.9.7 snapshot and see if that works better?

 [[EMAIL PROTECTED] - Wed Aug 28 21:40:37 2002]:

  Hi,
I have a problem with `make test' on Irix 6.5.15 (cc used):
 
  NIST curve P-384 -- Generator:
   x =
 
 
0xAA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7
   y =
 
 
0x3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F
  verify group order  ok
 
  NIST curve P-521 -- Generator:
   x =
 
 
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
   y =
 
 
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
  verify group order ...ectest.c:520: ABORT
  make[2]: *** [test_ec] Error 1
  make[2]: Leaving directory `/software/scratch/openssl-0.9.7-
  beta3/test'

No, I get exactly same error:

NIST curve P-521 -- Generator:
 x =
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
 y =
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
verify group order ...ectest.c:525: ABORT
make[1]: *** [test_ec] Error 1
make[1]: Leaving directory `/software/scratch/openssl-0.9.7-stable-SNAP-20021116/test'


-- 
Martin Mokrejs [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics http://mips.gsf.de
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

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



[openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-11-13 Thread Richard Levitte via RT

There have been some changes lately, so could you try the latest 
0.9.7 snapshot and see if that works better?

[[EMAIL PROTECTED] - Wed Aug 28 21:40:37 2002]:

 Hi,
   I have a problem with `make test' on Irix 6.5.15 (cc used):
 
 NIST curve P-384 -- Generator:
  x =
 
0xAA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7
  y =
 
0x3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F
 verify group order  ok
 
 NIST curve P-521 -- Generator:
  x =
 
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
  y =
 
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
 verify group order ...ectest.c:520: ABORT
 make[2]: *** [test_ec] Error 1
 make[2]: Leaving directory `/software/scratch/openssl-0.9.7-
 beta3/test'
 
 Do you know what does it mean?


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



[openssl.org #257] openssl-0.9.7-beta3 on Irix

2002-08-28 Thread Martin MOKREJ© via RT


Hi,
  I have a problem with `make test' on Irix 6.5.15 (cc used):

NIST curve P-384 -- Generator:
 x = 
0xAA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7
 y = 
0x3617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F
verify group order  ok

NIST curve P-521 -- Generator:
 x = 
0xC6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66
 y = 
0x11839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E662C97EE72995EF42640C550B9013FAD0761353C7086A272C24088BE94769FD16650
verify group order ...ectest.c:520: ABORT
make[2]: *** [test_ec] Error 1
make[2]: Leaving directory `/software/scratch/openssl-0.9.7-beta3/test'

Do you know what does it mean?
-- 
Martin Mokrejs [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics http://mips.gsf.de
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

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