On Thu, Dec 05, 2002 at 02:57:02PM +0100, Andy Polyakov wrote:
> > > I managed to reproduce the problem under nue (IA-64 emulator for Linux)
> > > and with gcc 2.96 (the one found in nue-fs-1.2-1). It's a compiler bug:
> > >
> > > *** ./crypto/asn1/a_d2i_fp.c.orig     Sun Nov 24 18:14:40 2002
> > > --- ./crypto/asn1/a_d2i_fp.c  Sun Nov 24 18:15:16 2002
> > > ***************
> > > *** 149,155 ****
> > >       ASN1_CTX c;
> > >       int want=HEADER_SIZE;
> > >       int eos=0;
> > > !     int off=0;
> > >       int len=0;
> > >
> > >       b=BUF_MEM_new();
> > > --- 149,155 ----
> > >       ASN1_CTX c;
> > >       int want=HEADER_SIZE;
> > >       int eos=0;
> > > !     size_t off=0;
> > >       int len=0;
> > >
> > >       b=BUF_MEM_new();
> > >
> > > Does this help gcc 3.2.1? This patch takes me to the next failing test,
> > > test/dsatest to be specific, which surely also caused by another
> > > compiler bug[which I didn't track down yet].
> > 
> > Yes, this patch helps with gcc 3.2.1, and not only the test_rsa passes,
> > but also the other test that had failed (test_sid).
> 
> Does it mean that the *whole* test suite passes? I.e. 'make test'
> actually finishes completely and without error? As mentioned NUE-1.2
> fails in test/dsatest...

Yes, that's what I was trying to say. 

> Well, we have to try lower optimization level first. Can you modify
> ./Configure replacing -O3 with -O2 in linux-ia64 line and then re-run
> './config', 'make' and finally 'make test'? And of course provided that

I tried -O0, where all tests go fine.

-O1, -O2 as well as -O3 show the two failures (test/rsa_test,
test/tsid).

(Note that in your test environment, the second test that fails is
test/dsatest, not test/tsid)

Peter

-- 
Thought is limitation. Free your mind.

Attachment: msg14192/pgp00000.pgp
Description: PGP signature

Reply via email to