Is this a known issue for Linux Sparc when building for 64bit ? 0.9.8e fails, 0.9.8 fails, 0.9.7m pass (with minor s/-march/-mcpu/ fix) ?

It seems all version of 0.9.8 series fail the same way ( tried 0.9.8e and 0.9.8). The build itself appears to complete successfully.

When building for 32bit ABI the tests complete fine on 0.9.8e.
When building for 64bit ABI the tests complete fine on 0.8.7m.


$ uname -a
Linux hostname 2.6.18-4-sparc64 #1 Tue May 1 22:30:17 UTC 2007 sparc64 GNU/Linux
$ gcc -v
Using built-in specs.
Target: sparc-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-cpu=v8 --enable-checking=release sparc-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
$ cat /etc/issue
Debian GNU/Linux 4.0 \n \l



$ ./Configure linux64-sparcv9

$ make

$ make test

....SNIP...

make[3]: Entering directory `/data/BUILD/openssl-0.9.8e/apps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/data/BUILD/openssl-0.9.8e/apps'
make[2]: Leaving directory `/data/BUILD/openssl-0.9.8e'
../util/shlib_wrap.sh ./destest
Doing cbcm
des_ede3_cbcm_encrypt decrypt error
37 36 35 34 33 32 31 20 4e 6f 77 20 69 73 20 74 68 65 20 74 69 6d 65 20 66 6f 
72 20 00
37 36 73 44 33 32 31 20 4a 6f 9d 18 69 73 20 74 63 65 ea a0 69 6d 65 20 6f 6f 
c1 70 00
Doing ecb
Encryption error  1
k=0000000000000000 p=0000000000000000 o=8CA64DE9C1B123A7 act=0000000000000000
Encryption error  2
k=FFFFFFFFFFFFFFFF p=FFFFFFFFFFFFFFFF o=7359B2163E4EDC58 act=FFFFFFFFFFFFFFFF
Encryption error  3
k=3000000000000000 p=1000000000000001 o=958E6E627A05557B act=2100678000000001
Decryption error  3
k=3000000000000000 p=2100678000000001 o=1000000000000001 act=1800214000000001

...SNIP...

Doing cbc_cksum
bad return value (45784664), should be F7FE62B4
bad cbc_cksum block returned
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test
make[1]: *** [test_des] Error 1
make[1]: Leaving directory `/data/BUILD/openssl-0.9.8e/test'
make: *** [tests] Error 2
$


Darryl

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

Reply via email to