While building openssl 0.9.8j, I found and patched two build
failures. One is a long standing one when building on an Alpha based
Linux system. The CPU architecture in the AlphaStation which we have
is an ev4, but the default is ev6. The second build failure was
caused by a change to the associated Makefile, so I retrofitted a
change to the sha1-ia64.pl to make it similar to the sha512-ia64.pl.
The patches are included below.
Thanks,
Pieter
diff -ur openssl-0.9.8j/config openssl-0.9.8j-local/config
--- openssl-0.9.8j/config 2007-08-01 05:21:35.000000000 -0600
+++ openssl-0.9.8j-local/config 2009-02-03 08:51:48.332463320 -0700
@@ -527,6 +527,7 @@
esac
if [ "$CC" = "gcc" ]; then
case ${ISA:-generic} in
+ EV4) options="$options -mcpu=ev4";;
EV5|EV45) options="$options -mcpu=ev5";;
EV56|PCA56) options="$options -mcpu=ev56";;
*) options="$options -mcpu=ev6";;
diff -ur openssl-0.9.8j/crypto/sha/asm/sha1-ia64.pl
openssl-0.9.8j-local/crypto/sha/asm/sha1-ia64.pl
--- openssl-0.9.8j/crypto/sha/asm/sha1-ia64.pl 2007-11-11 06:34:08.000000000
-0700
+++ openssl-0.9.8j-local/crypto/sha/asm/sha1-ia64.pl 2009-02-03
12:15:47.592829480 -0700
@@ -14,6 +14,10 @@
# Performance under big-endian OS such as HP-UX is 179MBps*1GHz, which
# is >50% better than HP C and >2x better than gcc.
+$output=shift;
+
+open STDOUT,">$output" || die "can't open $output: $!";
+
$code=<<___;
.ident \"sha1-ia64.s, version 1.2\"
.ident \"IA-64 ISA artwork by Andy Polyakov <[email protected]>\"
Only in openssl-0.9.8j-local/crypto/sha/asm: sha1-ia64.pl~
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]