Discussion:
compile prob with xlc/aix 0.9.8zc
Kyle Chapman
2014-10-16 04:32:45 UTC
Permalink
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9

Both fail given these steps:
./config shared threads
Compiles for aix-cc

making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error


the err thrown, syntax err on line 84, is an inline function. This is a new header which doesn't exist in prior 098 vers, so it seems to me (098zb version compiles clean on aix, this "offending" header is not there). Hpux/solaris/linux have not see any compile errs with zc.

________________________________

______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org
Kyle Chapman
2014-10-16 03:58:14 UTC
Permalink
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9

Both fail given these steps:
./config shared threads
Compiles for aix-cc

making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error


the err thrown, syntax err on line 84, is an inline function. This is a new header which doesn't exist in prior 098 vers, so it seems to me (098zb version compiles clean on aix, this "offending" header is not there). Hpux/solaris/linux have not see any compile errs with zc.

________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org
Emilia Käsper
2014-10-16 16:36:37 UTC
Permalink
Does applying the following two patches fix your build?

http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5

These are build fixes that we appear to have missed out in 0.9.8.

Emilia
Post by Kyle Chapman
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with
various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9
./config shared threads
Compiles for aix-cc
making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible
missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error
the err thrown, syntax err on line 84, is an inline function. This is a
new header which doesn't exist in prior 098 vers, so it seems to me (098zb
version compiles clean on aix, this "offending" header is not there).
Hpux/solaris/linux have not see any compile errs with zc.
________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Kyle Chapman
2014-10-16 17:02:16 UTC
Permalink
Thanks for the reply


Applied both sets of patches (on aix 71./xlc 11.1). I added –qlanglvl=extc99
 even without this it fails with the original error

cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -qlanglvl=extc99 -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 135.28: 1506-343 (S) Redeclaration of constant_time_lt differs from previous declaration on line 84 of "../constant_time_locl.h".
"../constant_time_locl.h", line 135.28: 1506-050 (I) Return type "unsigned int" in redeclaration is not compatible with the previous return type "int".
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1

I was wrong in my original note, this fails at the same spot on hpux parisc and ia64, 11iv1 to v3

From: owner-openssl-***@openssl.org [mailto:owner-openssl-***@openssl.org] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 12:37 PM
To: openssl-***@openssl.org
Subject: Re: compile prob with xlc/aix 0.9.8zc

Does applying the following two patches fix your build?

http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5

These are build fixes that we appear to have missed out in 0.9.8.

Emilia

On Thu, Oct 16, 2014 at 5:58 AM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9

Both fail given these steps:
./config shared threads
Compiles for aix-cc

making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error


the err thrown, syntax err on line 84, is an inline function. This is a new header which doesn't exist in prior 098 vers, so it seems to me (098zb version compiles clean on aix, this "offending" header is not there). Hpux/solaris/linux have not see any compile errs with zc.

________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Automated List Manager ***@openssl.org<mailto:***@openssl.org>


________________________________
Emilia Käsper
2014-10-16 17:38:31 UTC
Permalink
That is a different error, but it seems to suggest you haven't applied the
patches cleanly - you shouldn't be seeing
"../constant_time_locl.h" in the errors anymore as the first patch does

-#include "../constant_time_locl.h"
+#include "constant_time_locl.h"
Post by Kyle Chapman
Thanks for the reply

Applied both sets of patches (on aix 71./xlc 11.1). I added
–qlanglvl=extc99
 even without this it fails with the original error
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -qlanglvl=extc99 -q32 -O
-DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 135.28: 1506-343 (S) Redeclaration of
constant_time_lt differs from previous declaration on line 84 of
"../constant_time_locl.h".
"../constant_time_locl.h", line 135.28: 1506-050 (I) Return type "unsigned
int" in redeclaration is not compatible with the previous return type "int".
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1
I was wrong in my original note, this fails at the same spot on hpux
parisc and ia64, 11iv1 to v3
*Sent:* Thursday, October 16, 2014 12:37 PM
*Subject:* Re: compile prob with xlc/aix 0.9.8zc
Does applying the following two patches fix your build?
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5
These are build fixes that we appear to have missed out in 0.9.8.
Emilia
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with
various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9
./config shared threads
Compiles for aix-cc
making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible
missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error
the err thrown, syntax err on line 84, is an inline function. This is a
new header which doesn't exist in prior 098 vers, so it seems to me (098zb
version compiles clean on aix, this "offending" header is not there).
Hpux/solaris/linux have not see any compile errs with zc.
________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
------------------------------
Kyle Chapman
2014-10-16 17:53:12 UTC
Permalink
patches are in ok, the output is from the –I paths to the compiler. There was a local change to the header outside of the patches, which I reverted. Still didn’t change the build result until I changed the config options -- see incoming mail about that.

Cut from the c file that fails first

* [including the GNU Public Licence.]
*/

#include "constant_time_locl.h"

#include <stdio.h>
#include "cryptlib.h"

Basically


./config shared threads
results in:
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1

./config shared threads –qkeyword=inline
Builds ok, make test works

Trying this without the patches to see if it builds as well.

From: owner-openssl-***@openssl.org [mailto:owner-openssl-***@openssl.org] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 1:39 PM
To: openssl-***@openssl.org
Subject: Re: compile prob with xlc/aix 0.9.8zc

That is a different error, but it seems to suggest you haven't applied the patches cleanly - you shouldn't be seeing
"../constant_time_locl.h" in the errors anymore as the first patch does

-#include "../constant_time_locl.h"
+#include "constant_time_locl.h"



On Thu, Oct 16, 2014 at 7:02 PM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
Thanks for the reply


Applied both sets of patches (on aix 71./xlc 11.1). I added –qlanglvl=extc99
 even without this it fails with the original error

cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -qlanglvl=extc99 -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 135.28: 1506-343 (S) Redeclaration of constant_time_lt differs from previous declaration on line 84 of "../constant_time_locl.h".
"../constant_time_locl.h", line 135.28: 1506-050 (I) Return type "unsigned int" in redeclaration is not compatible with the previous return type "int".
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1

I was wrong in my original note, this fails at the same spot on hpux parisc and ia64, 11iv1 to v3

From: owner-openssl-***@openssl.org<mailto:owner-openssl-***@openssl.org> [mailto:owner-openssl-***@openssl.org<mailto:owner-openssl-***@openssl.org>] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 12:37 PM
To: openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Subject: Re: compile prob with xlc/aix 0.9.8zc

Does applying the following two patches fix your build?

http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5

These are build fixes that we appear to have missed out in 0.9.8.

Emilia

On Thu, Oct 16, 2014 at 5:58 AM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9

Both fail given these steps:
./config shared threads
Compiles for aix-cc

making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error


the err thrown, syntax err on line 84, is an inline function. This is a new header which doesn't exist in prior 098 vers, so it seems to me (098zb version compiles clean on aix, this "offending" header is not there). Hpux/solaris/linux have not see any compile errs with zc.

________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Automated List Manager ***@openssl.org<mailto:***@openssl.org>


________________________________



________________________________
Emilia Käsper
2014-10-16 19:09:30 UTC
Permalink
Ah yes, I misread the first error log. This is about the 'inline' keyword.

We've hopefully fixed this problem in the master branch as well, see commits
40155f408985aff2e9f1b61b7cb04a3e518633a1
and
55c7a4cf112bf154ed405ee05a6b7924b6b1ba92

They should essentially achieve the same as -qkeyword=inline, and I'll look
into putting them to older branches.

Emilia
Post by Kyle Chapman
patches are in ok, the output is from the –I paths to the compiler.
There was a local change to the header outside of the patches, which I
reverted. Still didn’t change the build result until I changed the config
options -- see incoming mail about that.
Cut from the c file that fails first

* [including the GNU Public Licence.]
*/
#include "constant_time_locl.h"
#include <stdio.h>
#include "cryptlib.h"
Basically

./config shared threads
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible
missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1
./config shared threads –qkeyword=inline
Builds ok, make test works
Trying this without the patches to see if it builds as well.
*Sent:* Thursday, October 16, 2014 1:39 PM
*Subject:* Re: compile prob with xlc/aix 0.9.8zc
That is a different error, but it seems to suggest you haven't applied the
patches cleanly - you shouldn't be seeing
"../constant_time_locl.h" in the errors anymore as the first patch does
-#include "../constant_time_locl.h"
+#include "constant_time_locl.h"
Thanks for the reply

Applied both sets of patches (on aix 71./xlc 11.1). I added
–qlanglvl=extc99
 even without this it fails with the original error
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -qlanglvl=extc99 -q32 -O
-DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 135.28: 1506-343 (S) Redeclaration of
constant_time_lt differs from previous declaration on line 84 of
"../constant_time_locl.h".
"../constant_time_locl.h", line 135.28: 1506-050 (I) Return type "unsigned
int" in redeclaration is not compatible with the previous return type "int".
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1
I was wrong in my original note, this fails at the same spot on hpux
parisc and ia64, 11iv1 to v3
*Sent:* Thursday, October 16, 2014 12:37 PM
*Subject:* Re: compile prob with xlc/aix 0.9.8zc
Does applying the following two patches fix your build?
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5
These are build fixes that we appear to have missed out in 0.9.8.
Emilia
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with
various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9
./config shared threads
Compiles for aix-cc
making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded
-D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384
-qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o
rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible
missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error
the err thrown, syntax err on line 84, is an inline function. This is a
new header which doesn't exist in prior 098 vers, so it seems to me (098zb
version compiles clean on aix, this "offending" header is not there).
Hpux/solaris/linux have not see any compile errs with zc.
________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
------------------------------
------------------------------
Kyle Chapman
2014-10-16 20:08:04 UTC
Permalink
Applied the patch to e_os.h

Hp now builds without any hacks, and aix no longer requires -qlanglvl=extc99 or –qkeyword=inline

From: owner-openssl-***@openssl.org [mailto:owner-openssl-***@openssl.org] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 3:09 PM
To: openssl-***@openssl.org
Subject: Re: compile prob with xlc/aix 0.9.8zc

Ah yes, I misread the first error log. This is about the 'inline' keyword.

We've hopefully fixed this problem in the master branch as well, see commits
40155f408985aff2e9f1b61b7cb04a3e518633a1
and
55c7a4cf112bf154ed405ee05a6b7924b6b1ba92

They should essentially achieve the same as -qkeyword=inline, and I'll look into putting them to older branches.

Emilia

On Thu, Oct 16, 2014 at 7:53 PM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
patches are in ok, the output is from the –I paths to the compiler. There was a local change to the header outside of the patches, which I reverted. Still didn’t change the build result until I changed the config options -- see incoming mail about that.

Cut from the c file that fails first

* [including the GNU Public Licence.]
*/

#include "constant_time_locl.h"

#include <stdio.h>
#include "cryptlib.h"

Basically


./config shared threads
results in:
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1

./config shared threads –qkeyword=inline
Builds ok, make test works

Trying this without the patches to see if it builds as well.

From: owner-openssl-***@openssl.org<mailto:owner-openssl-***@openssl.org> [mailto:owner-openssl-***@openssl.org<mailto:owner-openssl-***@openssl.org>] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 1:39 PM

To: openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Subject: Re: compile prob with xlc/aix 0.9.8zc

That is a different error, but it seems to suggest you haven't applied the patches cleanly - you shouldn't be seeing
"../constant_time_locl.h" in the errors anymore as the first patch does

-#include "../constant_time_locl.h"
+#include "constant_time_locl.h"



On Thu, Oct 16, 2014 at 7:02 PM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
Thanks for the reply


Applied both sets of patches (on aix 71./xlc 11.1). I added –qlanglvl=extc99
 even without this it fails with the original error

cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -qlanglvl=extc99 -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 135.28: 1506-343 (S) Redeclaration of constant_time_lt differs from previous declaration on line 84 of "../constant_time_locl.h".
"../constant_time_locl.h", line 135.28: 1506-050 (I) Return type "unsigned int" in redeclaration is not compatible with the previous return type "int".
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/work/openssl-0.9.8zc/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/work/openssl-0.9.8zc/crypto'
gmake: *** [build_crypto] Error 1

I was wrong in my original note, this fails at the same spot on hpux parisc and ia64, 11iv1 to v3

From: owner-openssl-***@openssl.org<mailto:owner-openssl-***@openssl.org> [mailto:owner-openssl-***@openssl.org<mailto:owner-openssl-***@openssl.org>] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 12:37 PM
To: openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Subject: Re: compile prob with xlc/aix 0.9.8zc

Does applying the following two patches fix your build?

http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5

These are build fixes that we appear to have missed out in 0.9.8.

Emilia

On Thu, Oct 16, 2014 at 5:58 AM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9

Both fail given these steps:
./config shared threads
Compiles for aix-cc

making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error


the err thrown, syntax err on line 84, is an inline function. This is a new header which doesn't exist in prior 098 vers, so it seems to me (098zb version compiles clean on aix, this "offending" header is not there). Hpux/solaris/linux have not see any compile errs with zc.

________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Automated List Manager ***@openssl.org<mailto:***@openssl.org>


________________________________



________________________________



________________________________

Kyle Chapman
2014-10-16 17:43:18 UTC
Permalink
Configured on aix 7.1 with:./config shared threads –qkeyword=inline

And at least it compiles ok and make test works
 running through some more options on aix and will see what compiler option may work on hpux

From: owner-openssl-***@openssl.org [mailto:owner-openssl-***@openssl.org] On Behalf Of Emilia KÀsper
Sent: Thursday, October 16, 2014 12:37 PM
To: openssl-***@openssl.org
Subject: Re: compile prob with xlc/aix 0.9.8zc

Does applying the following two patches fix your build?

http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=8202802fadf7f70c656b92f3697da39c9c4271d7
http://git.openssl.org/gitweb/?p=openssl.git&a=commit&h=e2e5326e5b068411999f62b4ba67835d64764ca5

These are build fixes that we appear to have missed out in 0.9.8.

Emilia

On Thu, Oct 16, 2014 at 5:58 AM, Kyle Chapman <***@pb.com<mailto:***@pb.com>> wrote:
Greetings folks. trying to compile 0.9.8zc on aix 7.1 (and 6.1) with various versions on xlc
Aix 7.1 has xlc 11.1
Aix 6.1 has xlc 9

Both fail given these steps:
./config shared threads
Compiles for aix-cc

making all in crypto/rsa...
gmake[2]: Entering directory `/san/dev/ssl/0.9.8/crypto/rsa'
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_eay.o rsa_eay.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_gen.o rsa_gen.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_lib.o rsa_lib.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_sign.o rsa_sign.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_saos.o rsa_saos.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_err.o rsa_err.c
cc -I.. -I../.. -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -I/usr/local/include -I/usr/local/ssl/include -c -o rsa_pk1.o rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
gmake[2]: *** [rsa_pk1.o] Error 1
gmake[2]: Leaving directory `/san/dev/ssl/0.9.8/crypto/rsa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/san/dev/ssl/0.9.8/crypto'
gmake: *** [build_crypto] Error 1
gmake error


the err thrown, syntax err on line 84, is an inline function. This is a new header which doesn't exist in prior 098 vers, so it seems to me (098zb version compiles clean on aix, this "offending" header is not there). Hpux/solaris/linux have not see any compile errs with zc.

________________________________
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-***@openssl.org<mailto:openssl-***@openssl.org>
Automated List Manager ***@openssl.org<mailto:***@openssl.org>


________________________________
Loading...