<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>To whom it may concern.<br>
</span>
<div><br>
</div>
<div>I am trying to build openssl-1.1.1-c on AIX using the xlc compiler.  I know Linux quite well, but only have passing knowledge of AIX.<br>
</div>
<div><br>
</div>
<div>This is the system. (The name is sanitized - I am paranoid about security).<br>
</div>
<div><br>
</div>
<div>bash-4.2$ uname -a<br>
</div>
<div>AIX sanitized 1 6 00CD1ECE4C00<br>
</div>
<div>bash-4.2$ <br>
</div>
<div><br>
</div>
<div>I have found the c99 compiler and the xlc compiler seem to work best. The arguments produced by the following configuration command are not compatible with gcc.<br>
</div>
<div><br>
</div>
<div>   ./config -static no-ec no-mdc2 no-rc5 no-idea --openssldir=/path_sanitized<br>
</div>
<div><br>
</div>
<div>I would prefer to use the xlc compiler.<br>
</div>
<div><br>
</div>
<div>(I am still trying to figure out how to get the compiler version. "-V" does not work).<br>
</div>
<div><br>
</div>
<div>I was getting many linker errors, but I have fixed the Makefile to include certain libraries.  Now I just have one unresolved external, which is "ecp_nistz256_mul_mont".<br>
</div>
<div><br>
</div>
<div>This is the output of the link failure.<br>
</div>
<div><br>
</div>
<div>/usr/local/packages/vac_remote/9-sept2008/./usr/vac/bin/.orig/xlc: 1501-210 (W) command option t contains an incorrect subargument<br>
</div>
<div>ld: 0711-317 ERROR: Undefined symbol: .ecp_nistz256_mul_mont<br>
</div>
<div>ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.<br>
</div>
<div>make[2]: *** [apps/openssl] Error 8<br>
</div>
<div>make[2]: Leaving directory `/scratch/bhallaha/view_storage/bhallaha_o2_19_18_1_ossl/reliaty/web/openssl-1.1.1c'<br>
</div>
<div><br>
</div>
<div>I see a perl script related to the needed module and a number of assembly language files, and I presume only one is for AIX.<br>
</div>
<div><br>
</div>
<div>I've tried adding  -DECP_NISTZ256_ASM to the compile lines, but I still get that unresolved external.<br>
</div>
<div><br>
</div>
<div>Does anyone know what I need to do?  I'll eventually figure this out, but I'd like this to work as soon as possible.<br>
<br>
    Regards,<br>
         Bill<br>
<br>
</div>
<div><br>
</div>
<span></span><br>
</div>
</body>
</html>