(sorry.. forgot to finish & send this message off.. there you go)

Mike Hess wrote:
> 
> I believe I encountered a problem compiling openssl-0.9.2b on IRIX 6.2
> similar to the one encountered in an earlier note on Digital UNIX V4.0E.
> 
> I used the solution 1, (./Configure irix-cc no-asm) recommended below but
> wonder whether you have a patch file below for solution 2.
> 
> Below are the errors I encountered during make after
[...]

> ld: ERROR 33: Unresolved text symbol "bn_div_words" -- 1st referenced by
../libcrypto.a(bn_div.o).

> ld: ERROR 33: Unresolved text symbol "bn_mul_comba8" -- 1st referenced by
../libcrypto.a(bn_mul.o).

> ld: ERROR 33: Unresolved text symbol "bn_sub_words" -- 1st referenced by
../libcrypto.a(bn_mul.o).

> ld: ERROR 33: Unresolved text symbol "bn_mul_comba4" -- 1st referenced by
../libcrypto.a(bn_mul.o).

> ld: ERROR 33: Unresolved text symbol "bn_sqr_comba4" -- 1st referenced by
../libcrypto.a(bn_sqr.o).

> ld: ERROR 33: Unresolved text symbol "bn_sqr_comba8" -- 1st referenced by
../libcrypto.a(bn_sqr.o).

> Michael R.A. Hess -- [EMAIL PROTECTED] -- 573-882-2000

There has been some discussion on bn_div_words around in openssl-dev:

> From: Ben Laurie <[EMAIL PROTECTED]>
> Organization: A.L. Group plc
> To: [EMAIL PROTECTED]
> Subject: Re: Patch: BN_div_words in asm/alpha.s
> 
> Hannes Reinecke wrote:
> > 
> > Hi all,
> > 
> > here is a patch for adding bn_div_words to asm/alpha.s. It got lost
> > somehow, but without the assembler version won't compile.
> > 
> > I'm not entirely familiar with the internal working of openssl, but to
> > my untrained eye bn_asm.c:bn_div_words and bn_mulw.c:bn_div64 are
> > looking suspiciously similar. Is there a special reason for it or can we
> > just scrap one version ?
> > (I suspect that's also why bn_div_words does not appear in asm/alpha.s;
> > it just got renamed to bn_div64 hoping that all functions would call
> > this and not bn_div_words. Evolutionary programming :-).
> 
> Looks to me like the whole of bn_mulw.c is redundant. bn_div_words and
> bn_div64 are indeed identical, and bn_div64 is not actually used
> anywhere, AFAICS.
> 
> So, I'm going to blow away bn_mulw.c, and rename bn_div64 to
> bn_div_words in alpha.s.
> 
> Cheers,
> 
> Ben.
> 

Looking at crypto/bn/asm/{mips1,mips3,r3000}.s I see bn_div64 is
implemented in all of those.

Try & see whether
- ./Configure irix64-cc no-asm
- ./Configure irix-n64-cc no-asm
work, build, and pass make test

I think we can assume without no-asm they all fail, so
change bn_div64 to bn_div_words in the 3 assembler files above,
then try
- ./Configure irix-cc
- ./Configure irix64-cc
- ./Configure irix-n64-cc

and report what symbols are missing then ...

-- 
Niels Poppe - org.net bv <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to