> I encountered a number of unusual (but mostly minor) errors in building > 1.0.1e on Tru64 V4.0G, configuration tru64-alpha-cc. I've addressed the > majority of these in the 20131106 snapshot, and the changes are in the > attached patch. Here is a walk-through: > > crypto/Makefile, > crypto/bn/Makefile, > crypto/modes/Makefile, > crypto/sha/Makefile: > > * Using $< in an explicit rule is GNU Make territory; I was using the > system-provided make(1), and the other *.s rules already don't use $< > > * Tru64 cc(1) can't preprocess stdin; it needs a file
You can't make such broad statement, as it was verified to work on 5.x. > * I'm not sure why tee(1) was being used here, but I removed it so that > it doesn't mask a potential error from the preprocessor 'tee' is there because without compilation was failing on multi-CPU Tru64 5.x system. Yes, it masks exit code, but it was mask or get nothing. > crypto/evp/Makefile: > > * Tru64 does have "[", but make(1) interprets it in a bizarre way. Given > a sample makefile like > > blah: > [ -f blah ] || touch blah > > , you'll get > > $ make > LOCK: -f blah > || touch blah > sh: syntax error at line 1: `||' unexpected > *** Exit 2 > Stop. Wow! > (This doesn't happen if the "[" is preceded by "@", but I changed all > three instances of "[" for consistency) It's also possible to \[... > e_os.h: > > * Tru64 has AF_INET6 and PF_INET6, but no sockaddr_in6; Too broad statement again, it was tested on Tru64 5.x and sockaddr_in6 were there :-) > checking for an > additional IPv6 symbol here is enough to get the correct result Question is how does it affect other systems. Meanwhile I'd suggest to configure with explicit -DOPENSSL_USE_IPV6=0, i.e. pass it as extra argument to ./config. > After all this, there are still a couple of problems: > > making all in crypto/modes... > cc -c -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include > -DOPENSSL_THREADS -pthread -DDSO_DLFCN -DHAVE_DLFCN_H -std1 -tune host -fast > -readonly_strings -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DGHASH_ASM -c -o > ghash-alpha.o ghash-alpha.s > as1: Error: pre-ghash-alpha.s, line 557: Redefinition of symbol: > rem_4bit > as1: Error: pre-ghash-alpha.s, line 566: Redefinition of symbol: > rem_4bit > *** Exit 1 Please double-check http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=d24d1d7daf515aa19fbf18f6371e3e617028a07c. > ../util/shlib_wrap.sh ./gost2814789t > Testing GOST 28147-89 Engine test t=3 derive key error. > *** Exit 12 http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=96180cac04591abfe50fc86096365553484bde65 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
