> I just changed ./Configure line:
> 
> #"linux64-sparcv9","sparc64-linux-gcc:-m64 -mcpu=v9 -DB_ENDIAN -DTERMIO
> -O3 -fomit-frame-pointer -Wall
> -DBN_DIV2W::-D_REENTRANT:ULTRASPARC::BN_LLONG RC4_CHAR RC4_CHUNK
> DES_UNROLL BF_PTR::::asm/md5-sparcv9.o:",
> 
> by
> 
> "linux64-sparcv9","gcc:-m64 -mcpu=v9 -DB_ENDIAN -DTERMIO -O3
> -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT:ULTRASPARC::BN_LLONG
> RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::asm/md5-sparcv9.o:",

Change to:

"linux64-sparcv9","gcc:-m64 -mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3
-fomit-frame-pointer -Wall::-D_REENTRANT:ULTRASPARC::SIXTY_FOUR_BIT_LONG
RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::asm/md5-sparcv9.o:",

> configured with:
> 
> ./Configure linux64-sparcv9 shared no-asm
                              ^^^^^^ You can't use that (it's rather
meaningless to attempt) in the lack of appropriate flags in the config
line. Get rid of no-asm too...

> make is ok, but make test fail:
> ...
> test BN_sqr
> Square test failed!

That's because BN_LLONG makes compiler believe that sizeof(long
long)==16.

> gcc is 2.96(RedHat) & glibc 2.2.5 (32 & 64 bits).

Huh? 2.96(RedHat) supports -m64? What's default ABI? Run 'gcc -v -E -x c
/dev/null'. Do you see __arch64__?

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

Reply via email to