Hi Andy,

On Fri, 2014 Sep 12 09:50+0200, Andy Polyakov via RT wrote:
> > http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=d1cf23ac86c05b22b8780e2c03b67230564d2d34
> 
> With cross-reference to
> http://rt.openssl.org/Ticket/Display.html?id=3333 can you confirm that
> preproc=/tmp/$$$$.$@.S assignment works?

Thanks for following this up.

The only issues I'm seeing on Tru64 V4 from OpenSSL now are code-related
build errors; your makefile changes are good.

Starting with a plain ./config (defaults for everything), I get two
build errors, described below. Once those are fixed---and the attached
patch has my changes---the build completes successfully, and the test
suite passes.


Error the first:

cc -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 b_sock.c
cc: Error: b_sock.c, line 630: The member "sa_in6" has an incomplete type. 
(incompmem)
                struct sockaddr_in6 sa_in6;
------------------------------------^
cc: Error: b_sock.c, line 862: The member "sa_in6" has an incomplete type. 
(incompmem)
                struct sockaddr_in6 sa_in6;
------------------------------------^
*** Exit 1
Stop.

This is the same IPv6-support issue reported earlier in the ticket.


Error the second:

cc -I../crypto -I.. -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 s3_cbc.c
cc: Error: ../crypto/constant_time_locl.h, line 79: Missing ";". (nosemi)
static inline unsigned int constant_time_msb(unsigned int a);
--------------^
cc: Error: ../crypto/constant_time_locl.h, line 84: Missing ";". (nosemi)
static inline unsigned int constant_time_lt(unsigned int a, unsigned int b);
--------------^
cc: Error: ../crypto/constant_time_locl.h, line 86: Missing ";". (nosemi)
static inline unsigned char constant_time_lt_8(unsigned int a, unsigned int b);
--------------^
cc: Error: ../crypto/constant_time_locl.h, line 91: Missing ";". (nosemi)
static inline unsigned int constant_time_ge(unsigned int a, unsigned int b);
--------------^
[several more instances and unrelated warnings elided]
*** Exit 1
Stop.

Reason: The compiler doesn't understand the "inline" keyword.


Still needing a fix is randfile.c, though on Tru64 V4 it doesn't give
me trouble.


--Daniel


-- 
Daniel Richard G. || sk...@iskunk.org
My ASCII-art .sig got a bad case of Times New Roman.
diff --git a/e_os.h b/e_os.h
index 27b1825..6859d4a 100644
--- a/e_os.h
+++ b/e_os.h
@@ -479,6 +479,9 @@ static unsigned int _strlen31(const char *str)
 #      define setvbuf(a, b, c, d) setbuffer((a), (b), (d))
        typedef unsigned long clock_t;
 #    endif
+#    if defined(__osf__) && defined(__DECC) && !defined(__cplusplus)
+#      define inline /* Tru64 V4 C compiler doesn't grok "inline" */
+#    endif
 #    ifdef OPENSSL_SYS_WIN32_CYGWIN
 #      include <io.h>
 #      include <fcntl.h>
@@ -658,7 +661,7 @@ static unsigned int _strlen31(const char *str)
  * versions.
  */
 #  if !defined(OPENSSL_USE_IPV6)
-#    if defined(AF_INET6) && !defined(OPENSSL_SYS_BEOS_BONE) && !defined(NETWARE_CLIB)
+#    if defined(AF_INET6) && defined(IPPROTO_IPV6) && !defined(OPENSSL_SYS_BEOS_BONE) && !defined(NETWARE_CLIB)
 #      define OPENSSL_USE_IPV6 1
 #    else
 #      define OPENSSL_USE_IPV6 0

Reply via email to